POV-Ray : Newsgroups : povray.general : Visible bounding boxes Server Time
3 Aug 2024 02:18:38 EDT (-0400)
  Visible bounding boxes (Message 1 to 3 of 3)  
From: Stuart M 
Subject: Visible bounding boxes
Date: 12 Jun 2004 23:23:21
Message: <40cbc8a9$1@news.povray.org>
Hi,

We use POV-Ray images to generate animations from a structural
impact modeling tool that we develop (Objexx-SISAME-3D).

I am having some trouble with cylinder and sphere bounding boxes
becoming visible when viewed through a semi-transparent box. The
problem appears when I have two copies of some of the shapes that
are closely overlapped but not coincident.  Increasing 
max_trace_level did not help.

An example of this can be seen in the file I posted to
povray.text.scene-files  (news:40ca3772@news.povray.org).  If you
look at the right rear wheel you can see the wheel and hub sphere
bounding boxes.

Any suggestions would be greatly appreciated!

--

Stuart
http://www.objexx.com


Post a reply to this message

From: Florian Brucker
Subject: Re: Visible bounding boxes
Date: 13 Jun 2004 11:16:15
Message: <40cc6fbf$1@news.povray.org>
> I am having some trouble with cylinder and sphere bounding boxes
> becoming visible when viewed through a semi-transparent box. The
> problem appears when I have two copies of some of the shapes that
> are closely overlapped but not coincident.  Increasing 
> max_trace_level did not help.
Didn't look at your code, but if you got intersecting (semi-) 
transparent objects, try to merge them using

merge {
	object { MyObject1 }
	object { MyObject2 }
}

this removes all inner surfaces. Be aware that it can increase render 
time, though.

HTH,
Florian


Post a reply to this message

From: Stuart M 
Subject: Re: Visible bounding boxes
Date: 14 Jun 2004 01:46:14
Message: <40cd3ba6$1@news.povray.org>
Thanks!  Using merge did improve things but it really hurts rendering
time, as you said.  A reliable and fast way to get rid of the problem 
is to scale the second copy by .999 and thus eliminate any coincident
surfaces -- I had missed that there were still some of these.

Stuart

"Florian Brucker" <tor### [at] torfboldcom> wrote in message
news:40cc6fbf$1@news.povray.org...
| > I am having some trouble with cylinder and sphere bounding boxes
| > becoming visible when viewed through a semi-transparent box. The
| > problem appears when I have two copies of some of the shapes that
| > are closely overlapped but not coincident.  Increasing 
| > max_trace_level did not help.
| Didn't look at your code, but if you got intersecting (semi-) 
| transparent objects, try to merge them using
| 
| merge {
| object { MyObject1 }
| object { MyObject2 }
| }
| 
| this removes all inner surfaces. Be aware that it can increase render 
| time, though.
| 
| HTH,
| Florian


Post a reply to this message

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