How to get a Plane in Scen3D view at scale 1:1 on ViewPort

View: New views
2 Messages — Rating Filter:   Alert me  

How to get a Plane in Scen3D view at scale 1:1 on ViewPort

by wafle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Im drawing a plane and added it to my Scen3D, waht is te propertios of the camera to see ir at scale 1:1 on the ViewPort

thx!

_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: How to get a Plane in Scen3D view at scale 1:1 on ViewPort

by unnormalJH () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Distance between camera and object / camera focus == camera zoom -1

Math.abs(camera.z - obj.z) / camera.focus == camera.zoom - 1;

This shows you the object at scale 1:1 on your viewport.

idea from kjangsa3


unnormalJH


wafle wrote:
Im drawing a plane and added it to my Scen3D, waht is te propertios of the
camera to see ir at scale 1:1 on the ViewPort

thx!

_______________________________________________
Papervision3D mailing list
Papervision3D@osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org