vertex shaders

Tyler Nitsch's icon

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.

Wesley Smith's icon

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.
>
>
>

Tyler Nitsch's icon

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

Tyler Nitsch's icon

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