XML Feeds

.

[jitter] Re: Re: Re: Re: [sharing is fun] projective texture isosurfer

Wesley Smith wesley.hoke at gmail.com
Fri Jun 1 10:28:26 MDT 2007


Well, if it's coming out black then there is something to do with Cg
and the shader that's not working on your machine.  Can you verify if
the mat.phong.cg.jxs shader works for you?  If so, go into the
projective texture shader and comment out the entire fragment shader
and add a line that just assigns a color like red to every pixel.  If
this works, keep uncommenting more code until it fails.  This will
tell myou what is going on.

wes


On 6/1/07, Mattijs Kneppers <mattijs at smadsteck.nl> wrote:
>
> I added this to your patch:
>
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P comment 432 204 115 196617 black (handle is visible);
> #P message 344 184 40 196617 shader;
> #P message 344 204 86 196617 shader projector;
> #P newex 301 224 177 196617 t draw getposition getrotate getscale;
> #P newex 301 204 41 196617 r draw;
> #P newex 301 245 189 196617 jit.gl.gridshape project @texture movie;
> #P comment 386 183 36 196617 works;
> #P connect 2 0 3 0;
> #P connect 5 0 1 0;
> #P connect 4 0 1 0;
> #P connect 3 0 1 0;
> #P connect 3 1 1 0;
> #P connect 3 2 1 0;
> #P connect 3 3 1 0;
> #P window clipboard copycount 7;
>
> It seems the shader doesn't work on a simple gridshape either (also without the movie texture). The handle is visible though, but the sphere is seems rendered entirely black. I wanted to make a screenshot of this but osx can't seem to make a screenshot of the entire screen (without the necessity of using the mouse).
>
> Mattijs
>
> Quote: wesley.hoke at gmail.com wrote on Fri, 01 June 2007 18:00
> ----------------------------------------------------
> > ok, can you apply the shader to a simple thing like a gridshape?
> >
> > wes
> >
> > On 6/1/07, Mattijs Kneppers <mattijs at smadsteck.nl> wrote:
> > >
> > > Yeah, without the shader I see a cool isosurface that I can handle with handle.
> > >
> > > Mattijs
> > >
> > > Quote: wesley.hoke at gmail.com wrote on Fri, 01 June 2007 10:43
>
> --
> SmadSteck - http://www.smadsteck.nl
> Hard- and software for interactive audiovisual sampling
> _______________________________________________
> jitter mailing list
> jitter at cycling74.com
> http://www.cycling74.com/mailman/listinfo/jitter
>


More information about the jitter mailing list