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?
thanks
S.
Make lots of tiny white cubes (they are faster to draw than spheres)
and have them randomly scattered around the space. You could also try
using lights for each star, but I think that's slower.
.hc
On May 1, 2009, at 7:48 AM, Sebastian Saa wrote:
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?thanks
S.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
http://at.or.at/hans/
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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Well... the primitives objects 3d are avalaible on pd, you can put any object... that includes .obj ... you must put some objects... with arduino that system solar can move with diiy hardware... visit the pure data help.. Gem... or framesteim... but i think the pd extended have gem include...If is very urgent i can help with de program.
Best regards from Chile
JL
2009/5/1 cyrille henry cyrille.henry@la-kitchen.fr
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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I am back, hehehe, well... clearly you need a light... you need diferents lights...Check in the gem help... You need objects like as translate,rotate... and obviusly lights...
And the background can be a pic... check the help gem and join
Greetings from Chile
JL
2009/5/1 cyrille henry cyrille.henry@la-kitchen.fr
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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
cyrille henry wrote: sition 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.
and play with [depth] to turn off depth tests whenever you need to...
fgm,asd IOhannes
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.
S.
De: cyrille henry cyrille.henry@la-kitchen.fr Para: Sebastian Saa sebastian_nicolau@yahoo.es CC: pd-list@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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@la-kitchen.fr *Para:* Sebastian Saa sebastian_nicolau@yahoo.es *CC:* pd-list@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@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
cyrille henry wrote:
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.
in plain openGL you would paint the background before applying any coordinate-transformations (which is what you are doing by setting the view-point)
fmasdr IOhannes