POV-Ray : Newsgroups : povray.binaries.images : sweets : sweets Server Time
28 May 2022 12:02:09 EDT (-0400)
  sweets  
From: jr
Date: 9 Apr 2022 07:00:00
Message: <web.62516693b73d709d5834ab476cde94f1@news.povray.org>
hi,

see p.t.scene-files for corresponding thread.  the image was rendered from the
code below (which was in part "ripped" from Tsutomu Higo's original scene).


#version 3.8;

global_settings {assumed_gamma 1}

light_source {<2,10,-5> * 1e4 color rgb 1 parallel}
light_source {<-6,-3,-4> * 1e4 color rgb 1 parallel}

camera {
  location <0,0,-10000>
  angle 6
  look_at <0,0,0>
}

#include "higo_sweets.inc"

#declare A = array [6];
#for (i_,1,6)
  #declare A[(i_-1)] = HigoSweet(dictionary {.Sweet: i_});
#end

#declare J=0;
#while (J<3)
  #declare I=0;
  #while (I<2)
    union {
      A[(J+I*2+I)]
      rotate <350-50*I,120,20-30*I>
      translate <-360+340*J,-180+360*I,0>
      no_reflection
      no_shadow
    }
    #declare I=I+1;
  #end
  #declare J=J+1;
#end

background {color rgbt <0,0,.2,1>}


regards, jr.


Post a reply to this message


Attachments:
Download 'ths.png' (352 KB)

Preview of image 'ths.png'
ths.png


 

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