sergey.pozhidaev Posted November 4, 2015 Posted November 4, 2015 hi, i am using impostors for trees on nonXY plane (spherical surface). trees renders incorrect, it rotating and do not matching with tree axis. how set basis for impostor?
silent Posted November 4, 2015 Posted November 4, 2015 Hi Sergery, Could you please provide a sample test scene for reproduction? I'm afraid for spherical worlds some shader code changes are required. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
sergey.pozhidaev Posted November 5, 2015 Author Posted November 5, 2015 https://developer.unigine.com/en/gtfl/437sample there is surface_polygon (part of sphere), forest clutter, grass impostor (always in XY plane)
silent Posted November 5, 2015 Posted November 5, 2015 Hi Sergey, Thank you for the test scene. If I understand your test scene correctly: you are placing impostors + clutter on some plane and you always get vertical impostors alignment? You can try to modify impostors shaders to get the correct orientation in your test case. Right now we don't have plans to implement such functionality for impostor material. We also have sample with correctly aligned impostors with Orientation and Intersection flag enabled (please, check the data/samples/materials/impostor_04). I've replaced ObjectTerrain with plane mesh in that test scene and everything is worked as expected (positions can be slightly different while rotating, but it is not the correct use-case anyway). Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts