POV-Ray : Newsgroups : povray.general : Missing something basic: Including sky_spheres : Re: Missing something basic: Including sky_spheres Server Time
2 Aug 2024 04:23:52 EDT (-0400)
  Re: Missing something basic: Including sky_spheres  
From: Tom Melly
Date: 10 Jan 2005 05:25:01
Message: <41e257fd$2@news.povray.org>
"GrimDude" <a36### [at] bellsouthnet> wrote in message
news:41e184c2$1@news.povray.org...
>
> I am sorry to inform you that this is incorrect.
>

IIRC you can get away with simple object declarations w/o an object wrapper.
However, you won't be able to use the object in CSG w/o a wrapper and you
won't be able to apply a texture of other value to it.

So, if I did RC, then:

#declare Foo = sphere{0,1}

union{
    sphere{x*1,1}
    Foo
}

will fail

but
union{
    sphere{x*1,1}
    object{Foo}
}

will be okay.

And

Foo pigment{rgb 1}

is plainly wrong, but

object{Foo pigment{rgb 1}}

is fine.


Post a reply to this message

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