POV-Ray : Newsgroups : povray.binaries.images : First attempt at CGPrimitives : Re: First attempt at CGPrimitives Server Time
1 Aug 2024 12:26:30 EDT (-0400)
  Re: First attempt at CGPrimitives  
From: LightBeam
Date: 29 Jul 2008 12:20:35
Message: <488f4353$1@news.povray.org>

> I am. Please post the wall/floor code (except the pigment)

The camera :

camera {location <0.0, 1.5, -4.0> look_at y*1.1
  right x*image_width/image_height
}

The "wall"

// To be improved... ?!
// Large size for far reflections (for my example)
union {
  difference {
   box {<-1000.0, -1.0, -10000.0><1000.0, 5.0, 10.0>}
   cylinder {<-100.1, 5.0, 5.0><1000.1, 5.0, 5.0>5.0}
   box {<-1000.1, 0.0, -10000.1><1000.1, 10.1, 5.0>}
  }
  box {<-1000.0, 5.0, 10.0><1000.0, 15.0, 10.1>}
  // pigment, finish... etc.
}

Additional rule :
- Squared image size (mine was 777*777)


Post a reply to this message

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