fabre.cedric Posted February 29, 2020 Share Posted February 29, 2020 Hello, I would like to know if there is a way to rotate the texture coordinates in C++ ? I have found the "uv_transform" parameter for texture repeat. Maybe by vertexs or materials but haven't found anything about this. Thanks. Link to comment
silent Posted February 29, 2020 Share Posted February 29, 2020 Hi Cedric, Right now only offset is scale is supported. We have plans to improve UV editor in the future SDK updates and add possibility to rotate UVs. 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
fabre.cedric Posted March 1, 2020 Author Share Posted March 1, 2020 Hi Silent, If I understand, actually there is no way to get or set uv coord of vertexs by code ? Have you got any idea of the release date for this improvement ? The project that Edicad want to develop need this functionnality and the first release date was planed for june. Thanks. Link to comment
silent Posted March 2, 2020 Share Posted March 2, 2020 To overwrite the UV's of the already imported mesh you can use setTexCoord0 / setTexCoord1 methods. 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
ly.wu Posted June 29, 2020 Share Posted June 29, 2020 Hello Is there a way to animate a texture? thanks. like ue4 sample texture animation Link to comment
silent Posted June 29, 2020 Share Posted June 29, 2020 Sure, check the Texture Coordinates Transformation option in the material settings. 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
ly.wu Posted June 29, 2020 Share Posted June 29, 2020 thanks , I got it, it's pretty easy to implement this. Link to comment
Recommended Posts