POV-Ray : Newsgroups : povray.binaries.images : why the difference??? : why the difference??? Server Time
19 Aug 2024 20:17:44 EDT (-0400)
  why the difference???  
From: Oded
Date: 20 Oct 2000 20:00:05
Message: <39f0dc85@news.povray.org>
between the following two pov-codes' results.
I have no idea, hope someone can tell me why two identical objects look
different
one is a simple CSG, the other an isosurface
attached are the results...


///////////Code A start/////////////
#version unofficial MegaPov 0.6
isosurface {
        function {
                if(1 - x,0,1)+
                if(1 - y,0,1)+
                if(1 - z,0,1)+
                if(x + 1,0,1)+
                if(y + 1,0,1)+
                if(z + 1,0,1)
        }
        threshold 0.5
        contained_by { box {<-10,-10,-10>,<10,10,10>}}
        pigment {rgb 1}
}
light_source {<10,14,24> rgb 1}
camera {
        location 3
        look_at 0
        }

//////////code B start//////////////

intersection {
        plane {<1,0,0> , 1}
        plane {<0,1,0> , 1}
        plane {<0,0,1> , 1}
        plane {-<1,0,0> , 1}
        plane {-<0,1,0> , 1}
        plane {-<0,0,1> , 1}
        pigment {rgb 1}
}
light_source {<10,14,24> rgb 1}
camera {
        location 3
        look_at 0
        }

////////END//////////////////


Post a reply to this message


Attachments:
Download 'CornerIsoFree.jpg' (4 KB) Download 'CornerIso.jpg' (4 KB)

Preview of image 'CornerIsoFree.jpg'
CornerIsoFree.jpg

Preview of image 'CornerIso.jpg'
CornerIso.jpg


 

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