POV-Ray : Newsgroups : povray.general : interior_texture -- #declare problem : Re: interior_texture -- #declare problem Server Time
21 Dec 2024 11:42:32 EST (-0500)
  Re: interior_texture -- #declare problem  
From: Bald Eagle
Date: 4 Dec 2024 16:05:00
Message: <web.6750c2e5bc9473354cc51b5c25979125@news.povray.org>
What you can do is declare it as a regular texture, and then invoke it using the
interior_texture keyword.

Think about it like object {}.
Once you already have a "thing" declared, you can USE that object {} in
something like a CSG - but I don't believe that you can do it all in one go.
(as in: object {sphere {0, 1}} )
[I don't have the parser handy to check]

So in the same way, you need to make a "thing" - your texture - and THEN you can
USE that texture in a construct to assign it as the interior_texture.

(and yes, I've tried declaring an interior_texture in exactly the way you're
trying to, and was initially irked until I grasped the paradigm.)

- BW


Post a reply to this message

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