POV-Ray : Newsgroups : povray.advanced-users : Math question for CSG : Re: Math question for CSG Server Time
29 Jul 2024 18:27:39 EDT (-0400)
  Re: Math question for CSG  
From: Anton Sherwood
Date: 13 May 2001 11:24:11
Message: <3AFEA753.F128EAC3@pobox.com>
#define Thing = box { <-2.5,-h,-5/sqrt(12)>, <2.5,h,7/sqrt(12)> }
intersection {
	object { Thing }
	object { Thing rotate 120*y translate -y*epsilon }
	object { Thing rotate -120*y translate y*epsilon }
	}

The translation is to avoid the Coincident Surfaces Problem, though why
that should apply as it does to intersections I have no idea.

-- 
Anton Sherwood  --  br0### [at] p0b0xcom  --  http://ogre.nu/


Post a reply to this message

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