Opened 10 years ago

Last modified 8 years ago

#184 new defect

BumpMap support in OBJ

Reported by: dirk Owned by: unassigned
Priority: major Milestone: 2.0 Release
Component: System Version: 2.0
Keywords: Cc:

Description

--- Dirk Reiners <dirk@…> 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

Change History (1)

comment:1 Changed 10 years ago by dirk

  • Milestone set to 2.0 Release
  • Version set to 2.0
Note: See TracTickets for help on using tickets.