|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3fd26413@news.povray.org>, Warp <war### [at] tagpovrayorg>
wrote:
> Currently you will need to convert the .obj file to a mesh or mesh2
> with some converter and then convert it to pcm with my program.
>
> I don't have the slightest idea what kind of format .obj is, but if
> it's simple enough, I might add support for it...
http://astronomy.swin.edu.au/~pbourke/geomformats/obj/
(more formats at http://astronomy.swin.edu.au/~pbourke/geomformats/)
http://pipin.tmd.ns.ac.yu/extra/fileformat/3d/index.htm
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Beta test version of the new mesh compressor program
Date: 7 Dec 2003 07:54:04
Message: <3fd322ec@news.povray.org>
|
|
|
| |
| |
|
|
Jim Charter <jrc### [at] msncom> wrote:
> I don't think so, you don't read Mesh2 just Mesh.
Then there's a serious bug in the program. I am able to read mesh2 (with
uv-mapping and textures) ok.
Please make a proper bug report.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
From: Jim Charter
Subject: Re: Beta test version of the new mesh compressor program
Date: 7 Dec 2003 09:52:16
Message: <3fd33ea0$1@news.povray.org>
|
|
|
| |
| |
|
|
Warp wrote:
>
> Then there's a serious bug in the program. I am able to read mesh2 (with
> uv-mapping and textures) ok.
Now I'm confused.
On the interface the selections for input include:
1. POV-Ray file with triangle meshes
2. POV-Ray file with cubic patches
3. PCM file
The selections for output include:
1. PCM file
2. POV-Ray file
3. UV-Pov mesh2
I did try selection #1 with "Ignore keywork mesh" checked
but got:
"no objects found"
> Please make a proper bug report.
>
Forgive me, I don't know how to do that
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Beta test version of the new mesh compressor program
Date: 7 Dec 2003 12:04:35
Message: <3fd35da2@news.povray.org>
|
|
|
| |
| |
|
|
Jim Charter <jrc### [at] msncom> wrote:
> Now I'm confused.
Try reading the first post in this thread.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
From: Jim Charter
Subject: Re: Beta test version of the new mesh compressor program
Date: 7 Dec 2003 15:30:12
Message: <3fd38dd4$1@news.povray.org>
|
|
|
| |
| |
|
|
Warp wrote:
>
> Try reading the first post in this thread.
>
>
Okay, a bit cryptic but I think I gotcha.
To be able to read it,
it matters which utility generates the mesh/mesh2.
Here is what I was able to test:
Can the mesh be read?
If generated by PoseRay v.0.1
Mesh - No
Mesh2 - No
If generated by CrossRoads v1
Mesh - Yes
Mesh2 - N/A
If generated by Win3D v4.3
Mesh - N/A
Mesh2 - No
If generated by MeshComp v3
Mesh - Yes
Mesh2 - Yes
If generated by POV-Ray v3.5
Mesh - Yes
Mesh2 - N/A
Not sure if it is a bug, but it means to me that
the only way I can get from a commercial format, such
as .obj, to PCM is via generating plain mesh in CrossRoads.
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Beta test version of the new mesh compressor program
Date: 7 Dec 2003 20:41:46
Message: <3fd3d6da@news.povray.org>
|
|
|
| |
| |
|
|
Jim Charter <jrc### [at] msncom> wrote:
> If generated by PoseRay v.0.1
> Mesh2 - No
> If generated by Win3D v4.3
> Mesh2 - No
Can you post a small example of those which the compressor can't read?
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
From: Jim Charter
Subject: Re: Beta test version of the new mesh compressor program
Date: 7 Dec 2003 22:31:21
Message: <3fd3f089$1@news.povray.org>
|
|
|
| |
| |
|
|
Warp wrote:
> Jim Charter <jrc### [at] msncom> wrote:
>
>>If generated by PoseRay v.0.1
>>Mesh2 - No
>
>
>>If generated by Win3D v4.3
>>Mesh2 - No
>
>
> Can you post a small example of those which the compressor can't read?
>
In p.b.s-f
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Beta test version of the new mesh compressor program
Date: 8 Dec 2003 08:24:28
Message: <3fd47b8c@news.povray.org>
|
|
|
| |
| |
|
|
Jim Charter <jrc### [at] msncom> wrote:
> In p.b.s-f
This is exactly what I was looking for when I made the beta release.
There indeed is a bug in the program, and a rather simple one (or perhaps
more precisely a memory lapse): I forgot to make the parser to take
comments into account.
For instance "mesh2 // comment" causes it to choke because it doesn't
skip the comment.
I'll have to fix that.
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I fixed the problem with comments. Please test it.
http://www.cs.tut.fi/~warp/WinMeshcomp30_beta2.zip
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Beta test version of the new mesh compressor program
Date: 9 Dec 2003 15:43:40
Message: <3fd633fc@news.povray.org>
|
|
|
| |
| |
|
|
Have you tried with the beta2 version of the program yet?
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |