POV-Ray : Newsgroups : povray.unofficial.patches : Question about applying a user defined function into density functions : Re: Question about applying a user defined function into density functions Server Time
28 Apr 2024 16:23:59 EDT (-0400)
  Re: Question about applying a user defined function into density functions  
From: Antonio Ferrari
Date: 9 Oct 2007 09:10:01
Message: <web.470b7cbef0b2498d4e64f15d0@news.povray.org>
"Antonio Ferrari" <nomail@nomail> wrote:
> > Now my question: could such a function be used in density functions? For
> > example could I write a density function like A+B*mdistance(x, y, z)^C,
> > with A, B, C real values ????
>
> I auto-correct myself... the function I'de like is
>
> A+B*mdistance(Obj, <x, y, z>, 1000)^C

No responses arrive unfortunately :(

Anyway I think that such a formula will not work!

Since my idea is to use mdistance as density function, I suppose that I have
to implement it into media.cpp code and not into express.cpp.


Post a reply to this message

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