POV-Ray : Newsgroups : povray.advanced-users : Need a script to randomly scatter objects vertically : Re: Need a script to randomly scatter objects vertically Server Time
25 Jul 2021 09:17:09 EDT (-0400)
  Re: Need a script to randomly scatter objects vertically  
From: Thomas de Groot
Date: 21 Apr 2021 02:22:58
Message: <607fc4c2@news.povray.org>
Op 20/04/2021 om 19:14 schreef Mike Horvath:
> The code is missing the `IsObjectVisible` macro too. Do you have that in 
> your records somewhere? Thanks.
> 

Aaah... Sorry, over time those things become more complex and added to. 
What is missing is Gilles Tran's Visibility Test indeed (attached).

Very useful when you do not want to drop objects /outside/ of the camera 
view.

I also attached a little test scene to show how it works and how you 
calibrate it for your scene.

-- 
Thomas


Post a reply to this message


Attachments:
Download 'gt_visibilitytest.mcr.txt' (2 KB) Download 'visibilitytest.pov.txt' (5 KB)

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