How to render only a rectangle area of animation, intead of all the animation area
by Helder Carvalho de Sousa · in Torque X 2D · 03/20/2010 (12:51 pm) · 1 replies
Dear Friends,
I need to render a body running animation, but just a rectangle area of the animation (like a Mask in photoshop and others). I have a cellphone material in my game, and on the screen of the cellphone I need to render only the head of the body, for example, or make a camera effect showing different parts of animation while the time pass. I know in XNA its possible on Draw method, that allows rect area render.
Any ideas ?
I need to render a body running animation, but just a rectangle area of the animation (like a Mask in photoshop and others). I have a cellphone material in my game, and on the screen of the cellphone I need to render only the head of the body, for example, or make a camera effect showing different parts of animation while the time pass. I know in XNA its possible on Draw method, that allows rect area render.
Any ideas ?
Torque 3D Owner Henry Shilling
Smokin Skull