POV-Ray : Newsgroups : povray.general : Pov -> mesh Server Time
6 Nov 2024 04:19:10 EST (-0500)
  Pov -> mesh (Message 1 to 6 of 6)  
From: Rafal 'Raf256' Maj
Subject: Pov -> mesh
Date: 5 Nov 2002 00:18:33
Message: <Xns92BD3F756738Fraf256com@204.213.191.226>
Hello,
do we have some POV scripts that converts scenes into mesh formats that can 
be i.e. exported to 3dSMax ?

-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: Support tb-software
Subject: Re: Pov -> mesh
Date: 5 Nov 2002 01:06:28
Message: <dunesuojb1hue309jnd2cae2e07gd5ls71@4ax.com>
On 5 Nov 2002 00:18:33 -0500, "Rafal 'Raf256' Maj" <raf### [at] raf256com>
wrote:

you can find a Moray plugin at www.tb-software.com which can export a
Moray scene to 3d faces.

>Hello,
>do we have some POV scripts that converts scenes into mesh formats that can 
>be i.e. exported to 3dSMax ?


Post a reply to this message

From: Luc H
Subject: Re: Pov -> mesh
Date: 5 Nov 2002 04:00:57
Message: <3dc788c9@news.povray.org>
I heard about tesselate, but it seams to be a patch for the source code...
The idea would be to modify the source to ouput the mesh datas in a separate
file, am I wrong ?

L.H.


Xns### [at] 204213191226...
> Hello,
> do we have some POV scripts that converts scenes into mesh formats that
can
> be i.e. exported to 3dSMax ?
>
> --
> #macro
g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
> pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local
l=mod(c,100
> );g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end
light_source{
> y 2}sphere{z*20
9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: ABX
Subject: Re: Pov -> mesh
Date: 5 Nov 2002 04:15:04
Message: <c92fsu88kujqvevu6k9urnrhrla99h1gtn@4ax.com>
On 5 Nov 2002 00:18:33 -0500, "Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote:
> Hello,
> do we have some POV scripts that converts scenes into mesh formats that can 
> be i.e. exported to 3dSMax ?

Some shapes are not easy translable. In case you can recreate your scene only
with parametric objects, meshes, surfaces enclosed in splines then you can use
macros from Ingo to export it. Of course exporting CSG is not trivial. Another
way is to use patched POV: tesselator by Jerome Gribert or idea of adding new
method with tesselation of primitive objects.

ABX


Post a reply to this message

From: Le Forgeron
Subject: Re: Pov -> mesh
Date: 5 Nov 2002 07:03:55
Message: <3DC7B3E1.5090709@free.fr>
Luc H wrote:

> I heard about tesselate, but it seams to be a patch for the source code...
> The idea would be to modify the source to ouput the mesh datas in a separate
> file, am I wrong ?


tesselate is a patch, so you are correct.
Problem:

 tesselate works only with:

  - Finite
  - 3D
  - Bounded
Objects. (these conditions are cumulatives).


There is also a mesh import/export to GTS format(GTS: Gnu Tesselated 
Surface, IIRC), loosing the texture in the process (GTS does not have 
texture).
So, if your scene can be tesselated, you can export it...


Post a reply to this message

From: Luc H
Subject: Re: Pov -> mesh
Date: 14 Nov 2002 05:58:44
Message: <3dd381e4$1@news.povray.org>
I guess this is exactly what I need.
Merci :)
 Luc.


3DC### [at] freefr...
> Luc H wrote:
>
> > I heard about tesselate, but it seams to be a patch for the source
code...
> > The idea would be to modify the source to ouput the mesh datas in a
separate
> > file, am I wrong ?
>
>
> tesselate is a patch, so you are correct.
> Problem:
>
>  tesselate works only with:
>
>   - Finite
>   - 3D
>   - Bounded
> Objects. (these conditions are cumulatives).
>
>
> There is also a mesh import/export to GTS format(GTS: Gnu Tesselated
> Surface, IIRC), loosing the texture in the process (GTS does not have
> texture).
> So, if your scene can be tesselated, you can export it...
>


Post a reply to this message

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