POV-Ray : Newsgroups : moray.win : Disorder in local coordinates Server Time
3 May 2024 09:16:33 EDT (-0400)
  Disorder in local coordinates (Message 1 to 1 of 1)  
From: Michal Cerny
Subject: Disorder in local coordinates
Date: 28 Apr 2004 06:44:42
Message: <408f8b1a$1@news.povray.org>
Hi,
I'm begining Moray user. I'm using it mainly to assign materials to 
objects modeled in CAD programs and imported by MeshObj plugin.
So, I met this problem:

I wanted to use translation and rotatin of local coordinate to transform 
material properties. (for example to rotate wood material along a beam) 
It have gone well till a tried aplicate it on mesh object.
Exploing .pov export I got at that the ability transforming material 
properties occured possibly by the way. I think, that it's subject to 
developers to append transformation keys to object's material 
charcteristic export.

I'm not sure, that you understand my english, so I attach example of 
possible solution:

mesh {   // TMesh002
     smooth_triangle {
       <-1.00000, 1.00000, 1.00000>, <0.00000, 0.00000, 1.00000>,
       <-1.00000, -1.00000, 1.00000>, <0.00000, 0.00000, 1.00000>,
       <1.00000, -1.00000, 1.00000>, <0.00000, 0.00000, 1.00000>    }

   material { Material1

// Here, I sketch append scale, translate and rotate keywords


}
   scale <2.0, 1.0, 1.0>
   translate  <-2.838995, -2.858166, -0.0>
   translate  <4.020293, 6.61403, 0.0>
}


Michal Cerny
Prague


Post a reply to this message

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