toglia
14-04-2010 08:09:21
Hello, Its been a while since I've posted, but I just can't continue coding until I share this issue with you guys.
From what I know NXS file shapes can contain information about the material index that the shape is using, right? But this material can't (maybe I don't know how) be embedded on the file itself. I have been living with that for some time now, but I just can't take it anymore, its getting really awkward cause I have to keep the count of my material index when designing my physx meshes? And I have to make sure the material order doesn't change too, that make the whole workflow very tight and unmodulated.
So... maybe thats not the way of doing things. Have you ever needed to embed the material indexes on physic shapes? Is it possible to create and attach material to shapes in a data-driven way? Or something less painfull?
This begun after betajaen told me that the only way I could assign materials to triangle meshes (NxOgre 0.9) was through the NXS file and fluor (worked perfectly).
viewtopic.php?f=6&t=11491
It would be cool to hear what you think. Thanks!
From what I know NXS file shapes can contain information about the material index that the shape is using, right? But this material can't (maybe I don't know how) be embedded on the file itself. I have been living with that for some time now, but I just can't take it anymore, its getting really awkward cause I have to keep the count of my material index when designing my physx meshes? And I have to make sure the material order doesn't change too, that make the whole workflow very tight and unmodulated.
So... maybe thats not the way of doing things. Have you ever needed to embed the material indexes on physic shapes? Is it possible to create and attach material to shapes in a data-driven way? Or something less painfull?
This begun after betajaen told me that the only way I could assign materials to triangle meshes (NxOgre 0.9) was through the NXS file and fluor (worked perfectly).
viewtopic.php?f=6&t=11491
It would be cool to hear what you think. Thanks!