Hello there,
I got 2+ questions and a comment:
1) can someone tell me if there is a way to texture an object with a gradient, am I missing an external or function in GEM. Of course, I could use a picture but I like the procedural way ;-)
2) When I set the gemhead to less than 0 it ignores the view changes... Cool (I like that feature) but..... I'd love to exclude the lighting also. Do you see any way to do that on a chosen gemhead (ie -1)?
Now to my experience with pix_write. As hinted (thanx to the list) I tryed to grab single pictures, then combining it to a movie. But the framerate is unacceptable (sound is eaven worse). I think my machine is fast enouth but then again, you never know. Could there be a way to export the gemwin to the firewire port (I'd love that) or can I export the whole gemwin through Network (ie netsend) to a client patch on another computer?
Thanx for helping out,
Enkidu
Enkidu @ www.Einheit7.de/Personal/Enkidu Mr.&Mrs.T's Music @ www.Einheit7.de/Mr-T
I.A.T.W.I.A.T.I.A.
hello,
Enkidu (Xt#) a écrit :
Hello there,
I got 2+ questions and a comment:
- can someone tell me if there is a way to texture an object with a
gradient, am I missing an external or function in GEM. Of course, I could use a picture but I like the procedural way ;-)
you can use the primTri that provide a simple triangle primitive, with different color for each point.
you can also try making your own primitive with openGL wrapper. like in the attachement.
cyrille
- When I set the gemhead to less than 0 it ignores the view changes...
Cool (I like that feature) but..... I'd love to exclude the lighting also. Do you see any way to do that on a chosen gemhead (ie -1)?
Now to my experience with pix_write. As hinted (thanx to the list) I tryed to grab single pictures, then combining it to a movie. But the framerate is unacceptable (sound is eaven worse). I think my machine is fast enouth but then again, you never know. Could there be a way to export the gemwin to the firewire port (I'd love that) or can I export the whole gemwin through Network (ie netsend) to a client patch on another computer?
Thanx for helping out,
Enkidu
Enkidu @ www.Einheit7.de/Personal/Enkidu http://www.Einheit7.de/Personal/Enkidu Mr.&Mrs.T's Music @ www.Einheit7.de/Mr-T http://www.Einheit7.de/Mr-T
I.A.T.W.I.A.T.I.A.
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
#N canvas 548 116 424 234 10; #N canvas 0 0 536 696 quad 0; #X obj 24 626 GEMglEnd; #X obj 161 57 GLdefine GL_SMOOTH; #X obj 161 35 loadbang; #X obj 161 77 loadbang; #X obj 25 123 GEMglBegin; #X obj 25 81 GEMglShadeModel; #X msg 228 33 bang; #X obj 24 239 GEMglVertex3f -1.5 1 0; #X obj 161 99 GLdefine GL_QUAD_STRIP; #X obj 234 81 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 24 265 GEMglVertex3f -1.5 -1 0; #X obj 24 542 GEMglVertex3f 1.5 1 0; #X obj 24 566 GEMglVertex3f 1.5 -1 0; #X obj 24 361 GEMglVertex3f -0.5 1 0; #X obj 24 386 GEMglVertex3fv -0.5 -1 0; #X obj 24 412 GEMglVertex3f 0.5 1 0; #X obj 24 438 GEMglVertex3fv 0.5 -1 0; #X obj 25 58 alpha; #X obj 24 218 GEMglColor4f 1 1 1 0; #X obj 24 316 GEMglColor4f 1 1 1 1; #X obj 25 37 inlet; #X obj 306 34 inlet; #X obj 24 173 GEMglNormal3f 0 0 -1; #X obj 24 494 GEMglColor4f 1 1 0 0; #X connect 1 0 5 1; #X connect 2 0 1 0; #X connect 3 0 8 0; #X connect 4 0 22 0; #X connect 5 0 4 0; #X connect 6 0 1 0; #X connect 7 0 10 0; #X connect 8 0 4 1; #X connect 9 0 8 0; #X connect 10 0 19 0; #X connect 11 0 12 0; #X connect 12 0 0 0; #X connect 13 0 14 0; #X connect 14 0 15 0; #X connect 15 0 16 0; #X connect 16 0 23 0; #X connect 17 0 5 0; #X connect 18 0 7 0; #X connect 19 0 13 0; #X connect 20 0 17 0; #X connect 21 0 19 4; #X connect 22 0 18 0; #X connect 23 0 11 0; #X restore 23 148 pd quad; #X obj 23 82 gemhead; #X msg 67 126 $1 $1 $1; #X floatatom 67 107 5 0 0 0 - - -; #X obj 22 49 gemwin; #X msg 22 23 create , 1; #X obj 179 83 gemhead 22; #X obj 179 103 translateXYZ 0 0 -0.1; #X obj 179 123 color 1 0 0; #X obj 179 143 square 3; #X obj 179 62 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X connect 1 0 0 0; #X connect 2 0 0 1; #X connect 3 0 2 0; #X connect 5 0 4 0; #X connect 6 0 7 0; #X connect 7 0 8 0; #X connect 8 0 9 0; #X connect 10 0 6 0;
Hi,
- can someone tell me if there is a way to texture
an object with a gradient, am I missing an external or function in GEM. Of course, I could use a picture but I like the procedural way ;-)
I don't have a working GEM right here, but I remember vaguely that there was a colorSquare object that gives you a square with nice colour gradients.
- When I set the gemhead to less than 0 it ignores
the view changes... Cool (I like that feature)
this feature is mentioned in the gemhead help patch :-)
but..... I'd love to exclude the lighting also. Do you see any way to do that on a chosen gemhead (ie -1)?
I don't think that this is possible - lighting works globally.
Now to my experience with pix_write. As hinted (thanx to the list) I tryed to grab single pictures, then combining it to a movie. But the framerate is unacceptable (sound is eaven worse). I think my machine is fast enouth but then again, you never know. Could there be a way to export the gemwin to the firewire port (I'd love that) or can I export the whole gemwin through Network (ie netsend) to a client patch on another computer?
pix_write worked fine for me, both with win and linux (p4, 2.6ghz, geforce 5700). maybe you should try to let it write uncompressed tiff images, which is much faster than jpegs (or was it the other way round? again sorry, i cannot test this at the moment ...) james tittle made an object that exports the contents of the gem win as a movie file. this is using quicktime and is only in the cvs at the moment, i'm about to try to comppile this for win. another option would be to grab the gemwin with a dv camera hooked up to the s-video output of your gfx card. just tell gem to render to the appropriate screen, and you should be set. you could even hook up this dv cam to a firewire port and capture the output directly with whatever tool you're using for this ... this involves unneccesary conversion from digital to analogue and back again, but it works. regarding the export of render chains to a different computer: johannes pointed out that this is possible, but i have no experience in this respect.
hope this helps, thoralf.
___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
ooops ...
james tittle made an object that exports the
that should read chris clepper. sorry.
___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
Enkidu (Xt#) wrote:
Now to my experience with pix_write. As hinted (thanx to the list) I tryed to grab single pictures, then combining it to a movie. But the framerate is unacceptable (sound is eaven worse). I think my machine is fast enouth but then again, you never know. Could there be a way to
one of the main problems is most likely with harddisk-access: writing uncompressed TIFFs at a higher resolution is a pain.
export the gemwin to the firewire port (I'd love that) or can I export the whole gemwin through Network (ie netsend) to a client patch on another computer?
both is not possible (yet ;-)) my main plans (at least for windows & linux) are to implement something like a frameserver (w32) or a virtual video4linux-device (linux).
so external applications could hook to this. what would be the option for osX i wonder ?
mfg.adr. IOhannes
--- IOhannes m zmoelnig zmoelnig@iem.at wrote:
Enkidu (Xt#) wrote:
Now to my experience with pix_write. As hinted
(thanx to the list) I
tryed to grab single pictures, then combining it
to a movie. But the
framerate is unacceptable (sound is eaven worse).
I think my machine is
fast enouth but then again, you never know. Could
there be a way to one of the main problems is most likely with harddisk-access: writing uncompressed TIFFs at a higher resolution is a pain.
export the gemwin to the firewire port (I'd love
that) or can I export
the whole gemwin through Network (ie netsend) to a
client patch on
another computer?
both is not possible (yet ;-)) my main plans (at least for windows & linux) are to implement something like a frameserver (w32) or a virtual video4linux-device (linux).
so external applications could hook to this. what would be the option for osX i wonder ?
mfg.adr. IOhannes
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com