POV-Ray : Newsgroups : povray.general : an extraordinary rotation question : Re: an extraordinary rotation question Server Time
30 Jul 2024 14:21:29 EDT (-0400)
  Re: an extraordinary rotation question  
From: mysdn
Date: 26 Jun 2009 04:05:00
Message: <web.4a4480b9cfb6d60e4e47a1b0@news.povray.org>
"Chris B" <nom### [at] nomailcom> wrote:
> It's you. You do it!  Honest :-)

Chris, I always use the box_POV_geom.inc, it's a primitive box shape sized
100X100X100 cm in 3d max and exported to PoseRay for use in POV.
it has following headers, which lines below I need to pay attention to rotate
correctly.
I know Tim Attwood explained the math necessary, but I guess I need my nose
rubbed in it. Thank you.
-----------------------------------
//Materials
#include "box_POV_mat.inc"

//Geometry
#declare box_unnamed_material_=mesh2{
vertex_vectors{
26,
<-49.999,-49.999,0.001>,
<-49.999,50.001,0.001>,
<50.001,50.001,0.001>,
<50.001,-49.999,0.001>,
<-49.999,-49.999,100.001>,
<50.001,-49.999,100.001>,
<50.001,50.001,100.001>,
<-49.999,50.001,100.001>,
<-49.999,-49.999,0.001>,
<50.001,-49.999,0.001>,
<50.001,-49.999,100.001>,
<50.001,-49.999,100.001>,
<-49.999,-49.999,100.001>,
<-49.999,-49.999,0.001>,
<50.001,50.001,0.001>,
<50.001,-49.999,100.001>,
<50.001,50.001,0.001>,
<-49.999,50.001,0.001>,
<-49.999,50.001,100.001>,
<-49.999,50.001,100.001>,
<50.001,50.001,100.001>,
<50.001,50.001,0.001>,
<-49.999,50.001,0.001>,
<-49.999,-49.999,100.001>,
<-49.999,-49.999,100.001>,
<-49.999,50.001,0.001>
}
normal_vectors{
30,
<0,0,-1>,
<0,0,-1>,
<0,0,-1>,
<0,0,-1>,
<0,0,1>,
<0,0,1>,
<0,0,1>,
<0,0,1>,
<0,-1,0>,
<0,-1,0>,
<0,-1,0>,
<0,-1,0>,
<0,-1,0>,
<0,-1,0>,
<1,0,0>,
<1,0,0>,
<1,0,0>,
<1,0,0>,
<0,1,0>,
<0,1,0>,
<0,1,0>,
<0,1,0>,
<0,1,0>,
<0,1,0>,
<-1,0,0>,
<-1,0,0>,
<-1,0,0>,
<-1,0,0>,
<-1,0,0>,
<-1,0,0>
}
uv_vectors{
26,
<1,0>,


Post a reply to this message

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