POV-Ray : Newsgroups : povray.binaries.images : Capriccio - stairs (73+135k) : Re: Capriccio - stairs (73+135k) Server Time
13 Aug 2024 11:25:28 EDT (-0400)
  Re: Capriccio - stairs (73+135k)  
From: Ib Rasmussen
Date: 18 May 2003 10:41:18
Message: <3EC79C1E.8080504@ibras.dk>
Peter Hertel wrote:

> I'd like to use PNG if it's okay, and the filename can be something like
> "cathedral_relief.png" all lowercase. Or use anything you like, it
> wouldn't matter to me.


PNG is fine. It doesn't really matter, as long as we agree.


> What resolution and aspect ratio are you going to use? Are you going to
> use CSG to cut out a triangle of the height_field?


Yes, I'm cutting the hf. Here is the code:


#declare FcdPedimentTympanum=difference {
    object {
       height_field {png "cathedral_relief.png" smooth }
       scale <700, 20, 171>
       rotate <-90, 0, 0>
       translate <-350, 0, 0>
    }
    plane {-y, 0 rotate <0, 0,  26> translate <-350, 0, 0> }
    plane {-y, 0 rotate <0, 0, -26> translate < 350, 0, 0> }
    plane {-z, 0 translate <0, 0, 1000> }
}

For some reason, I don't quite understand, my dummy hf projected out 
very far behind the facade, that's why I cut with the -z-plane.

/Ib


Post a reply to this message

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