[osg-users] [build] osg on ARM (iMX6) shows no display

88 views
Skip to first unread message

Weitao Hou

unread,
Dec 9, 2014, 2:13:55 AM12/9/14
to osg-...@lists.openscenegraph.org
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

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

Weitao Hou

unread,
Dec 9, 2014, 2:35:03 AM12/9/14
to osg-...@lists.openscenegraph.org
Hi,

I set OSG_NOTIFY_LEVEL to INFO,a.txt is the output.


Thank you!

Cheers,
Weitao

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




Attachments:
http://forum.openscenegraph.org//files/a_955.txt

Sebastian Messerschmidt

unread,
Dec 9, 2014, 2:50:10 AM12/9/14
to osg-...@lists.openscenegraph.org
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

Weitao Hou

unread,
Dec 11, 2014, 4:27:17 AM12/11/14
to osg-...@lists.openscenegraph.org
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

Chris Hanson

unread,
Dec 11, 2014, 11:32:01 AM12/11/14
to OpenSceneGraph Users
So, you got something more than just a blue screen now?
--
Chris 'Xenon' Hanson, omo sanza lettere. Xe...@AlphaPixel.com 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]

Weitao Hou

unread,
Dec 11, 2014, 8:15:02 PM12/11/14
to osg-...@lists.openscenegraph.org
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


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=62040#62040
Reply all
Reply to author
Forward
0 new messages