vertex shaders

Jun 15, 2008 at 1:31am

vertex shaders

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.

#38414
Jun 15, 2008 at 2:14am

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

#133957
Jun 15, 2008 at 3:18am

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

#133958
Jun 15, 2008 at 6:05am

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

#133959

You must be logged in to reply to this topic.