Subject: Cameras and Images 2004-03-24 - By Carl Lydon
Back Hi,
I have been working on this project forever now:
http://www.sillyplanet.net/projects/simulation/
(This is an old version, but you get the idea). I have a problem.
I used to have an overlay on the second camera that rounded out the square edges , so that it looked like the magnified image was inside the lens. Because I have added animated hands that change shape, this method won't work anymore. What I would like to do is dynamically grab the image from the 2nd camera, and assign it to a texture map that is wrapped onto the lens.
Is there a straightforward way to do this? Is there a way to grab the image from the 2nd camera without taking a screengrab of the entire stage or the member? The 2 cameras are locked together in the same scene, so it's not practical to grab the image from a second member.
I thought I could take the image of a second sprite that uses only the second camera, but I can't seem to do that without the second camera showing up in the 1st sprite as well. It's cumbersome to explain, so I put up a .jpg that shows what I mean:
http://sillyplanet.net/problem.jpg
Any help would be greatly appreciated.
-Carl
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|