2nd camera rect: getting rid of scaling 2003-12-05 - By Ken Hubbell
Back Very cool effect. Not sure about the scaling issue. Sorry. Ken
-- --Original Message-- -- From: dir3d-l-bounces@(protected) [mailto:dir3d-l-bounces@(protected)]On Behalf Of Vegard Hofsoy Sent: Friday, December 05, 2003 6:01 PM To: dir3d-l@(protected) Subject: [Dir3d-l] 2nd camera rect: getting rid of scaling
I have two identical models in a world, at different positions. They each have a camera. One model is a wireframe, the other if filled. I want to overlay (using camera[2].rect) one onto the other.
The problem is that if the camera[2].rect height is < than the camera[1].rect height, the view of model 2 will scale down. If the heights are the same, and camera[2].rect is centered, the effect I want is ok. If the rect of camera 2 is offset, so is the view in camera 2.
The effect is shown here:
http://www.vegard.com/robot.html
(Pressing 1-7 changes the animation) (since the camera[2].rect is centered, the effect is ok in this example)
What I really want, is to be able to set the camera[2].rect to any value, and have the combination of the two models align perfectly. Is this possible? Am I overlooking some "noscale" property of the camera...?
Vegard Hofsoy
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|