|
![](/i/fill.gif) |
Add this at the begining of you scene
// -----------------------------------------------------------------------
// include files in this order
#include "colors.inc"
#include "skies.inc"
#include "stars.inc"
#include "textures.inc"
#declare _path="c:\\folder1\\folder2\\"; / / the
path of your POSERAY File
#declare _file_name_without_extend="this_file"; // the name of
your file without the extention
#include concat(_path,_file_name_without_extend,"_POV_mat.inc");
#include concat(_path,_file_name_without_extend,"_POV_geom.inc");
// Then for calling your object you should write
#object { this_file_ /* add a _ at the end of your file name }
// this is the way how poseray work by default ..
// ----------------------------------------------------------------
news:web.44fd676f1c12001dad334ed60@news.povray.org...
> Hi everybody,
>
> I am a rookie in programation and especially in povray.
> I have converted 3D surface from matlab in .pov using poseray.
>
> I obtained several files:
> test_POV_main
> test_POV_mat
> test_POV_geom
>
> Then , I wanted to insert this surface into a specifcal environement. I've
> defined the camera, the texture, the source...
>
> But, how do I open those files created with poseray?
> I used #fopen and #read but It doesn't work, the software doesn't
recognised
> my surface and asked for an Object.
>
>
> Thanks by advance
> Pierre
>
>
Post a reply to this message
|
![](/i/fill.gif) |