opengl rendered image projected over pictures

Aug 14, 2006 at 4:07pm

opengl rendered image projected over pictures

i need to know how to render a 3d image over a series of images. ive tried crossfading but that doesnt seem to work. i dont know much about jitter but any help would be appreciated. tell me if i need to explain more and ill gladly do so. thanks in advance.

#27153
Aug 14, 2006 at 5:24pm

use a jit.gl.gridshape plane, or a jit.gl.videoplane for the background.
Load your images into jit.gl.texture and use the texture on the plane.
Position your plane behind the other gl objects, and control the drawing
order by setting all objects to @automatic 0. Draw the plane first and then
your other objects. If you want to blend things with the background make
sure you have @blend_enable 1 set on all objects in front of the image.
If you need to dynamically change the images, you can create different
instances of jit.gl.texture for every image and switch the texture name to
the background plane.

hth, -thijs

On 8/14/06, harlan wrote:
>
>
> i need to know how to render a 3d image over a series of images. ive tried
> crossfading but that doesnt seem to work. i dont know much about jitter but
> any help would be appreciated. tell me if i need to explain more and ill
> gladly do so. thanks in advance.
>
>

#81927
Aug 14, 2006 at 5:40pm

Could you be more specific? Do you have a patch? by 3D image you you
mean 3D geometry or 3D geometry converted to an image?

wes

On 8/14/06, harlan wrote:
>
> i need to know how to render a 3d image over a series of images. ive tried crossfading but that doesnt seem to work. i dont know much about jitter but any help would be appreciated. tell me if i need to explain more and ill gladly do so. thanks in advance.
>

#81928
Aug 14, 2006 at 5:44pm

If you have Jitter 1.6, you can also use the new @layer attribute to
specify rendering order.

wes

On 8/14/06, Thijs Koerselman

wrote:
> use a jit.gl.gridshape plane, or a jit.gl.videoplane for the background.
> Load your images into jit.gl.texture and use the texture on the plane.
> Position your plane behind the other gl objects, and control the drawing
> order by setting all objects to @automatic 0. Draw the plane first and then
> your other objects. If you want to blend things with the background make
> sure you have @blend_enable 1 set on all objects in front of the image.
> If you need to dynamically change the images, you can create different
> instances of jit.gl.texture for every image and switch the texture name to
> the background plane.
>
> hth, -thijs
>
>
>
>
> On 8/14/06, harlan wrote:
> >
> > i need to know how to render a 3d image over a series of images. ive tried
> crossfading but that doesnt seem to work. i dont know much about jitter but
> any help would be appreciated. tell me if i need to explain more and ill
> gladly do so. thanks in advance.
> >
> >
>
>
>
>
>

#81929

You must be logged in to reply to this topic.