POV-Ray : Newsgroups : povray.unofficial.patches : Two simple patchs for 3.5 ( adapted from 3.1 ) : Re: Two simple patchs for 3.5 ( adapted from 3.1 ) Server Time
3 Jul 2024 04:48:41 EDT (-0400)
  Re: Two simple patchs for 3.5 ( adapted from 3.1 )  
From: Le Forgeron
Date: 13 Jan 2003 04:08:12
Message: <3E228253.4050808@free.fr>
Le Forgeron wrote:

> Warp wrote:
> 
>> Dejan D. M. Milosavljevic <pov### [at] ddmrmcom> wrote:
>>
>>> Sphere and plane acceleration.
>>> Nothig special. Just warming for real one.
>>> URL: http://www.ddmrm.com/graph/pov/pov_index.html
>>>
>>
>>   It would be nice if there was a description of what you have done and
>> some measurements (good measurements, not something like 3s to 2s 
>> "speedup").
>>
>>
> 
> Looking at the zip file for 3.5 sphere (and the #ifdef in particular), 
> he removed the length's adjustement of the depth for ellipsoid (removing 
> two divisions), as well as the transformation also for ellipsoid from 
> the object space to the world space (removing 2 Matrice.Vector products)
> 
> I have a feeling that either something else is missing or that the 
> #ifdef part is bogus and asking for trouble with CSG.
> 

Also, looking at the zip for plane, he removes all transformations 
matrix by adjusting instead the plane normal and origin instead (which 
make sense for an infinite plane with only rotate/scale/translate).
I'm nevertheless wondering if this could have a side effect on 
non-uniform texture. May be the plane patch is ok.
(Unless there is a way for a plane to first get a transformation, in 
which case the removed code was not dead enough).


Post a reply to this message

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