—- Dirk Reiners <dirk@infiscape.com> wrote:
Hi Philipp,
Philipp Reiter wrote:
Hi
i want to import some .obj-files into my scene.
some
of them using bump-maps. but opensg dont know the
"bump bumptexture.bmp" or "map_Bump
bumptexture.bmp"
in the .mtl-file.
short mtl example:
newmtl material_1
Ns 80
Tr 0.450000
illum 2
Ka 0.000000 0.000000 0.000000
Kd 1.000000 1.000000 1.000000
Ks 0.266667 0.266667 0.266667
map_Ka mat1_mtl1_ambicol.bmp
map_Kd mat1_mtl1_diffcol.bmp
map_Bump mat1_mtl1_bumpamt.bmp
is there another way to import obj-files with
bump-maps(without using a shader)?
Not at this time, sorry. It would be nice to have a
default shader built into
the OBJ loader, but lacking actual example data to
see what the details of obj
bumpmaps are there is no way to do it. But if you'd
be willing to add it I'd be
happy to include it.
Where did you get those file,s i.e. which modeler
exports those?
I used Bryce6.
philipp