Re: [osg-users] [forum] Self Illumination export from 3ds max 2010

2013-02-12 Thread Sergey Polischuk
Hi

osg max exporter does export all kind of maps but it does not preserve 
semantics on most of them so they does not work correctly. IIRC diffuse, 
reflections and opacity maps are correctly exported.
You should either write shader or change osg::TexEnvCombine on stateset in 
question so that your emission texture will blend additively.

Cheers.

11.02.2013, 22:07, Xomes Ss thijs_wittenho...@hotmail.com:
 Hi,

 I am trying to export my object (simple traffic light) from 3ds max 2010 to 
 Delta3d, and am using the OSGexporter.
 This object holds both a Diffuse map, and a Self-Illumination map (to make 
 red, orange or green light up). However if I export both theses maps, the 
 diffuse map shows in black, except for where the Self-illumination map is not 
 black (see attachement).
 How do I export these maps both? The .osg file looks good IMO, since the 
 first lines are:

 
 MatrixTransform {
   DataVariance STATIC
   name Scene Root
   nodeMask 0x
   cullingActive TRUE
   description # osgmaxexp material data
 Name 07 - Default
 Map Diffuse 0 1 images\\TL_Diffuse.tga UVMAP_EXPLICIT
 Map Self-Illumination 1 1 images\\TL_Self_illum_green.tga UVMAP_EXPLICIT
 

 Thank you!

 Cheers,
 Xomes

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=52169#52169

 Attachments:
 http://forum.openscenegraph.org//files/problem_self_illumination_358.jpg

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [forum] Self Illumination export from 3ds max 2010

2013-02-11 Thread Xomes Ss
Hi,

I am trying to export my object (simple traffic light) from 3ds max 2010 to 
Delta3d, and am using the OSGexporter.
This object holds both a Diffuse map, and a Self-Illumination map (to make red, 
orange or green light up). However if I export both theses maps, the diffuse 
map shows in black, except for where the Self-illumination map is not black 
(see attachement).
How do I export these maps both? The .osg file looks good IMO, since the first 
lines are:


MatrixTransform {
  DataVariance STATIC
  name Scene Root
  nodeMask 0x
  cullingActive TRUE
  description # osgmaxexp material data
Name07 - Default
Map Diffuse 0   1   images\\TL_Diffuse.tga  UVMAP_EXPLICIT
Map Self-Illumination   1   1   images\\TL_Self_illum_green.tga 
UVMAP_EXPLICIT


Thank you!

Cheers,
Xomes

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52169#52169




Attachments: 
http://forum.openscenegraph.org//files/problem_self_illumination_358.jpg


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org