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 3.4.1 - Tutorial 12 Fails on Mac ... digitorus General 1 Sat Nov 04, 2017 12:32 pm View latest post
No new posts BVH and model axis centering: a model... Paradox Plugins [osgPlugins] 0 Mon Oct 16, 2017 4:27 pm View latest post
No new posts Problem With Osg Texture Colors! Bobykhani General [forum] 1 Tue Oct 10, 2017 8:20 am View latest post
No new posts Problem compiling OSG 3.4.1 osgDB 64 bit tonyor Build system [build] 0 Thu Sep 21, 2017 12:41 am View latest post
No new posts Polytopes limited to 32 planes arennuit General 4 Wed Sep 20, 2017 4:15 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