POV-Ray : Newsgroups : povray.advanced-users : Determining if objects are inside and object? Server Time
25 Nov 2024 14:37:37 EST (-0500)
  Determining if objects are inside and object? (Message 1 to 2 of 2)  
From: Jkior
Subject: Determining if objects are inside and object?
Date: 27 Sep 2002 14:05:06
Message: <web.3d949cec5aa35ae9e3e847490@news.povray.org>
I have a wall of bricks (while-looped isosurfaces) and need some way of
determining if they are inside a larger isosurface - visualise a hole
blasted in a wall, if that helps. Also, I need to scatter objects around
the inside of the resulting hole. Does povray have this kind of
functionality? If so, where can I look to learn about it?

Thanks!

Jkior


Post a reply to this message

From: ABX
Subject: Re: Determining if objects are inside and object?
Date: 27 Sep 2002 14:26:43
Message: <i889puk856hg5nuufclrgqq833d5pc86us@4ax.com>
On Fri, 27 Sep 2002 14:01:16 EDT, "Jkior" <jki### [at] zworgcom> wrote:
> I have a wall of bricks (while-looped isosurfaces) and need some way of
> determining if they are inside a larger isosurface - visualise a hole
> blasted in a wall, if that helps. Also, I need to scatter objects around
> the inside of the resulting hole. Does povray have this kind of
> functionality? If so, where can I look to learn about it?

http://news.povray.org/povray.general/27616/

In case of isosurfaces you can write function to use functions of isosurfaces
and perform operations on it: sample for intersections, find best placing on
some conditions, find "deeper" place in isosurface. During 3.5 betatesting I
have started similiar macros but breaked this becouse of beta-time bugs. It is
still in my "TO DO".

Similiar questions comes to this server from time to time. Perhaps it is
candidate to FAQ ? (or it is there but I missed this entry)

ABX


Post a reply to this message

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