POV-Ray : Newsgroups : povray.advanced-users : speed details : Re: speed details Server Time
29 Jul 2024 18:28:55 EDT (-0400)
  Re: speed details  
From: John VanSickle
Date: 16 Mar 2001 02:34:12
Message: <3AB1C1F3.3482C2E9@hotmail.com>
Tekno Frannansa wrote:
> 
> > Do some testing :) It should be a little bit faster because the caps
> > are ray-shape-intersection-tested separately (if the cylinder is not
> > open).
> 
> But surely in the end of the cylinder is limited by a plane, which has
> to be checked in either case (as the cylinder isn't infinitely long)?
> And if you can't see the ends then it shouldn't do any more processing
> beyond that.
> 
> Still, it can't hurt to try :)

The plane clipping test is different from a ray-plane intersection test.

Due to the automatic bounding of objects, there will probably be little
gain; if the bound check shows a miss, the whole cylinder is skipped,
and therefore the ends aren't checked anyway.

Regards,
John


Post a reply to this message

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