To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 7161
7160  |  7162
Subject: 
RE: mesh object transition for animation in Pov-Ray question
Newsgroups: 
lugnet.cad
Date: 
Tue, 22 Jan 2002 14:07:22 GMT
Reply-To: 
<bram@po.[antispam]cwru.edu>
Viewed: 
390 times
  
Chris Daniel writes:
// MLCAD BTG hourhand4rpd
object {
_3649_dot_dat
matrix <0,1,0,-1,0,0,0,0,1,0,-59,-20>
#if (version >= 3.1) material #else texture
#end { Color25 }
rotate <0, 0, clock*30>
}

Try this instead:
// MLCAD BTG hourhand4rpd
object {
_3649_dot_dat
rotate <0, 0, clock*30>
matrix <0,1,0,-1,0,0,0,0,1,0,-59,-20>
#if (version >= 3.1) material #else texture #end {
Color25 }
}

BTW, this is equivalent to putting matrix<1,0,0,0,1,0,0,0,1,0,0,0>
Before the rotate.
--Bram


Bram Lambrecht
bram@cwru.edu
www.bldesign.org



Message is in Reply To:
  mesh object transition for animation in Pov-Ray question
 
I'm trying to animate the geartrain for my lego clock. This code is out of the pov-ray help file #include "colors.inc" camera { location <0, 3, -6> look_at <0, 0, 0> } light_source { <20, 20, -20> color White } plane { y, 0 pigment { checker color (...) (22 years ago, 22-Jan-02, to lugnet.cad)

5 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR