POV-Ray : Newsgroups : povray.general : Some more image to POV stuff in exchange for a good name : Re: Some more image to POV stuff in exchange for a good name Server Time
2 Jan 2025 09:52:11 EST (-0500)
  Re: Some more image to POV stuff in exchange for a good name  
From: Bald Eagle
Date: 23 Dec 2024 12:45:00
Message: <web.6769a120b095aa55471fd7cd25979125@news.povray.org>
Ilya Razmanov <ily### [at] gmailcom> wrote:


> Right now I changed stuff so it exports two files - .pov with some scene
> stub and .inc with main object, so it's easier to edit the scene and
> will simplify plugging object into another scene. What is people opinion
> - is it a good idea?

Probably a good idea - however one option that you want to explore is just
making a single file that detects whether it's the main scene or an included
file.

(can't recall the specifics of how to do this off the top of my head)

Basically you'd do an if (main scene) then enable all stuff needed to render a
full scene #else just declare the object.

Then you get both options for the (disk space) price of one.

- BW


Post a reply to this message

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