POV-Ray : Newsgroups : povray.general : slightly-squared torus? : Re: slightly-squared torus? Server Time
3 Aug 2024 12:16:07 EDT (-0400)
  Re: slightly-squared torus?  
From: Rafal 'Raf256' Maj
Date: 24 Apr 2004 19:44:07
Message: <Xns94D6118BF831Fraf256com@203.29.75.35>
bui### [at] NOSPAMyahoocom news:4089ff02@news.povray.org

> Found it, something about max_trace... sorry I jumped too quickly to
> asking the newsgroup this time but hopefully someone else having that
> problem will read this note and know its max_trace too :)

isosurface {
  function { FUNCTION_ITEMS }
[...]
  [max_trace INTEGER] | [all_intersections]
}


max_trace Isosurfaces can be used in CSG shapes since they are solid finite 
objects - if not finite by themselves, they are through the cross section 
with the container. 
By default POV-Ray searches only for the first surface which the ray 
intersects. But when using an isosurface in CSG operations, the other 
surfaces must also be found. Therefore, the keyword max_trace must be added 
to the isosurface statement. It must be followed by an integer value. To 
check for all surfaces, use the keyword all_intersections instead. 
With all_intersections POV-Ray keeps looking until all surfaces are found. 
With a max_trace it only checks until that number is reached.


-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

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