POV-Ray : Newsgroups : povray.advanced-users : arrays Server Time
1 Nov 2024 11:14:26 EDT (-0400)
  arrays (Message 1 to 3 of 3)  
From: cinder
Subject: arrays
Date: 9 May 2002 01:40:12
Message: <3cda0bb9@news.povray.org>
ok im confused i am not sure about that question
i have seen many references to arrays to make sine like shapes out of 
solid objects in povray im wondering if what im thinking is right? and if so
how is that done? please someone answer my question
-- 
%segmentation fault


Post a reply to this message

From: Tim Nikias
Subject: Re: arrays
Date: 9 May 2002 05:26:55
Message: <3CDA40B8.BF3399A4@gmx.de>
I don't have a clue. Guessing from what you've written,
I could only say that perhaps you slice the object
into several parts and save those parts in an array, so
that other macros can easily access them and position them
correctly.
But thats just a guess. You're question isn't very specific.

cinder wrote:

> ok im confused i am not sure about that question
> i have seen many references to arrays to make sine like shapes out of
> solid objects in povray im wondering if what im thinking is right? and if so
> how is that done? please someone answer my question
>

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Warp
Subject: Re: arrays
Date: 9 May 2002 07:38:04
Message: <3cda5f9c@news.povray.org>
cinder <cin### [at] yahoocom> wrote:
> i have seen many references to arrays to make sine like shapes out of 
> solid objects in povray im wondering if what im thinking is right?

  I think that you are confusing them with splines.

  A spline is a function which you define with some control points. Then
you can get points in-between these control so that they form a smooth
curve which passes through the control points. You can use these points to,
for example, place objects along the spline.

-- 
#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.