POV-Ray : Newsgroups : povray.newusers : Setting a scene inside a box : Re: Setting a scene inside a box Server Time
27 Jun 2024 17:28:33 EDT (-0400)
  Re: Setting a scene inside a box  
From: Le Forgeron
Date: 17 Feb 2012 12:50:17
Message: <4f3e9359$1@news.povray.org>
Le 16/02/2012 10:00, Dror Atariah nous fit lire :
> I would like to set a scene inside a box, such that its faces will consist of
> grid lines and will be transparent. That is, if the camera is INSIDE the box, it
> will see something which is outside and vice versa.

Drop the idea of painting a real box which does not exit.
Use cylinder{} objects for your lines around the virtual cube.

At worst, if you really want flat grid line, you can put the whole
collection of cylinder into a an union{} and apply a
difference/intersection{} of that union with a smaller and a bigger box
(one of them being inversed)

Have a look at #while/#for (if using povray 3.7RC3 or 4) to loop a bit.


Post a reply to this message

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