kittikun
03-31-2009, 06:46 AM
Hi all,
I’m created a helper deriving from dummy and assign it a mesh do draw by using getDisplayMesh. To be more precise, I just have a local var of type TriMesh that I build using setMesh. The look is wireframe and this is fine with me
So my problem is that I want to draw with differents colors depending on various parameters. I’ve been setting vertex colors using SetVertColor and set the showVertexColors to true but it’s not working.
Is my approach wrong ?
I’m created a helper deriving from dummy and assign it a mesh do draw by using getDisplayMesh. To be more precise, I just have a local var of type TriMesh that I build using setMesh. The look is wireframe and this is fine with me
So my problem is that I want to draw with differents colors depending on various parameters. I’ve been setting vertex colors using SetVertColor and set the showVertexColors to true but it’s not working.
Is my approach wrong ?
