POV-Ray : Newsgroups : povray.binaries.images : Why is there a gap between my df3 media boxes? : Why is there a gap between my df3 media boxes? Server Time
1 Aug 2024 18:29:17 EDT (-0400)
  Why is there a gap between my df3 media boxes?  
From: Martin Magnusson
Date: 25 Apr 2008 04:01:14
Message: <48118fca@news.povray.org>
I'm plotting a continuous function in 3D with df3 files and media, using
a number of boxes with media. However, at the transition between
media-filles boxes, there are small gaps. Can someone explain why?

Attached is a rendition of two of the boxes. The df3 files have 10x10x10
entries. Below is the upper plane of the lower box in text format:

     0    0    0    0    0    0    0    0    0    0
     0    0    0    0    0    0    0    0    0    0
     0    0    0    0    0    0    0    0    0    0
     0    0    0    0    0    0    0    0    0    0
     0    0    0    0    0    0    0    0    0    0
     4    1    0    0    0    0    0    0    0    0
    95   70   39   16    5    1    0    0    0    0
   139  227  255  224  130   58   25    9    2    0
    11   35   80  135  177  198  210  170  108   55
     0    0    1    3    9   26   67  131  196  222

And the lower plane of the upper box is:

     0    0    0    0    0    0    0    0    0    0
     0    0    0    0    0    0    0    0    0    0
     0    0    0    0    0    0    0    0    0    0
     0    0    0    0    0    0    0    0    0    0
     0    0    0    0    0    0    0    0    0    0
     4    1    0    0    0    0    0    0    0    0
    94   71   40   16    5    1    0    0    0    0
   142  233  255  232  134   60   24    8    2    0
     9   32   75  129  172  196  207  166  102   50
     0    0    0    2    8   23   63  128  192  216

As far as I can see, there should be a smooth transition between the two
boxes. Can someone explain where the gap that shows in the image comes
from? I have also attached a scene file that renders this image.


Post a reply to this message


Attachments:
Download 'df3_test.png' (13 KB) Download 'df3_test.pov.txt' (2 KB)

Preview of image 'df3_test.png'
df3_test.png

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