To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.trainsOpen lugnet.trains in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Trains / 21120
21119  |  21121
Subject: 
Re: Rolling Stock
Newsgroups: 
lugnet.trains
Date: 
Fri, 19 Sep 2003 15:36:44 GMT
Viewed: 
1302 times
  
Thanks, guys!

In lugnet.trains, Stefan Garcia wrote:

   How did you get the background in this (and similar) pic?:

http://www.brickshelf.com/cgi-bin/gallery.cgi?i=490364

This is the snippet of code I used to add the picture in the background:

object {
  plane {
    z,0
    pigment {
      image_map {
        jpeg "img_2608.jpg"
        map_type 0
        interpolate 2
        once
        }
      }
    translate <-0.5,-0.5,0>
    scale 4000
    }
  rotate 180*z
  rotate -20*y
  translate <0,0,1000>
  }

You move the picture around the scene using the rotate and translate functions in the outer object. The scale function changes the size of the picture. The POV-Ray docs should explain the use of all the other keywords.

BTW, that’s a portion of a picture of Lake Tahoe I took in the background (flipped left for right)... :-)

Mark



Message has 1 Reply:
  Re: Rolling Stock
 
(...) That's gorgeous. Very cool. later, James Mathis (21 years ago, 19-Sep-03, to lugnet.trains, FTX)

Message is in Reply To:
  Re: Rolling Stock
 
Awesome stuff! How did you get the background in this (and similar) pic?: (URL) cool, the way the image refracts in the glass. -Stefan- (21 years ago, 18-Sep-03, to lugnet.trains, FTX)

9 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