POV-Ray : Newsgroups : povray.binaries.utilities : Online files converter : Re: Online files converter Server Time
2 Oct 2025 20:30:22 EDT (-0400)
  Re: Online files converter  
From: yesbird
Date: 2 Oct 2025 17:32:15
Message: <68deef5f@news.povray.org>
Just now I posted an update to converter, that includes:

1. Load and export complete scene (all meshes contained in the file).
2. By advice of Paul Bourke, scene metrics at the top of model.inc file:
    center and radius of bounding sphere, bounding box coordinates.
3. Wireframe model shading.

How to use:
All meshes in 'model.inc' have names surface*, numbered from 1.
At the end of the file there is a 'union', that combines them together.
//----------- Sample scene (attached) ----------------------------------
#version 3.7;
#include "model.inc"

global_settings{ assumed_gamma 1.0 }
#default{ finish{ ambient 0.1 diffuse 0.9 }}
#declare cam = camera { perspective angle 55
                         location  <RADIUS, RADIUS, RADIUS> * 1.5
                         right     x * image_width / image_height
                         look_at   CENTER}
camera{cam}
light_source{< 3000,3000,-3000> color rgb <1.0, 1.0, 1.0>}
//-----------------------------------------------------------------------

Testing and any kind of feedback are highly appreciated :).
-- 
YB


Post a reply to this message


Attachments:
Download 'scene.pov.txt' (1 KB) Download 'model.inc.txt' (652 KB) Download 'scene.png' (28 KB) Download 'shot.png' (261 KB)

Preview of image 'scene.png'
scene.png

Preview of image 'shot.png'
shot.png


 

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