Thank you,Gordon.
Seems, I need to change my design.
Originally, I just want to set plant leave's color,ambient and diffuse value in
palette, and change one set to another at runtime.
for now, I don't know if I need to write them in an xml file. If I do, then
modeling is an troublesome thing,
Hi,
In creator, I defiened several materials in Material Palette, and set one of
them to model.
At OSG runtime, Can I access the Material Palette and use materials in it? say,
set another material in palette to loaded model.
are there any code clues or examples?
Any help will be appreciated.
2 matches
Mail list logo