angus Posted May 21, 2022 Share Posted May 21, 2022 I am making a dynamic flag. I created a plane primitive, and then from the plane primitive Create -> Mesh -> Dynamic to create an ObjectMeshDynamic which allows me to apply the "Cloth" body type to it. However I can't seem to texture the ObjectMeshDynamic. Materials display as if the UVs are missing, or perhaps something else. What's the right procedure for creating ObjectMeshDynamic that allow for materials to be applied? Link to comment
silent Posted May 23, 2022 Share Posted May 23, 2022 angus Could you please show us a minimal test scene (or code) that we can compile and see the results? Have you tried to upgrade to the latest 2.15.1 version? Thanks! 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
angus Posted May 23, 2022 Author Share Posted May 23, 2022 (edited) I've made a tiny scene and attach a .ZIP of the "data" directory. My process was 1) Create->Primitive->Plane - dimensions 16 x 9 units and 50 subdivisions 2) Create->Mesh->Dynamic - choose Plane primitive from (1) 3) Apply material to both (1) and (2). Result: material works fine on (1) but on (2) it does not work. flag_data.zip Edit: I've upgraded to 2.15.1 (from 2.15) and repeated the process. The process works. I think perhaps it's a bug in 2.15 to do with UVs. Edited May 23, 2022 by angus 1 Link to comment
silent Posted May 23, 2022 Share Posted May 23, 2022 Yes, there was a bug in 2.15, that we fixed in 2.15.1. So it's better to stick with 2.15.1 version since there is no workarounds available. Thanks 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
angus Posted May 23, 2022 Author Share Posted May 23, 2022 Ok, thanks, Silent. We'll upgrade the project to 2.15.1. Please mark the issue as solved. Link to comment
Recommended Posts