POV-Ray : Newsgroups : povray.newusers : Re: How to transform box<0 , 1> to box<p1 , p2>? : Re: How to transform box<0 , 1> to box<p1 , p2>? Server Time
30 Jul 2024 06:25:03 EDT (-0400)
  Re: How to transform box<0 , 1> to box<p1 , p2>?  
From: D  H  Berlin
Date: 22 Aug 2004 08:50:00
Message: <web.41289585baeff42344ab2cfe0@news.povray.org>
I have chosen another way to solve this:

#macro dabox(bd,yrot,p1)
// bd: <width,height,deepnes>;    yrot: -> orientation;     p1: box-corner
bottom left
 box{0, 1 texture {boxhm}
     scale bd
     rotate y*yrot
     translate p1
 }
#end

Greetings
Dieter


Post a reply to this message

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