hwt Newbie
Joined: 08 Dec 2014 Posts: 4
|
Posted: Mon Dec 08, 2014 6:35 am Post subject: osg on ARM (iMX6) shows no display |
|
|
Hi,
I already successfully used gles1.1 for compling osg3.2.0 on the ARM Platform (CPU:i.MX6 OS:ubuntu)。Now I use gles2.0 instead of gles1.1 for compling OSG. When I run the command that is "./osgviewer cow.osg", it just show nothing but blue screen . I am sure the env is correct.
on per frame, it print these informations:
Warning: TexGen::apply(States&) - not supported.
Warning:Material::apply(State&) - not supported.
Warning:detected OpenGL error 'invalid enumerant' at after RenderBin::draw(..)
Did no display cause by these functions not supported ?
I don`t know how to dispaly the cow model.
Thank you!
Cheers,
weitaohou |
|
hwt Newbie
Joined: 08 Dec 2014 Posts: 4
|
Posted: Tue Dec 09, 2014 7:40 am Post subject: notify message |
|
|
Hi,
I set OSG_NOTIFY_LEVEL to INFO,a.txt is the output.
Thank you!
Cheers,
Weitao |
|
SMesserschmidt (Sebastian Messerschmidt) Forum Moderator
Joined: 10 Sep 2013 Posts: 824
|
Posted: Tue Dec 09, 2014 7:55 am Post subject: osg on ARM (iMX6) shows no display |
|
|
Hi Weitao,
The warnings are due to fixed state elements in your scene graph. They
are simply not supported anymore. You will need to remove them (by using
a visitor e.g.) and replace them with equivalents in your shaders.
It might also cause your "invalid enumerant".
Cheers
Sebastian
Quote:
|
Hi,
I already successfully used gles1.1 for compling osg3.2.0 on the ARM Platform (CPU:i.MX6 OS:ubuntu)。Now I use gles2.0 instead of gles1.1 for compling OSG. When I run the command that is "./osgviewer cow.osg", it just show nothing but blue screen . I am sure the env is correct.
on per frame, it print these informations:
Warning: TexGen::apply(States&) - not supported.
Warning:Material::apply(State&) - not supported.
Warning:detected OpenGL error 'invalid enumerant' at after RenderBin::draw(..)
Did no display cause by these functions not supported ?
I don`t know how to dispaly the cow model.
Thank you!
Cheers,
weitaohou
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61989#61989
|
------------------
Post generated by Mail2Forum |
|
hwt Newbie
Joined: 08 Dec 2014 Posts: 4
|
Posted: Thu Dec 11, 2014 9:32 am Post subject: |
|
|
Hi,Sebastian
Thanks for your reply.
As you said, the warnings are due to fixed state elements.
I removed them and it can dispaly normally.
Thank you!
Cheers,
Weitao |
|
Chris Hanson Guest
|
Posted: Thu Dec 11, 2014 4:37 pm Post subject: osg on ARM (iMX6) shows no display |
|
|
So, you got something more than just a blue screen now?
On Thu, Dec 11, 2014 at 2:32 AM, Weitao Hou < ( Only registered users can see emails on this board! Get registred or enter the forums! |
)> wrote:
Quote:
|
Hi,Sebastian
Thanks for your reply.
As you said, the warnings are due to fixed state elements.
I removed them and it can dispaly normally.
Thank you!
Cheers,
Weitao
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=62034#62034
_______________________________________________
osg-users mailing list
(Only registered users can see emails on this board! Get registred or enter the forums! | )
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
|
--
Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]
------------------
Post generated by Mail2Forum |
|
hwt Newbie
Joined: 08 Dec 2014 Posts: 4
|
Posted: Fri Dec 12, 2014 1:20 am Post subject: Re: osg on ARM (iMX6) shows no display |
|
|
yes, it can view osg model(cow.osg eg..)
Chris Hanson wrote:
|
So, you got something more than just a blue screen now?
------------------
Post generated by Mail2Forum
|
|
|