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 

Camera collision with terrain


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [3rdparty]
View previous topic :: View next topic  
Author Message
ht11
Newbie


Joined: 13 Oct 2017
Posts: 1

PostPosted: Fri Oct 13, 2017 7:34 am    Post subject:
Camera collision with terrain
Reply with quote

Hi,

I've create terrain with VirtualPlanetBuilder, what I need to do to prevent the camera sinking under the loaded surface. In TerrainManipulator class, exist method which as I understand will helps me to do this, like setNode, this method is called from View class by setCameraManipulator where scene will be attached to camera manipulator, but methods of TerrainManipulator performMovementMiddleMouseButton and performMovementRightMouseButton never called any where, so camera intersection with scene can't be handled. Is this mean that i need to create my own manipulator which should be inherited from TerrainManipulator and where I have to handle camera collision or is there any other way to resolve my problem.

Thank you!
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 [3rdparty] 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 So what is the status of VR camera to... dglenn General 0 Mon Apr 09, 2018 10:51 pm View latest post
No new posts Prevention of near plane culling whil... hartwigw General 3 Sat Mar 10, 2018 7:57 am View latest post
No new posts The importance of using Camera::setDr... robertosfield General 5 Wed Mar 07, 2018 9:57 am View latest post
No new posts Camera with FBO and dynamic color buf... filnet Submission 0 Tue Mar 06, 2018 12:59 pm View latest post
No new posts How to set the transparency for one o... adrianj General 0 Tue Feb 06, 2018 3:19 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