Discussion:
Is it possible to set a viewport or camera as material?
IaRRoVaWo
2011-01-20 02:10:13 UTC
Permalink
Hi there!

I'm new in AS3 and Papervision and I feel lost trying to do what I want,
maybe it's easy but I'm lost...

How can I set a camera as plane's material?

I'll try to explain: I'm working with Papervision and FLARToolKit and in my
scene I have a 3D object, a camera and a viewport but I want a plane in my
scene which show the 3D object with a different camera. For example, I have
a cube and I can move it, and in the bottom left corner I have a plane with
the perspective view of the same cube.

How can I make this? Any suggestions or any clue? Is it possible to set a
viewport or camera as material?

Thanks!
Ross Sclafani
2011-01-20 05:16:59 UTC
Permalink
You can render a viewport to a sprite, then set that as a movie material

Ross P. Sclafani
Design / Technology / Creative
347.204.5714
http://ross.sclafani.net
http://www.twitter.com/rosssclafani
Post by IaRRoVaWo
Hi there!
I'm new in AS3 and Papervision and I feel lost trying to do what I want, maybe it's easy but I'm lost...
How can I set a camera as plane's material?
I'll try to explain: I'm working with Papervision and FLARToolKit and in my scene I have a 3D object, a camera and a viewport but I want a plane in my scene which show the 3D object with a different camera. For example, I have a cube and I can move it, and in the bottom left corner I have a plane with the perspective view of the same cube.
How can I make this? Any suggestions or any clue? Is it possible to set a viewport or camera as material?
Thanks!
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
Andy Zupko
2011-01-20 14:18:20 UTC
Permalink
There is also the BitmapViewportMaterial which does that automagically.
Post by Ross Sclafani
You can render a viewport to a sprite, then set that as a movie material
Ross P. Sclafani
Design / Technology / Creative
347.204.5714
http://ross.sclafani.net
http://www.twitter.com/rosssclafani
Post by IaRRoVaWo
Hi there!
I'm new in AS3 and Papervision and I feel lost trying to do what I want, maybe it's easy but I'm lost...
How can I set a camera as plane's material?
I'll try to explain: I'm working with Papervision and FLARToolKit and in my scene I have a 3D object, a camera and a viewport but I want a plane in my scene which show the 3D object with a different camera. For example, I have a cube and I can move it, and in the bottom left corner I have a plane with the perspective view of the same cube.
How can I make this? Any suggestions or any clue? Is it possible to set a viewport or camera as material?
Thanks!
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
_______________________________________________
Papervision3D mailing list
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
Loading...