[Papervision3D] Camera / Scaling Scene
Use All Five, Inc.
useallfive at gmail.com
Thu Jan 22 11:37:24 PST 2009
I've got a papervision scene that scales on resize of the browser. Instead
of only changing the viewportWidth and viewportHeight, I also want all the
3D objects to scale with it. I created a variable called scale ratio, which
allows me to scale any object (3d or 2d) to match the ratio of the resized
screen. So in the 2D level, I have a photo that scales, which is on top of a
3D level that contains a DisplayObject3D (this holds every 3d object except
the camera) that scales. This works very nicely until I move around the
Does any one have any suggestions on how to reposition the camera after
scaling? I've tried placing the camera in the DisplayObject3D, but it's not
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D