POV-Ray : Newsgroups : povray.binaries.images : reduction to the essentials : Re: reduction to the essentials Server Time
20 Apr 2024 07:47:00 EDT (-0400)
  Re: reduction to the essentials  
From: Norbert Kern
Date: 9 Jul 2017 12:30:01
Message: <web.5962580468cc8a4f2926c5a90@news.povray.org>
Alain <kua### [at] videotronca> wrote:

> Very nice.
> I have a question : Why set those IORs? There is no transparency and no
> fresnel reflection, so, nothing were the ior can have any effect.
>
> Now, let render this with fresnel turned ON or with some transparency.
>
>
> Alain



Ha - very smart Alain,

you caught me...
Fresnel lets the iridescence disappear - and iridescence is the second
essential.
Here's another image of Christian Perle (with revised code, I hope).



// A variation of:

// Inside the blob
// 10/2005 Christian Perle
// http://chris.silmor.de/ray/pov2/inner_blob.html
// http://chris.silmor.de/ray/POVImgs2.html // for further images and sources

#version 3.7;

global_settings {
        assumed_gamma 2.2
        max_trace_level 7
}

camera {
        location <-0.24,0.2,-1>
        direction 1.6*z
        look_at <0,0,1>
        rotate <0,0,11>
        right x*image_width/image_height
}

light_source {<0,0,0> color rgb <0,0.25,0>}
light_source {<0.1,-0.1,0> color rgb <0.25,0,0>}
light_source {<-0.1,0.1,0> color rgb <0,0,0.25>}

blob {
        threshold 0.6
        component 1, 0.8, <0,0,0>
        component 1, 1, <1,0,0>
        component 1, 1, <-1,0,0>
        component 1, 1, <0,1,0>
        component 1, 1, <0,-1,0>
        component 1, 1, <0,0,1>
        component 1, 1, <0,0,-1>
        pigment {color rgb 0.05}
        finish {
                reflection 1
                phong 1
                phong_size 6
                irid {0.15 thickness 0.38}
        }
        rotate 100*x
}


Norbert


Post a reply to this message


Attachments:
Download 'inside the blob_nk.jpg' (775 KB)

Preview of image 'inside the blob_nk.jpg'
inside the blob_nk.jpg


 

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