deitty Posted November 21, 2021 Share Posted November 21, 2021 HI there when I rotate camera by pressing right mouse key, I can see the object_grass(same with other mesh object) move a little with respect to the terrain. why? I doesn't find this issue in the oil sample AllLB2K.world _ - UnigineEditor - 2.14.1.0 (DX11) 2021-11-21 10-46-38_Trim.mp4 Link to comment
Amerio.Stephane Posted November 21, 2021 Share Posted November 21, 2021 Hi, Most probably your grass object is very large (10km or more). Look at your camera position in your video sample: X=8km Y=16km. This is probably very far from the origin (pivot) of your grass. You should probably split up your grass in multiple nodes, each with a smaller size. The point is even though the engine runs with double precision globally, each object precision is still restricted to simple float precision. 1 Link to comment
silent Posted November 22, 2021 Share Posted November 22, 2021 deitty Looks like floating point precision issues. In Community version you can safely create worlds up to 10x10km. Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
deitty Posted November 22, 2021 Author Share Posted November 22, 2021 18 hours ago, Amerio.Stephane said: Hi, Most probably your grass object is very large (10km or more). Look at your camera position in your video sample: X=8km Y=16km. This is probably very far from the origin (pivot) of your grass. You should probably split up your grass in multiple nodes, each with a smaller size. The point is even though the engine runs with double precision globally, each object precision is still restricted to simple float precision. unfortunately, een if I use single mesh, I can see the position inconsitant with terrain when I rotate camera. Link to comment
Recommended Posts