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 

Model flickering on osgViewer


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
ceranco (Eran Cohen)
Newbie


Joined: 15 Dec 2017
Posts: 10

PostPosted: Thu Jun 21, 2018 10:02 am    Post subject:
Model flickering on osgViewer
Reply with quote

Hi,

I compiled OpenSceneGraph 3.6.1 on a recently formatted Windows 10 laptop with up-to-date drivers.
When I tried to run osgViewer with cow.osg, the model and screen started to 'flicker':


but interestingly, when I took a screenshot, everything looked alright:


Previously, the laptop was running Linux and this problem didn't happen.
Does anyone have an idea why this is happening?

Thanks,
Eran
Back to top
View user's profile Send private message
L. Voerman
Guest





PostPosted: Thu Jun 21, 2018 11:12 am    Post subject:
Model flickering on osgViewer
Reply with quote

This looks like a driver bug, an reminds me of a problem in the nvidia driver having problems with display lists combined with depth_clamp.
the osgviewer doesn't do the depthclamp, but the display lists might be a problem here.
can you try:
set OSG_OPTIMIZER=INDEX_MESH

osgviewer cow.osg


Laurens.


On Thu, Jun 21, 2018 at 12:02 PM Eran Cohen < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
Hi,

I compiled OpenSceneGraph 3.6.1 on a recently formatted Windows 10 laptop with up-to-date drivers.
When I tried to run osgViewer with cow.osg, the model and screen started to 'flicker':
[Image: https://preview.ibb.co/dbVWFT/photo.jpg ] (https://ibb.co/jeAnpo)

but interestingly, when I took a screenshot, everything looked alright:
[Image: https://preview.ibb.co/ic4u28/screenshot.jpg ] (https://ibb.co/e9ju28)

Previously, the laptop was running Linux and this problem didn't happen.
Does anyone have an idea why this is happening?

Thanks,
Eran

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





_______________________________________________
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


------------------
Post generated by Mail2Forum
Back to top
ceranco (Eran Cohen)
Newbie


Joined: 15 Dec 2017
Posts: 10

PostPosted: Thu Jun 21, 2018 12:01 pm    Post subject:
Re: Model flickering on osgViewer
Reply with quote

Hi Laurens, thanks for answering so quickly.
I'll try your suggestion when I get home.


L. Voerman wrote:
This looks like a driver bug, an reminds me of a problem in the nvidia driver having problems with display lists combined with depth_clamp.
the osgviewer doesn't do the depthclamp, but the display lists might be a problem here.
can you try:
set OSG_OPTIMIZER=INDEX_MESH

osgviewer cow.osg


Laurens.


On Thu, Jun 21, 2018 at 12:02 PM Eran Cohen < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
Hi,

I compiled OpenSceneGraph 3.6.1 on a recently formatted Windows 10 laptop with up-to-date drivers.
When I tried to run osgViewer with cow.osg, the model and screen started to 'flicker':
[Image: https://preview.ibb.co/dbVWFT/photo.jpg ] (https://ibb.co/jeAnpo)

but interestingly, when I took a screenshot, everything looked alright:
[Image: https://preview.ibb.co/ic4u28/screenshot.jpg ] (https://ibb.co/e9ju28)

Previously, the laptop was running Linux and this problem didn't happen.
Does anyone have an idea why this is happening?

Thanks,
Eran

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





_______________________________________________
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


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
ceranco (Eran Cohen)
Newbie


Joined: 15 Dec 2017
Posts: 10

PostPosted: Thu Jun 21, 2018 2:07 pm    Post subject:
Re: Model flickering on osgViewer
Reply with quote

That does indeed fix the flickering.
My driver is Intel(R) HD Graphic 4000 ver 10.18.10.4885.


ceranco wrote:
Hi Laurens, thanks for answering so quickly.
I'll try your suggestion when I get home.


L. Voerman wrote:
This looks like a driver bug, an reminds me of a problem in the nvidia driver having problems with display lists combined with depth_clamp.
the osgviewer doesn't do the depthclamp, but the display lists might be a problem here.
can you try:
set OSG_OPTIMIZER=INDEX_MESH

osgviewer cow.osg


Laurens.


On Thu, Jun 21, 2018 at 12:02 PM Eran Cohen < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
Hi,

I compiled OpenSceneGraph 3.6.1 on a recently formatted Windows 10 laptop with up-to-date drivers.
When I tried to run osgViewer with cow.osg, the model and screen started to 'flicker':
[Image: https://preview.ibb.co/dbVWFT/photo.jpg ] (https://ibb.co/jeAnpo)

but interestingly, when I took a screenshot, everything looked alright:
[Image: https://preview.ibb.co/ic4u28/screenshot.jpg ] (https://ibb.co/e9ju28)

Previously, the laptop was running Linux and this problem didn't happen.
Does anyone have an idea why this is happening?

Thanks,
Eran

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





_______________________________________________
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


------------------
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 -> General 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 Model(s) load ~10 times longer in 3.6... davisjamesf General 10 Wed Jul 04, 2018 7:18 pm View latest post
No new posts osgviewer camera initial angle. Vagn General 1 Wed Jun 20, 2018 2:31 pm View latest post
No new posts Export the cropped model Wangbingqian General 2 Thu Jun 07, 2018 8:42 am View latest post
No new posts osgQt scenegraph flickering with mult... Meldryt General 1 Tue May 29, 2018 3:04 pm View latest post
No new posts projecting a model to geocentric Trajce Nikolov NICK General 0 Tue Mar 27, 2018 5:20 pm 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