OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Self Illumination export from 3ds max 2010


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum]
View previous topic :: View next topic  
Author Message
Xomesss
Newbie


Joined: 24 Jan 2013
Posts: 4

PostPosted: Thu Jan 24, 2013 5:43 pm    Post subject:
Self Illumination export from 3ds max 2010
Reply with quote

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 0xffffffff
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,
Thijs


Last edited by Xomesss on Mon Feb 11, 2013 9:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
Xomesss
Newbie


Joined: 24 Jan 2013
Posts: 4

PostPosted: Mon Feb 11, 2013 6:03 pm    Post subject:
Self Illumination export from 3ds max 2010
Reply with quote

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 0xffffffff
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




------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
hybr
Appreciator


Joined: 26 Jun 2009
Posts: 454

PostPosted: Tue Feb 12, 2013 8:54 am    Post subject:
Self Illumination export from 3ds max 2010
Reply with quote

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" <>:
Quote:
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 0xffffffff
  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




------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Export the cropped model Wangbingqian General 2 Thu Jun 07, 2018 8:42 am View latest post
No new posts Export .obj with colors Joel Plugins [osgPlugins] 3 Mon Apr 02, 2018 8:13 am View latest post
No new posts export to wavefront (obj) of line obj... MNicke General 0 Tue Dec 05, 2017 4:18 pm View latest post
No new posts regard: &nbsp; how&nbsp; to&a... 韩志平 General 0 Mon Feb 13, 2017 6:57 am View latest post
No new posts how to load 3rdparty-x86-vs-2010.zip 韩志平 General 0 Mon Feb 13, 2017 5:52 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP