Hi Alexandre,

Use a newer version of cessnafire.osg or remove the line with GL_COLOR_MATERIAL 
from the file.  The GL_COLOR_MATERIAL in cessnafire.osg was an error and led 
someone to submit a change to detect and report the error.

As of the 2.8.0 version of osg, models with particles cannot be saved as an ive 
file.  I don't know if this has changed with newer versions of osg.


________________________________
From: [email protected] 
[mailto:[email protected]] On Behalf Of Alexandre 
Amalric
Sent: Tuesday, August 31, 2010 9:05 AM
To: [email protected]
Subject: Re: [osg-users] GL_COLOR_MATERIAL setting problem?

Trying with lastest pre-compiled 2.8.3 binaries produce the same error :

C:\Program Files (x86)\OpenSceneGraph-2.8.3\bin>osgconv.exe cessnafire.osg cessn
afire.ive
Error: Setting mode 'GL_COLOR_MATERIAL' via osg::StateSet::setMode(mode,value) i
gnored.
The mode 'GL_COLOR_MATERIAL' is set by the osg::Material StateAttribute.
Setting this as a mode fools osg's State tracking.
Error: Setting mode 'GL_COLOR_MATERIAL' via osg::StateSet::setMode(mode,value) i
gnored.
The mode 'GL_COLOR_MATERIAL' is set by the osg::Material StateAttribute.
Setting this as a mode fools osg's State tracking.
Error writing IVE file: Unknown node in Group::write()
Warning: Write to "cessnafire.ive" not supported.

Has somebody any clue about this ?

2010/8/31 Alexandre Amalric 
<[email protected]<mailto:[email protected]>>
Hi Akilan,

I recently had the same issue when trying to convert cessnafire.osg as an IVE 
file using osgconv.exe.
I get the same message as you, using the OSG 2.8.2.

I'll try with a newer version and keep you posted.

2010/2/22 Akilan Thangamani 
<[email protected]<mailto:[email protected]>>

Hi,


I installed osg 2.8.2 by compiling all 3rd party sources including glut.
I tried to run one of example, osgblendequation, it throws the following error,


Error: Setting mode 'GL_COLOR_MATERIAL' via osg::StateSet::setMode(mode,value)
ignored.
      The mode 'GL_COLOR_MATERIAL' is set by the osg::Material StateAttribute.
      Setting this as a mode fools osg's State tracking.
Error: Setting mode 'GL_COLOR_MATERIAL' via osg::StateSet::setMode(mode,value)  
ignored.


Is any of glut file missed out in my compilation?


Thank you!

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





_______________________________________________
osg-users mailing list
[email protected]<mailto:[email protected]>
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



--
Alexandre AMALRIC                   Ingénieur R&D
===================================
PIXXIM S.A. 73E, rue Perrin-Solliers 13006 Marseille
http://www.pixxim.fr



--
Alexandre AMALRIC                   Ingénieur R&D
===================================
PIXXIM S.A. 73E, rue Perrin-Solliers 13006 Marseille
http://www.pixxim.fr
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to