POV-Ray : Newsgroups : povray.unofficial.patches : 2 suggestions for Megapatch 0.5 : Re: 2 suggestions for Megapatch 0.5 Server Time
2 Sep 2024 10:17:41 EDT (-0400)
  Re: 2 suggestions for Megapatch 0.5  
From: Chris Huff
Date: 10 Feb 2000 21:06:24
Message: <chrishuff_99-B18EAD.21072610022000@news.povray.org>
In article <38A36986.1A5FCD1A@fci.net>, Pov### [at] aolcom 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] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.