Ajax opened this issue on Apr 17, 2004 ยท 102 posts
Ajax posted Mon, 19 April 2004 at 4:51 PM
As far as I know, the P node is the only one that outputs x,y,z coord values and I'm pretty sure it works on global values, so I think that's a no. To rotate your gradient 45 deg to the right, just add 0.5U and 0.5V together with a math functions node set to add. It shouldn't be too hard to come up with a general forumula for rotating the gradient by an arbitrary amount. It'll be done with a rotation matrix made of trig functions of the angle of rotation. I can't remember how that works off the top of my head. I'll try and find time to work out how it goes later today.
View Ajax's Gallery - View
Ajax's Freestuff - View
Ajax's Store -
Send Ajax a message