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,
tober 13, 2009 1:51 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] How to access Material Palette of flt file at
runtime?
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 mate
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.
3 matches
Mail list logo