POV-Ray : Newsgroups : povray.general : Null or empty object / mesh : Re: Null or empty object / mesh Server Time
1 May 2024 10:07:36 EDT (-0400)
  Re: Null or empty object / mesh  
From: Mr
Date: 19 Aug 2016 04:30:00
Message: <web.57b6c35f2494daf716086ed00@news.povray.org>
Alain <kua### [at] videotronca> wrote:

> > Hi guys, is there no null object in Povray?
> > Something as close as possible to object{}  that could be used in a scene, and
> > applied a matrix to with no apparent result?
> >
> > I need to keep some point transformations, without anything actually being
> > rendered in the scene.
> >
> > I tried #declare DATAEmpty =mesh {triangle{<0, 0, 0>,<0, 0, 0>,<0, 0, 0>}}
> > but it does not work
> >
> >
>
> That's not a null object but a degenerate triangle.
>
> You may try a zero radius sphere:
> sphere{Center, 0}
>
> An invisible object:
> sphere{Center, Radius pigment{rgbt 1} no_image no_shadow no_reflection
> no_radiosity photons{pass_through collect off} hollow }
>
> You can also use vector operations as previously suggested.
>
> Also as previously suggested, you can #declare your transformation.

Thanks, I made it a 0 radius sphere with all suggested attributes


Post a reply to this message

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