POV-Ray : Newsgroups : povray.general : POV-City : Re: POV-City Server Time
7 Aug 2024 09:20:38 EDT (-0400)
  Re: POV-City  
From: Andrea Ryan
Date: 4 Dec 2001 21:11:24
Message: <3C0D81AD.2A66048F@global2000.net>
s1631001 wrote:
> 
> POV-City II will require your structures as an #include file (which can
> have sub-includes if you wish) whose final output is
> #declare STRUCT_XLEN = [float]
> #declare STRUCT_ZLEN = [float]
> #declare STRUCT_ELEV = [float]
> #declare STRUCT_OBJ = [object]
> This should be an object filling the box{ <-1,-.5,-1>, < 1, 1, 1> }.
> Note that ground level is y=0, so you should insert a ForestGreen box to
> fill in your basement space if you're not using it. You can of course
> build your structure at whatever scale/orientation/handedness you like,
> then normalize it to this box. The main POV-City II engine will scale
> this box using
> object{
>   STRUCT_OBJ
>   scale < STRUCT_XLEN, STRUCT_ELEV, STRUCT_ZLEN>
>   translate ...  //#  defined by engine, so don't worry about this.
> }
> to bring it back up to size; you should use (1 POV= 1 metre) when
> specifying your scale values.

Ok, I'll make the  museum with whatever dimensions in whatever unit and
scale it down to fit in the box and provide these declares so it
would be scaled back up correctly in meters.  I'll use meters, so the
#declared scale values are reciprocals of the values I'll use to scale
the museum down into the box.
Should there be any internal structure?  Maybe there could be a file for
the external part of the buildings and another one for the inside
with some #declares to turn various parts on and off so POV won't need
to trace the parts that can't be seen by the camera.
Brendan


Post a reply to this message

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