POV-Ray : Newsgroups : povray.advanced-users : Automised visualization of a 'hasn't to be square' room : Re: Automised visualization of a 'hasn't to be square' room Server Time
29 Jul 2024 20:28:28 EDT (-0400)
  Re: Automised visualization of a 'hasn't to be square' room  
From: Remco Poelstra
Date: 26 Dec 2000 08:36:57
Message: <3A49F084.1020604@home.nl>
Pete wrote:

> Call me dense
> 
> (ok, you're dense - ed)
> 
> but why not use a box for the room object?  If placing the
> camera inside the box, add the inverse keyword to the box.
> It will render faster than six planes.
> 
> consider this macro, which is passed the offsets of the walls
> and a texture:
> 
> #macro do_room(left_offset, right_offset, floor_offset, ceiling_offset,
> near_offset, far_offset, room_texture)
>   box {
>     <left_offset, floor_offset, near_offset>,
>     <right_offset, ceiling_offset, far_offset>
>     texture { room_texture }
>   }
> #end
> 

I have considered to just use a normal povray box, but I can't place 
walls rotated in that case.

Thanks for the idea anyway,

Remco Poelstra


Post a reply to this message

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