|
![](/i/fill.gif) |
In article <38A36986.1A5FCD1A@fci.net>, Pov### [at] aol com wrote:
> My first suggestion deals with the Soft_Blur feature. Could someone put
> a
> third value, "tolerance" to the syntax? This would be helpful if the
> artist wants only the bright parts to glow. (Like the lights on the
> surface of a spaceship :) 1 would be only the brightest parts and 0
> would be all the picture.
That sounds like a good idea to me...
> The second request is to add a trace2 feature. This would only return
> the normal and position if the ray collides with a declared object *and
> doesn't collide with any declared other objects*.
> I mean like this.
>
> trace2(object,testobject,start,vector,normal)
>
> Where "object" is the object you're shooting at, and "testobject" is the
>
> object you want to test. This method would only test the "testobject"
> BEFORE the ray hits the "object".
Why not just use a macro for this? Trace against both objects, and use
the relative distances of the intersection points from the start point
to decide which was hit first.
--
Chris Huff
e-mail: chr### [at] yahoo com
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
![](/i/fill.gif) |