[SOLVED] scene.project() unneccesary?

Software: Away3D Lite

Declan Bullock, Newbie
Posted: 30 June 2011 11:32 AM   Total Posts: 2

Hi Guys,

Just a quick question - in the View3D render() function, the _scene.project(_camera) method is always called: It’s outside of the _scene.isDirty conditional. For what reason in the 3d engine should vertices be projected when nothing has changed?


Thanks

-Declan

Edit: Solved; The reason is the checking whether the _viewMatrix has changed. This checking is done in the project() method and needs to be done every step.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X