CompuServe Thread

#Ipas

6 messages in this thread
#180717From: KEVIN CHRISTOPHERJul 18, 1995 2:35 PM
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
#180773From: CSA/CAJul 18, 1995 8:04 PM
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
#180806From: Yost GroupJul 18, 1995 9:46 PM
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
#181410From: David J. MarksJul 21, 1995 4:35 PM
>> 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
#181469From: Yost GroupJul 21, 1995 11:36 PM
Another reason why TSE is so cool… – G
#180886From: Ralph F. FrantzJul 19, 1995 10:42 AM
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