Particle Textured -Render in Image

aboiledtiger's picture

Hi: I have a problem trying to render in an image a textured particle scene. Everything works ok but when I try to render it in a RenderInImage patch the particles stop showing. (nothing at all) It only happens with the ParticleRender:Textured. Not with Standard that works fine. I already tryed changing image size and depth test settings with no succes. I'm using OSX10.5 on a mac book pro.

Thanks. DX™

aboiledtiger's picture
Re: Particle Textured -Render in Image

6/19/10 3:17:47 AM Quartz Composer[55164] *** CGLCreateContext() called from "_CreateGLContext" returned error 10009 ("invalid share context") 
6/19/10 3:17:47 AM Quartz Composer[55164] *** Message from <QCRenderInImage = 0x1A679850 "RenderInImage_1">:
Execution failed at time 23.333 
6/19/10 3:17:47 AM Quartz Composer[55164] *** Message from <QCPatch = 0x1A617C70 "(null)">:
Execution failed at time 23.333 
6/19/10 3:17:47 AM Quartz Composer[55164] *** CGLSetPBufferVolatileState() called from "-[QCImageTextureBuffer setPurgeable:]" returned error 10017 ("invalid CoreGraphics connection") 
6/19/10 3:17:47 AM Quartz Composer[55164] *** <RenderView: 0x1a63ee70>: Render failed at time 23.333196s [bash]

cybero's picture
Re: Particle Textured -Render in Image

I can render particles in a render in image but its slower and intermittent.

The actual texturing doesn't get conveyed, though the shapes do get reproduced, not even if I only RII the particle render patch.

I don't get the console, log messages you post here.

I suspect a mismatch Particle Tools version wise, not sure though.

I used the red wedge example and replace d the VBO with the textured particles patch.

RII particles - yes - but very slow with VBO and / or Textured.

RII textured by image input - no .

On 10.6.x in QC 32 bit.

Non RII Particles do texture up.

PreviewAttachmentSize
RIIParticleTextured.jpg
RIIParticleTextured.jpg56.1 KB
ParticleTexured.jpg
ParticleTexured.jpg61.15 KB

gtoledo3's picture
Re: Particle Textured -Render in Image

It's not a particle tools mismatch; it's a known limitation... this happened to some extent in Leopard as well (but I think the problems look slightly different in SL(?)).

Here are some workarounds:

-Use the structure:render patch from Particle Tools, and then use a GL Point Structure Renderer; texture the Points.

-Use the structure:render patch from Particle Tools, then connect output to the GL Structure Render Environment. Inside of that, place some small Sprites that are textured with the desired image.

aboiledtiger's picture
Re: Particle Textured -Render in Image

Great. Thank you very much. :)