Forums > Jitter

vertex shaders

June 15, 2008 | 1:31 am

Hello,

I’m trying to create some vertex shaders based on vector fields. in a glsl program how does one get the vertex values of an object in reference to the actual render space? This way when the object is moved with the position $f1 $f2 $f3 command these vertex values will change in correspondence.


June 15, 2008 | 2:14 am

Could you be more specific with what you mean by "render space"? Do
you mean model space, world space, eye space, screen space?

wes

On Sat, Jun 14, 2008 at 6:31 PM, Tyler Nitsch wrote:
>
> Hello,
>
> I’m trying to create some vertex shaders based on vector fields. in a glsl program how does one get the vertex values of an object in reference to the actual render space? This way when the object is moved with the position $f1 $f2 $f3 command these vertex values will change in correspondence.
>
>
>


June 15, 2008 | 3:18 am

by render space I mean the space that jit.gl.render object renders into.


June 15, 2008 | 6:05 am

never mind ftransform() was what I was looking for.


Viewing 4 posts - 1 through 4 (of 4 total)