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 

set new camera pointer


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU]
View previous topic :: View next topic  
Author Message
danoo
Appreciator


Joined: 16 Dec 2011
Posts: 146

PostPosted: Wed Aug 15, 2012 12:26 pm    Post subject:
set new camera pointer
Reply with quote

Hi Art

I create a processor and units and hock to processor to the root scene node.
Then as soon as the viewer is up, I set the processors camera pointer.

Now in my application I have the feature of destroying the view and setting it up again (we use composite viewer).

As soon as I set the processors camera to the new camera that belongs to the new view, I have a random checkerboard texture which is rendered.

What is the correct procedure when the scene graph is not changed, neighter the ppus, but the viewer can be added and removed. How can I tell osgPPU to completely invalidate its resources?


Thank you!

Cheers,
Daniel
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 When gets the view matrix of a camera... wernerM General 1 Sat Nov 18, 2017 4:08 pm View latest post
No new posts Camera collision with terrain ht11 General [3rdparty] 0 Fri Oct 13, 2017 7:34 am View latest post
No new posts How to set field of view of second sl... kefaline General [forum] 2 Wed Oct 04, 2017 1:29 pm View latest post
No new posts Rotating Slave Camera Views Jim Perkins General 1 Tue Sep 26, 2017 7:57 pm View latest post
No new posts Is Camera should be a MatrixTransform? mp3butcher General 0 Mon Sep 18, 2017 4:42 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