|
![](/i/fill.gif) |
> I really wish there was a built in way to define, or at least convert,
> boxes into the same format as cylinders though, i.e.:
>
> altbox {<endpoint1>,<endpoint2>,base_width}
>
You can use Reorient_Trans() from transforms.inc and VDist() from
math.inc to align the box and a vector average (p1+p2)/2 to position it.
Not that tough.
--
You know you've been raytracing too long when...
you ever saw a beautiful scenerey and regretted not to take your 6"
reflective ball and a digital camera, thinking "this would have been a
perfect light probe"
-Johnny D
Post a reply to this message
|
![](/i/fill.gif) |