POV-Ray : Newsgroups : povray.general : Null or empty object / mesh : Re: Null or empty object / mesh Server Time
15 May 2024 16:11:30 EDT (-0400)
  Re: Null or empty object / mesh  
From: eudoxos
Date: 11 Apr 2017 07:05:00
Message: <web.58ecb7db2494daf7658db7180@news.povray.org>
> > Thanks, I made it a 0 radius sphere with all suggested attributes
>
> Is there another use for a null than to keep track of a location after
> some transformations and/or linking other objects to that location? And
> isn't that something that can much easier be done in POV-Ray by
> declaring and vtransforming a vector?
>
> I'm just curious why you would need a null/empty object in POV-Ray.

I have a use case just now. A series of scenes (animations of particle
simulation) where particles have pseudo-random texture, but are always declared
sequentially, thus the pseudo-random texture will be the same. As a particle
might disappear during the simulation, creating hole in the sequence, I need to
call the texture procedure (using null object) so that the state of the
pseudo-random generator is advanced and subsequent particles get the same
pseudo-random texture parameters as in preceding steps.


Post a reply to this message

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