POV-Ray : Newsgroups : povray.general : Null or empty object / mesh : Re: Null or empty object / mesh Server Time
1 May 2024 12:32:03 EDT (-0400)
  Re: Null or empty object / mesh  
From: Alain
Date: 12 Aug 2016 14:48:40
Message: <57ae1a08$1@news.povray.org>

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


Post a reply to this message

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