POV-Ray : Newsgroups : povray.binaries.images : Get A Glimpse! : Re: Get A Glimpse! Server Time
26 Apr 2024 09:07:09 EDT (-0400)
  Re: Get A Glimpse!  
From: Sven Littkowski
Date: 27 Feb 2018 18:45:45
Message: <5a95eda9@news.povray.org>
#version 3.7;

#declare MyRadiosity = 4;


global_settings
{
 assumed_gamma 1.4
 #if(MyRadiosity>0)
  radiosity
  {
   pretrace_start 0.08
   pretrace_end   0.04/MyRadiosity
   count 60*MyRadiosity
   nearest_count min (20, MyRadiosity)
   error_bound 2/MyRadiosity
   low_error_factor 0.5
   recursion_limit 1
   gray_threshold 0
   minimum_reuse 0.015
   brightness 1
   adc_bailout 0.005
   normal on
   media on
   always_sample off
  }
 #end
 subsurface        {}
 adc_bailout       0.0039
 ambient_light     rgb < 0.000, 0.000, 0.000 >
 assumed_gamma     1.000
 irid_wavelength   rgb < 0.250, 0.180, 0.140 >
 max_trace_level   5
 number_of_waves   10
 noise_generator   3
 charset           ascii
}

#default
{
 finish { ambient 0.0 diffuse 1.0 }
}

//------------------------------------------------------------------------
#include "colors.inc"
#include "textures.inc"
#include "finish.inc"
#include "glass.inc"
#include "metals.inc"
#include "golds.inc"
#include "functions.inc"
#include "shapes.inc"
//------------------------------------------------------------------------
/*
light_source
{
 < -0000, 1000, -0000 >
 color rgb < 0.4156863,  0.6705882,  0.6901961 > *0.85
}

light_source
{
 <  0000, 1000, -1000 >
 color rgb < 0.4156863,  0.6705882,  0.6901961 > *0.55
}

light_source
{
 < 1000, 1000, 1000 >
 color rgb < 0.4156863,  0.6705882,  0.6901961 > *0.55
}

light_source
{
 < -1000, 1000, 1000 >
 color rgb < 0.4156863,  0.6705882,  0.6901961 > *0.55
}
*/
//------------------------------------------------------------------------

camera
{
 location  < 0.0 , 10.0 , -5.0 >
 look_at   < 0.0 , 0.0 , 0.0 >
}

// Element ---------------------------------------------------------------

#declare MyTextureCenter = texture { pigment { color rgb < 1.0000000,
1.0000000, 1.0000000 > } finish { Glossy } }
#declare MyTextureBrown  = texture
{
 pigment
 {
  bozo
  color_map
  {
   [ 0.00 color rgb < 0.3882353, 0.1882353, 0.05490196 > ]
   [ 0.10 color rgb < 0.3882353, 0.1882353, 0.05490196 > ]
//   [ 0.20 color rgb < 0.3882353, 0.1882353, 0.05490196 > ]
//   [ 0.25 color rgb < 0.0000000, 0.0000000, 0.0000000 > ]
//   [ 0.30 color rgb < 0.6196078, 0.4039216, 0.1882353 > ]
   [ 1.00 color rgb < 0.6196078, 0.4039216, 0.1882353 > ]
  }
  scale 0.025
 }
// normal { spotted 0.75 }
 normal { granite 0.15 }
 finish { Glossy }
}

#declare MyTextureBlack  = texture { pigment { color rgb < 0.0000000,
0.0000000, 0.0000000 > } normal { granite 0.55 } finish { Glossy } }
#declare MyTextureRing   = texture { pigment { color rgb < 1.0000000,
1.0000000, 1.0000000 > } normal { granite 0.55 } finish { Glossy } }


#declare MyRandomer   = seed(now*24*60*60);
#declare MyWay        = rand(MyRandomer)*2; // positive or negative
#declare MyY          = rand(MyRandomer)*1; // Vertical Movement
#declare MyAngle      = 0;
#declare Runde        = 0;
#declare MyAmount     = 60;
#declare Strength = 2.25; //(+ or -) strength of component's radiating
density
#declare Radius1  = 1.0; //(0 < Radius) outer sphere of influence on
other components

union
{
 blob
 {
  threshold 0.8 // threshold (0.0 < threshold <= Strength) surface
falloff threshold #
  #while (Runde<MyAmount)
   #declare MyWay        = rand(MyRandomer)*1; // positive or negative
   #declare MyY          = rand(MyRandomer)*1; // Vertical Movement
   #if(MyWay<0.5)
    #declare MyX=MyY*-1;
   #else
    #declare MyX=MyY*+1;
   #end
   cylinder { < 2.5, 0.0, 0.0 > < 5.0, MyY, 0.0 > 0.25, Strength scale <
1.0, 0.5, 4.0 > rotate < 0.0, MyAngle, 0.0 > }
   #declare MyAngle      = MyAngle+6;
   #declare Runde        = Runde+1;
  #end
  // sturm
 }
 difference
 {
  blob
  {
   threshold 0.6 // threshold (0.0 < threshold <= Strength) surface
falloff threshold #
   cylinder { < 0.0, -3.0, 0.0 > < 0.0, -2.5, 0.0 > 10.0, 1.0 scale <
1.0, 0.5, 1.0 > }
   sphere { < 0.0, 0.0, 0.0 > 3.0, 0.5 scale < 1.0, 5.5, 1.0 > translate
< 0.0, 2.0, 0.0 > }  //
  }
  cylinder { < 0.0, -5.0, 0.0 > < 0.0, -0.5, 0.0 > 5.0 }
 }
 texture
 {
  onion
  texture_map
  {
   [ 0.00 MyTextureCenter ] // Center
   [ 0.30 MyTextureCenter ]
   [ 0.35 MyTextureCenter ]
   [ 0.50 MyTextureBrown  ]
   [ 0.88 MyTextureBlack  ]
   [ 0.90 MyTextureBlack  ]
   [ 1.00 MyTextureRing   ] // Outside
  }
  scale < 5.2, 6.5 5.2 >
 }
 scale 0.95
}

/* */
sphere // HDR Light
{
 0, 1000
 pigment
 {
  image_map
  {
   hdr "C:\Users\Sven
Littkowski\Documents\POV-Ray\v3.7\scenes\r\kitchen_probe2.hdr"
   gamma 2.2
   map_type 1
   interpolate 2
  }
 }
 finish {emission rgb 0.05}
 no_image
}


background { color rgb < 0.4156863,  0.6705882,  0.6901961 > }


---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


Post a reply to this message


Attachments:
Download 'kitchen_probe2.hdr.dat' (602 KB)

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