POV-Ray : Newsgroups : povray.binaries.images : The Colony Ship : Re: The Colony Ship Server Time
28 Jun 2024 22:02:05 EDT (-0400)
  Re: The Colony Ship  
From: Kenneth
Date: 15 Feb 2016 10:10:00
Message: <web.56c1e8face53235433c457550@news.povray.org>
Sven Littkowski <jam### [at] yahoocom> wrote:

>
> Can you show me the scene source code? My own version really looks way
> different. Thanks once more.
>

(I actually used assumed_gamma 2.0 for my tests, in v3.62, but you should use
1.0 for yours, in v3.7. The color will look somewhat different.)

-----------
#include "shapes.inc"

camera {
  perspective
  location  <-.7, .4, -2.8>
  look_at   <190, -100,  1000>
  right     x*image_width/image_height
  angle 36
}

light_source {
  0*x
  color rgb 1.3
  translate <-120, 100, 600>
}

light_source {
  0*x
  color rgb 1
  translate <25, 40, -200>
}

background{rgb .3}

#declare Fn_1 = function
{
 pigment
 {
  image_map {
   jpeg "colony ship i - heightfield landscape 1000px.jpg" once interpolate 2 }
 }
}

#declare TheLandscape = object
{
 HF_Cylinder(function { Fn_1(x,y*1.7,z).red },
                                             1,
                                             0,
                             <int(100*pi),100>,
                                             1,
                                            "",
                                       <0,0,0>,
                                     <0,1.7,0>,
                                           0.5,
                                            0.1
            )
}


 object {TheLandscape
 texture{pigment {rgb 3*< 0.05, 0.25, 0.0 > }finish{ambient .3 diffuse .7}}
 rotate 80*x
}


Post a reply to this message

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