POV-Ray : Newsgroups : povray.pov4.discussion.general : Arrays Server Time
21 Nov 2024 14:18:36 EST (-0500)
  Arrays (Message 1 to 4 of 4)  
From: SharkD
Subject: Arrays
Date: 3 Dec 2008 14:05:02
Message: <web.4936d84a4906e0fcf91b32f80@news.povray.org>
I was wondering if maybe in the next version the restriction on having only one
type of object in an array could be lifted?

Thanks!

-Mike


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Arrays
Date: 3 Dec 2008 18:25:50
Message: <4937157e@news.povray.org>
SharkD wrote:
> I was wondering if maybe in the next version the restriction on having
> only one type of object in an array could be lifted?

Just in case you don't know... All "objects" (3D shapes) are treated equal.
You can't have an array with some floats and some spheres, but you can have
an array with some spheres, some boxes, and a plane.


Post a reply to this message

From: Reactor
Subject: Re: Arrays
Date: 3 Dec 2008 19:15:00
Message: <web.493720d66bebcd9e516334090@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> I was wondering if maybe in the next version the restriction on having only one
> type of object in an array could be lifted?
>
> Thanks!
>
> -Mike

I think, instead of permitting that, the introduction of a data-structure-like
language construct would be better from a scene organizational standpoint.  It
would be neat to have a sort of object (from a programing standpoint) that can
hold values, textures, primitives, functions, etc. in a self-contained block.


The next step would be having macros associated with that object, and being able
to tell that object's macro to do some task on the object's data, or maybe even
have a listener type object that could do some task when certain other
conditions are met...

Ok, maybe I am going to far here.  I'm just saying that it would be neat to have
a particle system in which the particles 'know' when they've hit other scene
objects and decide to bounce, or spawn particles themselves...



-Reactor


Post a reply to this message

From: Jaap Frank
Subject: Re: Arrays
Date: 4 Dec 2008 15:59:19
Message: <493844a7$1@news.povray.org>
"SharkD" <nomail@nomail> schreef in bericht 
news:web.4936d84a4906e0fcf91b32f80@news.povray.org...
>I was wondering if maybe in the next version the restriction on having only 
>one
> type of object in an array could be lifted?
>
> Thanks!
>
> -Mike
>

Maybe this is useful?

http://news.povray.org/povray.text.tutorials/thread/%3C3f13449b%241%40news.povray.org%3E/

Jaap Frank


Post a reply to this message

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