Sprite3D - Maintaining dimensions

Software: Away3D 4.x

Donny, Jr. Member
Posted: 01 May 2012 07:17 AM   Total Posts: 34

I appreciate this kind of goes against the principles of 3D, but how could I best keep a Sprite3D at the exact dimensions of its width/height. So regardless of the camera distance, the objects x, y, z, etc it maintains the same dimensions. This would come in handy to maintain suitably sized button hotspots, text readability etc.

Thanks!

   

Hector, Sr. Member
Posted: 30 May 2012 10:52 AM   Total Posts: 137   [ # 1 ]

Hi Donny,
In Away3D v3 the Sprite3D has an option called ‘distanceScaling’, but it is not available in v4 :(

I had this problem some time ago, but sadly I had to go back to work with v3 and I stopped researching.

You can see my post here:
away3d_com/forum/viewthread/1488/

And a possible solution here:
away3d_com/forum/viewthread/797/

This is my feature request post:
away3d_com/forum/viewthread/1478/

Please replace _com with .com. Forum doesn´t allow linking to itself :S

If you get it working please share the code, I need it to port my project to v4.

   
   
‹‹ Car’s headlight simulation

X

Away3D Forum

Member Login

Username

Password

Remember_me



X