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 

Near/Far clip planes: problem?


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU]
View previous topic :: View next topic  
Author Message
vezza (Luca Vezzadini)
User


Joined: 23 Apr 2010
Posts: 44

PostPosted: Wed May 19, 2010 8:33 am    Post subject:
Near/Far clip planes: problem?
Reply with quote

Hi,
I see that in all the examples there is a call like:
Code:
camera->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR);


Now, that disables the standard automatic computation of clipping planes. I have tried to remove that call in my code and the whole thing gets a crazy behavior, in the sense that the camera motion start freezing.
We of course would need a precise computation of clip planes: does anybody have a clue about what could cause that problem? And is there any solution/workaround?
Thanks,

Luca
Back to top
View user's profile Send private message
airion
User


Joined: 11 Aug 2010
Posts: 31

PostPosted: Fri Sep 30, 2011 11:23 am    Post subject:
Reply with quote

Hi,

I had the same issue - please find my fix here:

http://forum.openscenegraph.org/viewtopic.php?p=43140#43140

It prevents the osgPPU::Unit's from beeing taken into account for near/far computation.

--Alex
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU] 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 osg::Image::setImage problem evanyftsai General 6 Sat Feb 18, 2017 2:38 am View latest post
No new posts problem with shapefile height when lo... vinothrajendran4 General 2 Thu Feb 16, 2017 12:22 pm View latest post
No new posts Jittering/Flickering geometry problem umesh General 3 Tue Feb 14, 2017 10:53 am View latest post
No new posts     how  t... Konstantin Podsvirov General 0 Mon Feb 13, 2017 5:44 am View latest post
No new posts how to solve QT5 multi-thread problem 来恩 General 4 Sat Feb 11, 2017 10:11 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