To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 672
671  |  673
Subject: 
Re: background picture in POVRAY renderings
Newsgroups: 
lugnet.cad.ray
Date: 
Fri, 29 Dec 2000 18:49:20 GMT
Viewed: 
618 times
  
Edit in the code to make a background in POV-Ray. They have examples in the
documentation for making clouds, fog, rainbows, and other stuff. You can
also read in image files, check out the syntax for image map.

Just paste in this code at the end of the POV file to get a sky:

sky_sphere {
    pigment {
      gradient y
      color_map {
        [0.000 0.002 color rgb <1.0, 1.0, 0.5>
                     color rgb <1.0, 1.0, 0.5>]
        [0.002 0.200 color rgb <1.0, 1.0, 0.5>
                     color rgb <0.5, 0.5, 1.0>]
      }
      scale 2
      translate -1
    }
    pigment {
      bozo
      turbulence 0.65
      octaves 6
      omega 0.7
      lambda 2
      color_map {
          [0.0 0.1 color rgb <0.85, 0.85, 0.85>
                   color rgb <0.75, 0.75, 0.75>]
          [0.1 0.5 color rgb <0.75, 0.75, 0.75>
                   color rgbt <1, 1, 1, 1>]
          [0.5 1.0 color rgbt <1, 1, 1, 1>
                   color rgbt <1, 1, 1, 1>]
      }
      scale <0.2, 0.5, 0.2>
    }
    rotate -135*x
  }



In lugnet.cad.ray, Michal Krbec writes:
I have seen many POV RAY renderings which had some background picture in
background and not only single colour as it is normal. But I don't see any
option in L3P to include some background picture so could anyone tell me how
to do this?



Message has 2 Replies:
  Re: background picture in POVRAY renderings
 
This is cool. Just tried it. If you have any more gems like this I would love to see them. Thanks Tom (...) (24 years ago, 29-Dec-00, to lugnet.cad.ray)
  Re: background picture in POVRAY renderings
 
Amnon Silverstein wrote... (...) Looks great. Can I put it into L3P, and provide an option -bs (Background Sky)? Of course with a comment: // Sky by Amnon Silverstein Are there any parameters, that should be adjustable? /Lars (24 years ago, 30-Dec-00, to lugnet.cad.ray)

Message is in Reply To:
  background picture in POVRAY renderings
 
I have seen many POV RAY renderings which had some background picture in background and not only single colour as it is normal. But I don't see any option in L3P to include some background picture so could anyone tell me how to do this? (24 years ago, 28-Dec-00, to lugnet.cad.ray)

5 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR