|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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.
Steve Shelby
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Hughes, B." <bob### [at] charternet> wrote in message
news:4113ab28$1@news.povray.org...
> Like this, Steve?
>
> object {
> #include "addfile.inc"
> }
>
> This should work okay, or this:
>
> difference {
> object {
> #include "addfile.inc"
> }
> plane {x,1}
> }
>
> Bob H.
>
Thanks for the suggestion. I tried it and couldn't make it work. Povray
gives a bogus error message about the include file.
Steve
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Which version? I checked this in 3.6, not 3.5.
"Steve Shelby" <ssh### [at] shelbyvisioncom> wrote in message
news:41140ee9@news.povray.org...
>
> "Hughes, B." <bob### [at] charternet> wrote in message
> news:4113ab28$1@news.povray.org...
> > Like this, Steve?
> >
> > object {
> > #include "addfile.inc"
> > }
> >
> > This should work okay, or this:
> >
> > difference {
> > object {
> > #include "addfile.inc"
> > }
> > plane {x,1}
> > }
> >
> Thanks for the suggestion. I tried it and couldn't make it work. Povray
> gives a bogus error message about the include file.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Hughes, B." <bob### [at] charternet> wrote in message
news:41140f8a@news.povray.org...
> Which version? I checked this in 3.6, not 3.5.
3.5...sorry I didn't mention that. I havn't gotten 3.6 yet. I didn't think
it was that much different.
Steve
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
It is okay in 3.5, too, for me anyway. I just checked after a reinstall of
3.5.icl.win32 I needed to do anyhow after losing the editor, for some
unknown reason, during an attempt to use to older 3.0 version.
Only other thing I think might be wrong is how your include file is written,
needing a renderable object within it and not just a #declared one. Your
mention of a blank scene seems to indicate this.
Bob H.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Steve Shelby nous apporta ses lumieres ainsi en ce 06/08/2004 10:11... :
>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.
>Steve Shelby
>
>
>
>
Yes, IF at least one object is actualy deffined outside any #declare in it.
If it only contain a bunch of #declare, you get a blank scene. Most
*.inc files are of this variety.
Alain
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I finally got it. The problem was in the include file. It contains a long
list of objects, all of which reference objects defined in another include
file. I bracketed them all together into a union, and that made the
difference. Thanks again for the help.
Steve
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |