[Papervision3D] Understanding Camera Properties

Dan0 daniel.c.6503 at gmail.com
Sun Feb 24 05:04:04 PST 2008


This is crazy. I searched camera and loads of other keywords on nabble and I
never found any of these posts!!! I see I am not alone though which is nice
x).

I tried out my formula and it works, yay!
- mouseY controls zoom : focus ratio
- click and drag to rotate the cube
http://www.dan0.com/test.swf http://www.dan0.com/test.swf 

This is the script I used to keep the ratio fine:
default_camera.focus = (300-mouseY)*5;
default_camera.zoom = 750/default_camera.focus+1;

Hope this helps someone randomly xD,
Dan
-- 
View this message in context: http://www.nabble.com/Understanding-Camera-Properties-tp15652554p15663891.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list