POV-Ray : Newsgroups : povray.general : no_image behaviour : Re: no_image behaviour Server Time
5 May 2024 13:19:49 EDT (-0400)
  Re: no_image behaviour  
From: jr
Date: 21 Jun 2018 04:50:00
Message: <web.5b2b65ca6d52b562635cc5ad0@news.povray.org>
hi,

William F Pokorny <ano### [at] anonymousorg> wrote:
> The latest 'Pre_release' has been good to me.
> https://github.com/POV-Ray/povray/releases/tag/v3.8.0-alpha.9606898

thanks.  after installing I tried your code, and yes, you were correct, the
scene demonstrates the exact effect I'm after.

so I printed out the code for closer examination.  it must have taken me 20 mins
or so before I saw where the colours are coming from (the trailing commas in
user_defined{} did that  :-)), and perhaps as long again to understand why the
enclosing sphere doesn't display in white.

I thought I now have a handle on this - until I changed the green component of
the user_defined from multiply to add.  :-)  and now I have more questions..

so, I do not understand why the multiplication and addition differ.  I get the
changed colours, but not why the part of the hidden sphere which does not
intersect the reveal box only shows when added or why it doesn't when
multiplied.

another question regards the actual density of box and hidden sphere.  their
densities decrease away from the centres because functions are used, I presume.
how would one get an uniformly dense box and/or sphere?  is a DF3 needed?

and, last question, is there a particular reason that the media colour is rgb
while all other colours are sRGB?

thank you again for the code (and your time), I feel I'm learning.


regards, jr.


Post a reply to this message

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