possible to render to a 3d surface?

Apr 3, 2008 at 1:30 AM
that'd be cool... then i could put that theatre in my game i always wanted... or have a tv man for a main character... that way if you get bored, you can always watch what's on his tv screen.

0 0
\ /
9 9
/ \
-- --

but seriously, rendering videos to a polygonal surface would be useful, thanks.
May 1, 2008 at 11:26 AM
Rendering to a 3D object (i.e. a set of polygons, or XNA Model) is supported. That is why I do not impletement a Draw() method in the player itself, to give the player flexibility. You can use the OutputFrame Texture2D anywhere, including to render on 3D models.

For a TV, you could either draw the TV model, then draw 2 polys where the screen is with the OutputFrame texture, or, separate the TV model into 2 meshes, applying the texture only to the screen mesh part.