I am not doing something right...  So if I understood well, I don't
even have to make a mesh in order to color it?
Ah... I realized that my angle of rotation is some set of some crazy
numbers... I have to scale somehow this array to the level of 0-1/2.
Maybe that is next question then, since i am not too good with
arithmetic.

Is it possible to make a function (without Vb) which will find
corresponding values that i have, lets say array of numbers from 3.xxx
to 7.xxx in irregular steps, on the scale from 0 to 1/2 ?

And can I bake this shader? or is there a way to get it colored in
render.

Thanks a lot

JaHko


On Dec 17, 12:31 am, visose <[email protected]> wrote:
> You should be able to recreate it by just adding those 3 components,
> there are no hidden settings you need to toggle. In the gradient
> component I placed as the lower limit '0', and as upper limit PI/2 (90
> degrees in radians), assuming the maximum rotation of the rectangles
> is 90 degrees. As for the 'parameter along gradient range', it's
> exactly the same number as the rotation amount of your rotation
> component (assuming you did it using a rotation component). In the
> opengl shader component, Kd is simply the color of the material, don't
> worry about the rest of the inputs.
>
> On Dec 16, 3:41 pm, JaH <[email protected]> wrote:
>
> > Hey,
> > Thanks for the answer... I have the latest version i will try it first
> > thing in the morning...
> > I will try to recreate the example you did but I am not sure that I'll
> > be able to do it. I just don't understand the principle that shader
> > works and what kind of parameters i need to have thing you got...
>
> > I was trying to recreate some other examples and i sucseeded in
> > getting series of color information but somehow all the panels were
> > getting the same colour...
>
> > Thanks a lot!
> > Janko
>
> > ps. is there a chance to get definition file?

Reply via email to