Sebastian Saa a écrit :
Hi Cyrille gemhead -1 works perfect but i got a question , which is the equivalent of gemhead -1 in pure opengl? i would like to apply the same trick in other programs i made with opengl and other programming languages . thanks.

i think you can use glCleanMatrix, (maybe not the exact syntax) to clear the 
curent transform.
it should wrok the same.

Cyrille



S.

------------------------------------------------------------------------
*De:* cyrille henry <[email protected]>
*Para:* Sebastian Saa <[email protected]>
*CC:* [email protected]
*Enviado:* viernes, 1 de mayo, 2009 12:03:32
*Asunto:* Re: [PD] space background in Gem



Sebastian Saa a écrit :
> Hello, i need to make a solar system in Gem , Do anybody have an idea of how can i make the space background in Gem? > ive tried using a quad primitive and apply a space texture and put it as background, the problem is then i move the camera position it doenst look realistic. I need that the texture always appears at the same position even if i move the camera position . Any idea?

render your square with a negative gemhead.
[gemhead -1] will be rendered after all other gemhead, but it will also be rendered in the same place, whatever the camera position.

Cyrille

 >
 >
 > thanks
 >
 > S.
 >
 >
 >
 > ------------------------------------------------------------------------
 >
 > _______________________________________________
 > [email protected] <mailto:[email protected]> mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to