When using Hydrax and a Projected Grid (with the same options of the Demo1), I incur in artifacts when:
1 - changing the camera orientation/position too fast
2 - increasing the camera FOV
Does anyone hasencountered/ solved this problems?
Here's the "increasing FOV artifact".
After the FOV has been changed, as soon as camera position changes, this artifact disappear.
I think it's something related to the ProjectedGrid geometry size update... is there a way to force an update?
Try to move the camera before updates Hydrax.
Jose Luis Cercós Pita
I have the same problem, and I update hydrax after the camera.
I think the problem appeared when I followed the instructions on the forum to upgrade hydrax to run on 1.7.
It's on my list of things to debug in the next week or so- I will let you know what I find.
Are you using a camera with a node hierarchy?
Like are you setting the cameras position and orientation through one or more scene nodes as apposed to directly?
I feel this is actually a hydrax bug.
The problem occurs when you use a camera whos position/orientation is inherited from one or more scene nodes E.g. http://www.ogre3d.org/tikiwiki/Creating
You can fix the problem by simply having the cameras position/orientation manually set each from using _derived pos/orientation from the node it would otherwise be attached to.
For example if you used to have:
You will need to comment that out and then call this once per frame:
camera->setOrientation( mRollNode->_getDerivedOrientation() );
camera->setPosition( mRollNode->_getDerivedPosition() );
well yes I do have a scene hierarchy over the camera node...
It will be very painful for our framework to detach the camera from the nodes and set its position manually... camera is attached to the nodes dynamically...