POV-Ray : Newsgroups : povray.newusers : Import scene file problem : Re: Import scene file problem Server Time
29 Jul 2024 04:23:27 EDT (-0400)
  Re: Import scene file problem  
From: pierre
Date: 7 Sep 2006 05:20:01
Message: <web.44ffe3f6e68f8ae1ad334ed60@news.povray.org>
thanks everybody,
I was very clear and I applied your advices and It works!








"Penelope20k" <pen### [at] caramailfr> wrote:
> 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

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