POV-Ray : Newsgroups : povray.newusers : Local Co-ordinates : Re: Local Co-ordinates Server Time
4 Nov 2024 23:18:59 EST (-0500)
  Re: Local Co-ordinates  
From: Warp
Date: 19 Sep 2002 20:08:48
Message: <3d8a66e1@news.povray.org>
insomniac <lee### [at] hotmailcom> wrote:
> What i've got is a grouped object (a Table Lamp), it rotates around the
> world coordinates and I want it to rotate around the edge base of the lamp
> so I can animate it falling over.

translate -edge_base_of_the_lamp
rotate whatever
translate edge_base_of_the_lamp

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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