To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publishOpen lugnet.publish in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / 1147
1146  |  1148
Subject: 
Re: New desktop wallpaper!
Newsgroups: 
lugnet.publish, lugnet.cad.ray
Date: 
Fri, 12 Nov 1999 01:43:09 GMT
Viewed: 
610 times
  
In lugnet.publish, Bram Lambrecht writes:
Would you mind sharing the POV-code for the table + lighting? I would
like to use that as a background picture for BlockCAD models.

Since the server for my site seems to be down, I'll just post the file here.
Enjoy!
--Bram

// If you have Anton Raves' material.lib file, you can
// delete the #declare Color[n] statements in your .pov
// file output from L3P and uncomment the following lines:
/*
#declare setting = 3;          // Choose 1-3
#include "material.lib"
#declare Color0 = material { texture { black_tex } }
#declare Color1 = material { texture { blue2_tex } }
#declare Color2 = material { texture { green_tex } }
#declare Color4 = material { texture { red_tex } }
#declare Color6 = material { texture { brown_tex } }
#declare Color7 = material { texture { grey_tex } }
#declare Color8 = material { texture { grey2_tex } }
#declare Color14 = material { texture { yellow_tex } }
#declare Color15 = material { texture { white_tex } }
#declare Color33 = material { texture { t_blue_tex } }
#declare Color34 = material { texture { t_green_tex } }
#declare Color36 = material { texture { t_red_tex } }
#declare Color42 = material { texture { t_yellowgreen_tex } }
#declare Color44 = material { texture { t_orange_tex } }
#declare Color46 = material { texture { t_yellow_tex } }
#declare Color47 = material { texture { t_white_tex } }
#declare Color382 = material { texture { tan_tex } }
#declare Color462 = material { texture { orange_tex } }
#declare Color383 = material { texture { chrome_tex } }
#declare Color503 = material { texture { chrome_tex } }
*/


// Model:
object { /* place model here */
         scale 0.7
       }


// Floor:
#include "colors.inc"
#include "woods.inc"
object {   plane { y, 24 hollow scale .7 }
   texture {
              T_Wood34
              scale 16
      finish {
         ambient 0.4
         diffuse 0.4
         reflection 0.15
      }
   }
   translate x * 30
   rotate y * 10
       }


// Background:
background { color rgb <0,0,0>}


// Camera
camera {
#declare PCT = 0; // Percentage further away
#declare STEREO = 0; // Normal view
//#declare STEREO =  degrees(atan2(1,12))/2; // Left view
//#declare STEREO = -degrees(atan2(1,12))/2; // Right view
location vaxis_rotate(<138.235,-88.5872,-112.135> +
PCT/100.0*<93.9602,-93.0435,-93.9602>,
                      <-8742.38,-17657,8742.38>,STEREO)
sky      -y
right    -4/3*x
look_at  <44.275,4.4563,-18.1747>
angle    50
rotate   <0,1e-5,0> // Prevent gap between adjecent quads
}


// Lights:
light_source {
    <0, -200, 0>
    color White
    spotlight
    radius 15
    falloff 20
    tightness 5
    point_at <8, 0, 8>
} light_source {
    <43.9,-116.044,-127.514>
    color 0.3 * White
    shadowless
    spotlight
    radius 15
    falloff 20
    tightness 5
    point_at <8, 0, 8>
} light_source {
    <165.562,-82.4482,57.4317>
    color 0.3 * White
    shadowless
    spotlight
    radius 15
    falloff 20
    tightness 5
    point_at <8, 0, 8>
} light_source {
    <-26.3417,-141.823,27.7441>
    color 0.3 * White
    shadowless
    spotlight
    radius 15
    falloff 20
    tightness 5
    point_at <8, 0, 8>
}

//EOF



Message has 1 Reply:
  Re: New desktop wallpaper!
 
Bram Lambrecht skrev i meddelandet ... (...) Thanks! -- Anders Isaksson, Sweden BlockCAD: (2 URLs) (25 years ago, 12-Nov-99, to lugnet.publish, lugnet.cad.ray)

Message is in Reply To:
  Re: New desktop wallpaper!
 
(...) Will do. Of course, the lighting won't light a very large area with the current settings, so you might have to adjust the scale of the model and maybe the wood texture. --Bram Bram Lambrecht / o o \ BramL@juno.com (...) (25 years ago, 11-Nov-99, to lugnet.publish, lugnet.cad.ray)

12 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