POV-Ray : Newsgroups : povray.general : Mesh output of .pov, Pov in OpenGL? Server Time
2 Aug 2024 08:17:38 EDT (-0400)
  Mesh output of .pov, Pov in OpenGL? (Message 1 to 3 of 3)  
From: Rafal 'Raf256' Maj
Subject: Mesh output of .pov, Pov in OpenGL?
Date: 17 Dec 2004 07:52:58
Message: <Xns95C28D7115471raf256com@203.29.75.35>
Hi,
I just wonder - would it be very hard to read *.pov files into OpenGL 
animations, or _export_ it to .max .obj and other mesh-likes files?

Yes, I know - the most common newbie question - POV-Ray is ray-tracer not 
scanline and meshes doesnt support real mathematical objects and CSG.

But, how about doing this for simple objects (first)?


sphere{} cone{} cylinder{} box{} - there is no problem in creating mesh for 
such objetcs (additional parameter like number-of-sides might be used).

union{} - no problem
difference{} interseciton{} - this is more problematic, but there are 
algoritms for doing such opperations on meshes.

textures - pre-calculate them for each side of object.

Later, advanced objects like isosurface, where tere is no other way - could 
be triangulaized usign some heuristic algoritms.


Not only it can be used for openGL or exporting to mesh, also it could be 
used to create less-datiled (therefore faster) versions of objects - with 
can be used in some distant parts of scene (to render faster) or as 
bounding_boxes.

Does it sound like something interesting?

-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

From: ABX
Subject: Re: Mesh output of .pov, Pov in OpenGL?
Date: 17 Dec 2004 08:00:12
Message: <5vl5s0t9a02ids9dtkm8g4gljd5h5u60np@4ax.com>
On 17 Dec 2004 07:52:58 -0500, "Rafal 'Raf256' Maj" <spa### [at] raf256com> wrote:
> would it be very hard to read *.pov files into OpenGL

http://www.daylongraphics.com/other/povray/patches/#patch_ogl

ABX


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: Mesh output of .pov, Pov in OpenGL?
Date: 17 Dec 2004 08:14:52
Message: <Xns95C291274D3ABraf256com@203.29.75.35>
abx### [at] abxartpl news:5vl5s0t9a02ids9dtkm8g4gljd5h5u60np@4ax.com

> http://www.daylongraphics.com/other/povray/patches/#patch_ogl

Neat, thanx

-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

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