#Ipas
6 messages in this thread
Gary,
that is the basic idea, but (you knew there was one) the object may
have more than one color i.e. the front of the object is closer to the camera
than the back. This is all relational to the distance to the camera.
Kevin
Kevin,
Could you use lights to vary the color of the object based on its
position from the camera? Either set up a bunch of lights of an appropriate
color (they can be animated, and other objects excluded from their effect), or
projected animated textures, etc.
Kevin Krell – Computer Support Associates
In addition to Kevin's idea (a very practical cheat), if you were a programmer,
you could write a script in TSE that created an SXP that did exactly what you
wanted.
– G
>> you could write a script in TSE…
MartinD has already written routines that do this EXACTLY. The color of a ball
changes as it moves from a platform to another platform. Called SXPBALL.P3D
and SXPBALL.S3D, they ship with the Script Extensions.
– Dave
Another reason why TSE is so cool…
– G
Kevin,
RobertR and KevinK both have the answer, projector spot lights. You may
have to use multiple spot lights with the gradient bitmap to get the color
evenly around your object.
I had to produce a simular effect awhile back of a marble material man
running thru a tunnel of different color bars that _shined_ their color onto
him as he went by. Just used thin rectangular spots positioned at the
appropiate bars with the appropiate color.
Ralph