Jump to content

Arbitrary terrain orientation


photo

Recommended Posts

Hi,

Between 2.7.3 and current 2.9.0.2 I'm not sure to get same result when generating arbitrary terrain following tuto / with data from add-on.

Albedo and height maps are same files.

With 2.7.3, here is the orientation I get:
(lake is little addition)

image.thumb.png.e13195d48738470d9a951fa88ce8166d.png

With 2.9.0.2, here is the result, kind of flip:

image.thumb.png.c259c4e148275fb506f53c0f926e9681.png

Would you know where it comes from?
Currently dealing with CIGI, I am just flying straight in the mountain whereas before it was in the valley..
In both cases, Y is the north, and Hemu flight model is properly moving entities in this direction when increasing lat.

IG config doesn't change anything, or I don't use/observe properly..
ig_manager->setCoordinateSystem(IG::ManagerInterface::COORDINATE_SYSTEM::NED);
... but this is maybe CIGI / another forum topic.

Kind regards,
Charles

Link to comment

Hello Charles,

Between two mentioned versions we'd changed default flip for textures in arbitrary terrain. Previously LT was flipping textures by Y axis. Now it works as "what you see is what you get".

So the result in 2.9 should be considered as correct. If you want the same terrain in 2.9 you should manually flip by Y all textures used.

Thanks.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment

Hi,

Yes it's true it is consistent with texture now.
Just surprising first time you replay previous activity.

What about COORDINATE_SYSTEM enum, change it in code should impact behavior between Unigine and Hemu?
ig_manager->setCoordinateSystem(IG::ManagerInterface::COORDINATE_SY
STEM::NED);

Kind regards,
Charles

Link to comment

The Engine itself works in ENU coordinates. IG can work both with ENU and NED, depending on what you have specified.

If IG is set to NED, then all entities should be controlled in NED coordinates, but if you want to directly work with nodes in should be ENU.

Thanks.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...