Hi all ,
I know this question has been asked again and again . But i am
sorry i wasnt able to find the previous mails in the archive :( .
What i want to do is when a user presses some key he should see
some 3-4 screenshots of some specific nodes .
So basically i am thinking of doing the following :-
-> Set up some dummy cameras
-> Bring them near the node ( at some distance )
-> Take screenshots and write them in some directory
-> Load the images and use it as a texture to a plane
-> Display it to the user
So what i did was i took a seperate viewer , and put the scene-data of the
viewer to be the node .And then attached a slave camera to the viewer and
took a screenshot . But it gave a black image as output .I tried doing
frame() too , but that changed the window on which i was working on and also
gave a black output. Can somebody help me out ??
And is there a way by which i can just use dummy cameras instead of dummy
viewers to take a screenshot ?
And how should i place the camera near the node ?
Thanx a lot in advance
--
Maruti Borker
IIIT Hyderabad
Website:- http://students.iiit.ac.in/~maruti
Blog:- http://marutiborker.wordpress.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org