POV-Ray : Newsgroups : povray.binaries.animations : Re: Flowing Water take 4 (985KB) : Re: Flowing Water take 4 (985KB) Server Time
20 Jul 2024 13:14:48 EDT (-0400)
  Re: Flowing Water take 4 (985KB)  
From: Geoff Wedig
Date: 27 Jun 2001 07:30:36
Message: <3b39c3dc@news.povray.org>
Christoph Hormann <chr### [at] gmxde> wrote:



> Geoff Wedig wrote:
>> 
>> Sorry for jumping in here.  I've looked for this 'simple test' before, but
>> haven't found it.  Is there a function 'inside' available?  I can see using
>> the object pigment to do it (in Megapov) and writing a macro, but is there
>> another way?  Searching the docs (both pov and MP), I'm not finding anything
>> on insideness tests.

> No, i think you would have to use the object pattern.  In povray source
> code, there is the Inside_Object() function, maybe it would be useful to
> have this available in SDL too so you don't need the pattern, but i doubt
> this would lead to much gain in speed.

After much angst, I've gone the route of fastest implementation: I'm writing
a patch to do what I need.  So I can use the Inside_Object() function
directly.  Thanks.

Geoff


Post a reply to this message

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