POV-Ray : Newsgroups : povray.binaries.images : Re: macro putto Server Time
19 Aug 2024 04:24:24 EDT (-0400)
  Re: macro putto (Message 1 to 1 of 1)  
From: Thorsten Froehlich
Subject: Re: macro putto
Date: 22 Jan 2001 07:32:02
Message: <3a6c2842$1@news.povray.org>
In article <3a6c1406@news.povray.org> , "m.o.p.s" <m.o.p.s.@wanadoo.fr> 
wrote in povray.general:

> I recently rewrite a macro to easily place an object maybe it can help you
> or inspire you
>
> The syntax is like :
>
> object { Yourobject transform
> putto(refA,refB,norm1,newA,newB,norm2,option) }
>
> refA and ref B  : two points used as starting position
> norm1 : if the object need to be oriented this vector is orthogonal to
> vector(ptB-ptA)
>
> newA , new B ,norm2  : final position
> option : scaling type ( 0 uniform scaling )
>
> example :
> "fleche" is an arrow build between the points -1*x, 1*x
> to place it between two points A and B write :
>
> object { fleche transform putto(-1*x,1*x,0,A,B,0,0) material { example }}
>
> "normal vector" are 0 because fleche don't need orientaion : it is an object
> of revolution
>
> I use this macro a lot to copy a same object between multiple position.
>
> I hope this could help
>
> Sorry for my english

I have removed the original post from povray.general and posted the images
here in povray.binaries.images together with the original post.  See notice
in poray.general.


   Thorsten


____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message


Attachments:
Download 'img0.jpg' (3 KB) Download 'img1.jpg' (3 KB) Download 'img2.jpg' (5 KB) Download 'macroputto.inc.txt' (7 KB) Download 'mops.inc.txt' (32 KB) Download 'putto_ex.pov.txt' (4 KB) Download 'us-ascii' (0 KB)

Preview of image 'img0.jpg'
img0.jpg

Preview of image 'img1.jpg'
img1.jpg

Preview of image 'img2.jpg'
img2.jpg

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