Netskate
17-10-2008 18:13:46
hi xavi, due to my problem, I would ask you if you can create two function to split the update method of projected grid.
Actually I have to call update(), every frame either the plane is rendered too slow to follow the camera, but this is a bad thing for framerate.
So, if you can split update() in two methods like:
updateProjectedPlane();
updateVertexetcetc();
I can call the updateProjectedPlane every frame, so infinite plane can follow the camera and the other function each 0.5 seconds, it will give me a good frame rate boost.
Else I should use simplegrid, but its performance seems to be lesser than projected grid, moreover I really don't know how to merge simplegrid with horizon.
Actually I have to call update(), every frame either the plane is rendered too slow to follow the camera, but this is a bad thing for framerate.
So, if you can split update() in two methods like:
updateProjectedPlane();
updateVertexetcetc();
I can call the updateProjectedPlane every frame, so infinite plane can follow the camera and the other function each 0.5 seconds, it will give me a good frame rate boost.
Else I should use simplegrid, but its performance seems to be lesser than projected grid, moreover I really don't know how to merge simplegrid with horizon.