POV-Ray : Newsgroups : povray.newusers : Include file as object : Re: Include file as object Server Time
30 Jul 2024 08:26:10 EDT (-0400)
  Re: Include file as object  
From: Hughes, B 
Date: 6 Aug 2004 12:00:40
Message: <4113ab28$1@news.povray.org>
"Steve Shelby" <ssh### [at] shelbyvisioncom> wrote in message
news:4113919b$1@news.povray.org...
> Can I declare an entire include file as an object, so that it can be
> transformed in the scene? If so, how? I tried bracketing the entire
include
> file as a csg, and povray didn't reject it, but it produced a blank scene.

Like this, Steve?

object {
    #include "addfile.inc"
}

This should work okay, or this:

difference {
    object {
    #include "addfile.inc"
    }
    plane {x,1}
}

Bob H.


Post a reply to this message

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