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 

osg on ARM (iMX6) shows no display


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build]
View previous topic :: View next topic  
Author Message
hwt
Newbie


Joined: 08 Dec 2014
Posts: 4

PostPosted: Mon Dec 08, 2014 6:35 am    Post subject:
osg on ARM (iMX6) shows no display
Reply with 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
Back to top
View user's profile Send private message
hwt
Newbie


Joined: 08 Dec 2014
Posts: 4

PostPosted: Tue Dec 09, 2014 7:40 am    Post subject:
notify message
Reply with quote

Hi,

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


Thank you!

Cheers,
Weitao
Back to top
View user's profile Send private message
SMesserschmidt (Sebastian Messerschmidt)
Forum Moderator


Joined: 10 Sep 2013
Posts: 807

PostPosted: Tue Dec 09, 2014 7:55 am    Post subject:
osg on ARM (iMX6) shows no display
Reply with quote

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
Back to top
View user's profile Send private message
hwt
Newbie


Joined: 08 Dec 2014
Posts: 4

PostPosted: Thu Dec 11, 2014 9:32 am    Post subject:
Reply with 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
Back to top
View user's profile Send private message
Chris Hanson
Guest





PostPosted: Thu Dec 11, 2014 4:37 pm    Post subject:
osg on ARM (iMX6) shows no display
Reply with quote

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
Back to top
hwt
Newbie


Joined: 08 Dec 2014
Posts: 4

PostPosted: Fri Dec 12, 2014 1:20 am    Post subject:
Re: osg on ARM (iMX6) shows no display
Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build] 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 osgText::Text display issue (only whi... eskay187 General 5 Tue Dec 26, 2017 1:35 pm View latest post
No new posts Display one scene, pick from another one arennuit General 8 Fri Sep 08, 2017 11:50 am View latest post
No new posts Crash on Windows 10 with a Display Li... efson General 2 Thu Apr 27, 2017 9:03 am View latest post
No new posts Vertex Buffer Object used inside disp... scrawl General 2 Thu Feb 16, 2017 9:14 pm View latest post
No new posts Display Geotiff image in OSG umadevi2193 General 8 Thu Nov 17, 2016 11:10 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