POV-Ray : Newsgroups : povray.general : One more time: tessellation? : Re: One more time: tessellation? Server Time
29 Jul 2024 12:17:14 EDT (-0400)
  Re: One more time: tessellation?  
From: gregjohn
Date: 11 Dec 2012 14:05:00
Message: <web.50c7838bc315881c47b8a80e0@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
>
>    The idea is that you have that reaaally nice and complex CSG,
> isosurface, or any other non-mesh object, and you want to use it into
> the physics simulation. Currently you are out of luck if it can't be
> approximated with simple collision shapes, but even the most basic and
> ugly tessellation will do a pretty god job in obtaining something that
> will act as the "real thing" on the simulation...
>
>    OMG, I'm already drooling!
>
>

Am I missing something, or can't you already use the eval_pigment, then test it
against a volumetric grid of any precision you desire.



#macro eval_pigment(pigm, vec)
    #local fn = function { pigment { pigm } }
    #local result = (fn(vec.x, vec.y, vec.z));
    result
#end


Post a reply to this message

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