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:22:27 EDT (-0400)
  Re: Automised visualization of a 'hasn't to be square' room  
From: Pete
Date: 25 Dec 2000 20:45:19
Message: <533.394T1801T12314566PeterC@nym.alias.net>
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


Pete


Post a reply to this message

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