POV-Ray : Newsgroups : povray.unofficial.patches : Non-triangular patches -> triangles...? Server Time
2 Sep 2024 16:19:02 EDT (-0400)
  Non-triangular patches -> triangles...? (Message 1 to 6 of 6)  
From: Cliff Bowman
Subject: Non-triangular patches -> triangles...?
Date: 19 Aug 1999 13:20:46
Message: <37bc3976.5411425@news.povray.org>
Is there an accepted "safe" way of converting an unknown number of
points into a series of triangles for a mesh/mesh2?

I'm looking at the structure of .OBJ files for conversion to uvPOV (in
batches - and so far I've not found a batch OBJ to POV converter) and
while examining the data (to learn and understand the format,
basically) I've discovered several "patches" with more than 3 points.
although the most I've *seen* so far is 4 points, I can draw a 4-point
patch in 2D that'd "break" if translated simply into 2 triangles.

Help?

Oh yeah - if anyone knows of a batch OBJ -> uvPatch POV/Superpatch POV
converter then pls let me know - you'll save me a lot of work (even if
it is "fun").


Cheers,

Cliff Bowman
Why not pay my 3D Dr Who site a visit at http://www.who3d.cwc.net/


Post a reply to this message

From: Ken
Subject: Re: Non-triangular patches -> triangles...?
Date: 19 Aug 1999 13:37:40
Message: <37BC40E0.F9B2941F@pacbell.net>
Cliff Bowman wrote:
> 
> Is there an accepted "safe" way of converting an unknown number of
> points into a series of triangles for a mesh/mesh2?
> 
> I'm looking at the structure of .OBJ files for conversion to uvPOV (in
> batches - and so far I've not found a batch OBJ to POV converter) and
> while examining the data (to learn and understand the format,
> basically) I've discovered several "patches" with more than 3 points.
> although the most I've *seen* so far is 4 points, I can draw a 4-point
> patch in 2D that'd "break" if translated simply into 2 triangles.
> 
> Help?
> 
> Oh yeah - if anyone knows of a batch OBJ -> uvPatch POV/Superpatch POV
> converter then pls let me know - you'll save me a lot of work (even if
> it is "fun").
> 
> Cheers,
> 
> Cliff Bowman
> Why not pay my 3D Dr Who site a visit at http://www.who3d.cwc.net/

I don't know if it supports batch processing but it does do obj > mesh2:
http://www.warmann.com/users/broken/utils/utils.html

-- 
Ken Tyler

See my 700+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Gilles Tran
Subject: Re: Non-triangular patches -> triangles...?
Date: 20 Aug 1999 08:04:42
Message: <37BD4511.C8170796@inapg.inra.fr>
Sorry, but obj2pov doesn't support batch processing and exports to the other
mesh syntax, not the mesh2 one. Of course you can run obj2pov in a batch
file (*.bat) but you'll have to add the texture info by hand in each obj
file before processing.
3DS2pov supports batch provessing of 3DS files and the mesh2 syntax, so if
you can export to 3DS it's a possible solution.
Gilles Tran
Ken wrote:

>
> I don't know if it supports batch processing but it does do obj > mesh2:
> http://www.warmann.com/users/broken/utils/utils.html
>
> --
> Ken Tyler
>


Post a reply to this message

From: Ken
Subject: Re: Non-triangular patches -> triangles...?
Date: 20 Aug 1999 11:00:37
Message: <37BD6D72.38CBD474@pacbell.net>
Gilles Tran wrote:
> 
> Sorry, but obj2pov doesn't support batch processing and exports to the other
> mesh syntax, not the mesh2 one. Of course you can run obj2pov in a batch
> file (*.bat) but you'll have to add the texture info by hand in each obj
> file before processing.
> 3DS2pov supports batch provessing of 3DS files and the mesh2 syntax, so if
> you can export to 3DS it's a possible solution.
> Gilles Tran

The website I referred to specifically say's that it supports the UvPov version
of meshes. I still am unsure about textures and batch files though.

-- 
Ken Tyler

See my 700+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Cliff Bowman
Subject: Re: Non-triangular patches -> triangles...?
Date: 20 Aug 1999 13:24:09
Message: <37bd8f45.61782948@news.povray.org>
On Fri, 20 Aug 1999 08:00:02 -0700, Ken <tyl### [at] pacbellnet> wrote:

>
>
>Gilles Tran wrote:
>> 
>> Sorry, but obj2pov doesn't support batch processing and exports to the other
>> mesh syntax, not the mesh2 one. Of course you can run obj2pov in a batch
>> file (*.bat) but you'll have to add the texture info by hand in each obj
>> file before processing.
>> 3DS2pov supports batch provessing of 3DS files and the mesh2 syntax, so if
>> you can export to 3DS it's a possible solution.
>> Gilles Tran
>
>The website I referred to specifically say's that it supports the UvPov version
>of meshes. I still am unsure about textures and batch files though.
>
Does uv mapping (not mesh2 per se but uv_mapping version of mesh) with
very little work. I know - I got OBJ2POV via your links page in the
first place!

Doesn't do batch converts though, and has been known to crash on some
(poorly designed0 .OBJ files... which is why I'm looking into the .OBJ
format myself.


Cheers,

Cliff Bowman
Why not pay my 3D Dr Who site a visit at http://www.who3d.cwc.net/


Post a reply to this message

From: Cliff Bowman
Subject: Re: Non-triangular patches -> triangles...?
Date: 20 Aug 1999 13:25:48
Message: <37bd8fa0.61873922@news.povray.org>
On Fri, 20 Aug 1999 14:07:45 +0200, Gilles Tran <tra### [at] inapginrafr>
wrote:

>Sorry, but obj2pov doesn't support batch processing and exports to the other
>mesh syntax, not the mesh2 one. Of course you can run obj2pov in a batch
>file (*.bat) but you'll have to add the texture info by hand in each obj
>file before processing.
>3DS2pov supports batch provessing of 3DS files and the mesh2 syntax, so if
>you can export to 3DS it's a possible solution.
>Gilles Tran
It's a pretty good one - expect Poser seems to screw up the UV mapping
when exporting to .3DS formatting (you end up with neato-models, but
seams in the textures).

So far unless I can rely on Poser (and other programs) to adhere to no
more than 4 points making 2 simple triangles it looks like OBJ2POV
will be my best bet.


Cheers,

Cliff Bowman
Why not pay my 3D Dr Who site a visit at http://www.who3d.cwc.net/


Post a reply to this message

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