POV-Ray : Newsgroups : povray.newusers : Import scene file problem : Re: Import scene file problem Server Time
29 Jul 2024 04:16:54 EDT (-0400)
  Re: Import scene file problem  
From: Thomas de Groot
Date: 6 Sep 2006 02:43:41
Message: <44fe6e1d@news.povray.org>
"pierre" <pie### [at] efpginpgfr> schreef in bericht 
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.
>
>
It is fairly simple :-)
The test_POV_main file is a standalone scene file that you can use in 
POV-Ray to see the object like you saw it in Poseray. The important files 
are the _geom and the _mat files:
The _geom file contains the data describing your 3D surface
The _mat file contains a standard texture just to make the object visible. 
You can change that later.

If you are not using the _main file:
- you must first include the two other files in your scene.
- Look at the end of the _geom file how Poseray has named the object
- now call the object in your scene: object {whatever}

Thomas


Post a reply to this message

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