ambiera home ambiera home

Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:
Ambiera Forum > CopperLicht
"Tinting" a billboard
Author Text

kylemallory
Registered User
Quote
2012-12-01 18:32:22

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


niko
Moderator
Quote
2012-12-26 16:34:30

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.


kylemallory
Registered User
Quote
2012-12-27 19:13:05

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


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "?nternational" (you are not logged in)


Text:

 

  

Forum Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   





Software: Ambiera Light Forum. © 2008-2019 Nikolaus Gebhardt, Ambiera e.U.