|
 |
Le 18-03-19 à 01:57, Stephen a écrit :
> On 19/03/2018 00:50, 944291641 wrote:
>> Stephen <mca### [at] aol com> wrote:
>>> On 18/03/2018 15:00, 944291641 wrote:
>>>> when i use windows cmd to execute my pov program,it cannot find some
>>>> file in the
>>>> path of pov program:
>>>> for example:
>>>> my cmd is:"start pvengine /render G:\\patht_to_code\\model.ini"
>>>> and code like this:
>>>> + source
>>>> t1.pov // it contain "#include "TOMLEAF.inc"" ,but no means
>>>> TOMLEAF.inc
>>>> something else
>>>>
>>>> could anyone help me? thanks a million!
>>>>
>>>>
>>>
>>> Try implicitly defining the path to the *.pov file in the ini file and
>>> the include file.
>>> Also you could define the location of library files in povray.ini. Like:
>>> Library_Path="G:\Libraries\Documents\POV-Ray\v3.7\include"
>>>
>>>
>>> --
>>>
>>> Regards
>>> Stephen
>>
>> it work! thank you very much Stephen!
>>
>>
>
> Phew! I'm glad. :-)
>
> I ran into the same problem myself, last week.
> It was from using machine generated code that I was rendering manually
> from a different directory than where it was created.
>
When using those machine generated scenes, check if it contains any hard
coded paths and other full files paths.
Those are totally non-portable, even within a single machine.
Post a reply to this message
|
 |