TSpyrison
09-25-2003, 04:05 PM
Howdy..
I think I have a cool idea for a script.. But im not sure if ive got the brains to figure it out.
I have never looked at l-script before, except to add it into lightwave . So im probally already over my head, but here is the idea..
Take a disco ball, for example. If you just parent a light to the ball, with some projection maps.. the light will travel out at the same angle.
What I want to do, is write a script, that will figure out the angle of reflection for each “mirror” in the ball, and rotate the luxigon lights according to that angle. (possibly even multiple lights per mirror.. as a lot of time there might be more than one light aimed at the discoball). Anyway.. I guess what I need to to first, is learn how to program lscript. Then, figure out how to calculate the angles of a null or light in relation to polygon normals, then use that to control the direction of the lights..
This is one of those things for me to do, for the hell of it, and to learn how to do it
So.. am I nuts?
I think I have a cool idea for a script.. But im not sure if ive got the brains to figure it out.
I have never looked at l-script before, except to add it into lightwave . So im probally already over my head, but here is the idea..
Take a disco ball, for example. If you just parent a light to the ball, with some projection maps.. the light will travel out at the same angle.
What I want to do, is write a script, that will figure out the angle of reflection for each “mirror” in the ball, and rotate the luxigon lights according to that angle. (possibly even multiple lights per mirror.. as a lot of time there might be more than one light aimed at the discoball). Anyway.. I guess what I need to to first, is learn how to program lscript. Then, figure out how to calculate the angles of a null or light in relation to polygon normals, then use that to control the direction of the lights..
This is one of those things for me to do, for the hell of it, and to learn how to do it
So.. am I nuts?