[Papervision3D] Scaling Stage and Viewport problem

Clox ogggan at gmail.com
Fri Apr 24 17:45:52 PDT 2009




Clox wrote:
> 
> I want to be able to resize the stage and the viewport should scale to the
> stage, however if i just set viewport.autoScaleToStage to true then this
> gives me a problem since making the viewport bigger reveals more of the
> scene, while making it really small only lets you see a really small bit
> of the scene.
> I want the view to be consistent, and the viewer should always see the
> same portion of the scene no matter what the size of the stage is.
> 
> Setting autoScaleToStage to false fixes this but gives me another problem,
> for some reason the view isn't centered anymore.
> 
> Does anyone know of a solution to this?
> 
> Thanks in advance!
> 


I've changed to the CS4 branch of Papervision now and it does not have that
issue.
But now I'm having problems with camera.unproject instead -.-
-- 
View this message in context: http://www.nabble.com/Scaling-Stage-and-Viewport-problem-tp23214153p23226990.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list