Guest shane.ploenges Posted April 19, 2013 Share Posted April 19, 2013 Hi, we have observed that in a double precision build if you have a tree far from the origin, the motion from wind is not smooth, the tree "jumps" between different animation points looking very strange. This is easy to replicate without a test case scene. load a double precision build of the editor load a tree node file (i used birch2) observe all looks OK move the tree node to a far away world location, i used 500000,300000,0 observe that the tree motion from wind is now very stilted and jittery. Most of our simulator worlds are built in real world coordinates making this a huge show stopper. Thanks Link to comment
necris Posted April 19, 2013 Share Posted April 19, 2013 Shane, Thanks for the report. That's a known issue, we work on it, and notify you when it's done. Link to comment
ulf.schroeter Posted April 21, 2013 Share Posted April 21, 2013 Hi frustum, can you give some hint on the cause of the exaxt problem and how you solved it ? I would guess some float precision issue on wind animation offset based on xyz position. BTW just as a question: will ObjectGrass show the same issue ? Link to comment
frustum Posted April 21, 2013 Share Posted April 21, 2013 ObjectGrass is free of this issue because it doesn't use world coordinates as a source for noise calculations.Shader noise for trees was based on world position. Absolute values of noise were huge as result shader floating point precision wasn't sufficient.I have added a "virtual origin" for all shader world position calculations. This origin will solve all precision errors. Link to comment
Guest shane.ploenges Posted April 21, 2013 Share Posted April 21, 2013 Thanks for the fix and update Link to comment
Guest shane.ploenges Posted April 24, 2013 Share Posted April 24, 2013 Hi, will this be in the next sdk release or an interim build? we are planning to update our software to the latest SDK version next week and would rather hold off if it will be in another SDK. Link to comment
binstream Posted April 24, 2013 Share Posted April 24, 2013 It is planned to be available in the next SDK update (April 29-30). Link to comment
Recommended Posts