[PD] space background in Gem

cyrille henry cyrille.henry at la-kitchen.fr
Tue May 5 21:09:34 CEST 2009



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 <cyrille.henry at la-kitchen.fr>
> *Para:* Sebastian Saa <sebastian_nicolau at yahoo.es>
> *CC:* pd-list at iem.at
> *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.
>  >
>  >
>  >
>  > ------------------------------------------------------------------------
>  >
>  > _______________________________________________
>  > Pd-list at iem.at <mailto:Pd-list at iem.at> mailing list
>  > UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> 




More information about the Pd-list mailing list