Re: [PD] transparency in models

2008-04-05 Thread Roman Haefeli
On Fri, 2008-04-04 at 22:42 -0400, marius schebella wrote: Hi, I want to apply colors (or textures) with alpha values to obj. models and then turn them around, but I am having problems if I rotate the objects. this actually causes problems with standard geos, too... I searched the archives

Re: [PD] transparency in models

2008-04-05 Thread niko
hi H, list in my experience the proper order of objects is gemhead I pix_image I alpha 1 I colorRGB I pix_texture I model you can then play with the last inlet of [colorRGB] to fade in/out geos/models. Correct me if im wrong - [alpha 1] should be before [pix_texture] in the chain to be

Re: [PD] transparency in models

2008-04-05 Thread cyrille henry
hello, for what i know, this is a openGL limitation, with no generic hardware solution. cyrille marius schebella a écrit : Hi, I want to apply colors (or textures) with alpha values to obj. models and then turn them around, but I am having problems if I rotate the objects. this actually

Re: [PD] transparency in models

2008-04-05 Thread Roman Haefeli
On Sat, 2008-04-05 at 12:47 +0200, niko wrote: www.njeremic.ecobytes.net/files/baum_pd_patch.zip hi again. i stumbled across a rendering of this one somewhere, can't recall where exactly. however, i just wanted to say, that i really enjoyed it. roman

Re: [PD] transparency in models

2008-04-05 Thread Roman Haefeli
On Sat, 2008-04-05 at 12:47 +0200, niko wrote: hi H, list in my experience the proper order of objects is as far as i understand marius, he doesn't have troubles with implementing transparency in general. the problem is rather, that if you have a cube for example and you apply a texture with

Re: [PD] transparency in models

2008-04-05 Thread niko
thanx i already posted it here before there is a videoof it http://www.njeremic.ecobytes.net/njeremic/videos/baum_net.mov greets. n. p.s. sorry for not understanding the original post question i also needed a long time to understand transparency in gem/openGL Roman Haefeli wrote: On Sat,

Re: [PD] transparency in models

2008-04-05 Thread marius schebella
but I have the impression that some program manage to solve that problem. I am not sure how, but if there is a solution, then it should also be possible to use it in gem. often I am not sure if people are talking about single objects or secenes. but afaik it has something to do with a z-buffer,

Re: [PD] transparency in models

2008-04-05 Thread Jack
Hello Roman, Marius, Niko and list ! Here a small patch for this problem. Sorry, i have not enough time for a patch with dynamic creation of geos. ++ Jack testorder1.pd Description: Binary data Le 5 avr. 08 à 13:06, Roman Haefeli a écrit : On Sat, 2008-04-05 at 12:47 +0200, niko wrote:

Re: [PD] transparency in models

2008-04-05 Thread Jack
In fact, it's not very good, because the position depends on the center of the geos. But it can be useful in certain case. ++ Jack Le 5 avr. 08 à 15:23, Jack a écrit : Hello Roman, Marius, Niko and list ! Here a small patch for this problem. Sorry, i have not enough time for a patch with

Re: [PD] transparency in models

2008-04-05 Thread marius schebella
hmm, something in your patch is crashing my pd, the transparency is also not working correct, in some situations the render order is still wrong (when circles are rotated and the scene as a whole) and I also get flicker when the render order changes. plus, this still does not help me with

Re: [PD] transparency in models

2008-04-05 Thread chris clepper
You want to sort by Z which requires special depth sorting code in the external. The model object uses a display list so you would have to stop using that and move to vertex arrays for decent performance. On Sat, Apr 5, 2008 at 7:21 AM, marius schebella [EMAIL PROTECTED] wrote: but I have the

[PD] transparency in models

2008-04-04 Thread marius schebella
Hi, I want to apply colors (or textures) with alpha values to obj. models and then turn them around, but I am having problems if I rotate the objects. this actually causes problems with standard geos, too... I searched the archives for that problem but I found no real answer. maybe because