Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I am new (day or two) to CopperLicht. I am doing some simulations around a basic particle engine, and would like to alter the color/appearance of individual billboards to reflect their state in the simulation. Is this possible? And if so, how would I go about it? I've already extended the BillboardSceneNode to represent my particles, so I suspect I could override the rendering method, but I'm not sure how to approach it... Any help would be appreciated. Thanks, --Kyle |
||||
|
Currently, there is no public interface for doing this. But if you take a closer look at the billboard structure using a debugger, you'll see that, it has some internal mesh buffer. This also stores the vertex colors (color member here: http://www.ambiera.com/copperlic...), just change that. |
||||
|
Thanks, Niko for the reply... I also noticed a number of other posts which reflected at the same issue; wanting to color verticies. ;-) Unfortunately, using the debugger, I wasn't able to find any way to access the mesh of the Billboard. Is this perhaps because my MySceneNode is derived from BillboardSceneNode, instead of using the BillboardSceneNode directly? Any chance we could see this as an addition to the Billboard class? It seems pretty rudimentary. --Kyle |
|