Re: [osg-users] 3.0 runtime loading models problem

2011-07-17 Thread issam boughanmi
hi Jean-Sébastien

well for some reason the problem was solved

i have deleted all the OSG Folder and tried with a new one, disable the GL3 
fonctionallity and it worked


btw HOW GL3 extensions make OSG Better, and should i use it ?

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





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


Re: [osg-users] 3.0 runtime loading models problem

2011-07-17 Thread Jean-Sébastien Guay

Hi Issam,


i have deleted all the OSG Folder and tried with a new one, disable the GL3 
fonctionallity and it worked

btw HOW GL3 extensions make OSG Better, and should i use it ?


Ah, I didn't remember you mentioning you had built OSG with GL3 
enabled... That explains it.


OpenGL 3.0 deprecated the whole fixed-function pipeline, and so most 
regular models you have won't render correctly. When using OpenGL 3 
(with or without OSG) you need to create shaders that implement the 
effects you want to use, and most of the existing StateAttributes OSG 
implemented were for the fixed pipeline, so they will give the errors 
you mentioned (unable to apply state, like your Material state).


I encourage you to read up on OpenGL 3, but in the mean time, just don't 
use that flag for OSG and you'll be fine, you'll have access to the 
fixed pipeline and your existing models will work.


It may be that OSG will someday offer shader generation in order to make 
OpenGL 3 easier to use with OSG, but for now that's the state of things, 
if you use OpenGL 3 you have to do a lot of things yourself to make 
things work, and if you don't use OpenGL 3 then things generally just 
work from the start.


Hope this explains it,

J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.dyndns-web.com/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3.0 runtime loading models problem

2011-07-17 Thread issam boughanmi
hi Jean-Sébastien
Thanks for the great and wonderfull explanantion :D 


this make more sense to me now !

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





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


Re: [osg-users] 3.0 runtime loading models problem

2011-07-14 Thread issam boughanmi
Hi Jean-Sébastien,

OS : Win64 4go of ram  gtx460 1go ddr 5 (latests drivers) compiler vs2010 
express

and yes it produce this problem with cow.osg and all official OSG models too

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





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


Re: [osg-users] 3.0 runtime loading models problem

2011-07-14 Thread Jean-Sébastien Guay

Hi Issam,

Thanks for the info, things seem in order in general...


and yes it produce this problem with cow.osg and all official OSG models too


Have you tried to make a non-static build of OSG, and test the normal 
osgviewer? It may be a problem with osgstaticviewer.


J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.dyndns-web.com/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3.0 runtime loading models problem

2011-07-13 Thread Jean-Sébastien Guay

Hello Issam,


here the exact warning i have when loading any model with osgstaticviewer

Code:
Unknown Chunk: ***UNKNOWN*** (0xA08A)
Warning: Material::apply(State) - not supported.

and it's completely white

the debug_info level didn't gave me more informations

here the complete output of staticviewer with debug notify level


What hardware / OS / compiler are you using?

Can we have a simple model that gives you this problem? You said you 
have the problem with every model you tested, but didn't say which 
models you tested... Does it happen with cow.osg?


On my side I can run osgviewer cow.osg and I don't get this problem, but 
I don't use a static build of OSG, so it may be a driver / build issue 
on your side. I'll have to let others who make static builds of OSG help 
you more...


J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.dyndns-web.com/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3.0 runtime loading models problem

2011-07-12 Thread issam boughanmi
Hi Sébastien,


 
 Gordon Tomlinson replied, but his reply did not show up on the forum (so 
 it's even dubious if this reply will make it, if the mailing list to 
 forum gateway has a problem).
 

ah ok
i saw that reply waiting for approval but it disappears after !

anyway
i will make a deep debug tonight and i will come back with a detailed 
description of the problem
btw i have this problem with every model i tested with osgviewer

i searched before in the ml archive and i found similar threads  talking about 
configuring the cmake builds and gl implementation ,
but i tried every cmake build option without success

again, we will talk after a closer look on this

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





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


Re: [osg-users] 3.0 runtime loading models problem

2011-07-11 Thread issam boughanmi
c'mon guys !!!


no one can help me !

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





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


Re: [osg-users] 3.0 runtime loading models problem

2011-07-11 Thread Jean-Sébastien Guay

Hi Issam,


c'mon guys !!!

no one can help me !


Gordon Tomlinson replied, but his reply did not show up on the forum (so 
it's even dubious if this reply will make it, if the mailing list to 
forum gateway has a problem).


Without more details it'll be very hard to help at all. You could send 
one such model (a small one) so we can see for ourselves, along with the 
exact error message you get, and also as Gordon said, try increasing the 
OSG_NOTIFY_LEVEL to DEBUG_FP to get more information.


Hope this helps,

J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.dyndns-web.com/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] 3.0 runtime loading models problem

2011-07-10 Thread issam boughanmi
Hi,

i just compiled OSG 3.0 and l have some trouble to view various 3d models with 
osgviewer
in the console it complain about material apply state not supported or 
sopmething like

i tried several cmake builds : static / dynamic, gl1/gl2 / gl3 extension ... etc


what this error mean and more important how to fix it

thanks and good day

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





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


Re: [osg-users] 3.0 runtime loading models problem

2011-07-10 Thread Gordon Tomlinson

What  type of models are you loading?

Also try turning the  the notify level to debug to get more information

__
Gordon Tomlinson 

www.photographybyGordon.com
www.gordontomlinson.com 
www.vis-sim.com 

Self defence is not a function of learning tricks  but is a function of how

quickly and intensely one can arouse one's instinct for survival 
-Master Tambo Tetsura 

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of issam
boughanmi
Sent: Sunday, July 10, 2011 1:55 PM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] 3.0 runtime loading models problem

Hi,

i just compiled OSG 3.0 and l have some trouble to view various 3d models
with osgviewer in the console it complain about material apply state not
supported or sopmething like

i tried several cmake builds : static / dynamic, gl1/gl2 / gl3 extension ...
etc


what this error mean and more important how to fix it

thanks and good day

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





___
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