Ok,
Let's say that I want to read an OBJ file and assign the BUMP texture to 0 and
the DIFFUSE texture to 1
Am I doing right with these lines of code for the options?
osg::ref_ptrosgDB::ReaderWriter::Options options = new
osgDB::ReaderWriter::Options;
options-setOptionString(DIFFUSE=1
Dear OSG users,
I am trying to develop bump mapping using opengl es 2.0 and openscenegraph.
I can't use osgFX because of opengl es 2.0.
I have to apply a bump map to an obj that has the map embedded in the MTL.
The mtl is like this:
newmtl Nuovo
Kd 0.80 0.80 0.80
illum 2
Ns
2 matches
Mail list logo