POV-Ray : Newsgroups : povray.newusers : How to transform box<0 , 1> to box<p1 , p2>? Server Time
4 Nov 2024 23:19:55 EST (-0500)
  How to transform box<0 , 1> to box<p1 , p2>? (Message 1 to 1 of 1)  
From: D  H  Berlin
Subject: How to transform box<0 , 1> to box<p1 , p2>?
Date: 22 Aug 2004 05:55:00
Message: <web.41286d09cc5cab6a44ab2cfe0@news.povray.org>
Hi!

The original box < 0 , 1 > is already textured.
Basically it's the question how to rotate and scale the box so that the
second point ( = <1,1,1>) comes to point p2-p1.
Then just an easy "translate p1" on the resulting box would finish it.

But how to do the first step?

Dieter


Post a reply to this message

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