|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I created some declarations which I would like to use as a part of include
file.
When I created new include, the PovRay does not uses it. The same
declaration, when added to existing include works just fine. What
modifications are required to make PovRay to recognize new include files?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Is it giving you a file not found error of some sort when you #include
"file.inc" it? Does the include file have the same name as one in the
include directory? Is it in some other directory which you haven't added
to your library section of POVRAY.INI?
Charles
"StudioArete" <nomail@nomail> wrote:
> I created some declarations which I would like to use as a part of include
> file.
> When I created new include, the PovRay does not uses it. The same
> declaration, when added to existing include works just fine. What
> modifications are required to make PovRay to recognize new include files?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
like that
include "c:\\folder_1\\folder_2\\my_include.inc" if you have saved your
include in a different folder than /povray/include default folder ..
news:web.4529403e907685582869ae640@news.povray.org...
> Is it giving you a file not found error of some sort when you #include
> "file.inc" it? Does the include file have the same name as one in the
> include directory? Is it in some other directory which you haven't added
> to your library section of POVRAY.INI?
> Charles
>
> "StudioArete" <nomail@nomail> wrote:
> > I created some declarations which I would like to use as a part of
include
> > file.
> > When I created new include, the PovRay does not uses it. The same
> > declaration, when added to existing include works just fine. What
> > modifications are required to make PovRay to recognize new include
files?
>
>
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
StudioArete nous apporta ses lumieres en ce 08/10/2006 10:37:
> I created some declarations which I would like to use as a part of include
> file.
> When I created new include, the PovRay does not uses it. The same
> declaration, when added to existing include works just fine. What
> modifications are required to make PovRay to recognize new include files?
>
>
There are 2 main places where you should place your *.inc files.
- In the same folder as your scene OR
- with all other includes in the include folder
If you place your's in one of those places, then POV-Ray will automaticaly find
and use it.
Also, are you using #local or #declare?
Any #local will only exist inside the included file and will be invisible from
your main scene file.
--
Alain
-------------------------------------------------
How do you tell when you're out of invisible ink?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |