POV-Ray : Newsgroups : povray.general : From Mesh2 to Mesh Server Time
2 Aug 2024 18:11:04 EDT (-0400)
  From Mesh2 to Mesh (Message 1 to 6 of 6)  
From: leseur sylvain
Subject: From Mesh2 to Mesh
Date: 4 Aug 2004 10:32:50
Message: <4110f392@news.povray.org>
Hello
How can i convert Mesh2 to Mesh ?
I need this to use Warp's Mesh Compressor 2.1
who don't work with Mesh2 (only Mesh).
Thanks a lot
Friendly
Sylvain


Post a reply to this message

From: Warp
Subject: Re: From Mesh2 to Mesh
Date: 4 Aug 2004 16:18:33
Message: <41114499@news.povray.org>
leseur sylvain <syl### [at] potar-hurlantcom> wrote:
> How can i convert Mesh2 to Mesh ?
> I need this to use Warp's Mesh Compressor 2.1
> who don't work with Mesh2 (only Mesh).

  If you are using Windows, you can use the version 3.0 of the program
to do that.

http://www.cs.tut.fi/~warp/WinMeshcomp30_beta3.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: leseur sylvain
Subject: Re: From Mesh2 to Mesh
Date: 5 Aug 2004 03:53:00
Message: <4111e75c$1@news.povray.org>
Thanks a lot but i can't understand something:
The goal is to use Mesh2 from Moray to build
*.pcm (instead of sphere.pcm or torus.pcm)
I try that with HAIR GROWTH MACRO FILE and
use only case 1.
(1111.pov from Moray output and 1.pcm from Mesh
compressor vers 3 attached )
Nothing appear !........

May be because for Moray,
//Use right handed-system
//Where Z is up
Can you help me again if you have time ?
Friendly
Sylvain


-Moray give to me  when i convert to Mesh2 (for a box
1111.pov )
////////////////////////////////////////////////

mesh2 {   // TMesh001
  vertex_vectors {
    8,
    <-1.0000000, -1.0000000, -1.0000000>,
    <-1.0000000, 1.0000000, -1.0000000>,
    <1.0000000, 1.0000000, -1.0000000>,
    <1.0000000, -1.0000000, -1.0000000>,
    <-1.0000000, -1.0000000, 1.0000000>,
    <-1.0000000, 1.0000000, 1.0000000>,
    <1.8918829, 1.0000000, 1.5054003>,
    <1.8918829, -1.0000000, 1.5054003>
  }
  normal_vectors {
    6,
    <-0.1721558, 0.0000000, 0.9850697>,
    <0.0000000, -1.0000000, 0.0000000>,
    <0.0000000, 0.0000000, -1.0000000>,
    <0.0000000, 1.0000000, 0.0000000>,
    <-1.0000000, 0.0000000, 0.0000000>,
    <0.9420872, 0.0000000, -0.3353681>
  }
  uv_vectors {
    14,
    <0.2500000, 0.6666667>,
    <0.5000000, 0.6666667>,
    <0.5000000, 0.3333333>,
    <0.2500000, 0.3333333>,
    <0.2500000, 1.0000000>,
    <0.5000000, 1.0000000>,
    <0.2500000, 0.0000000>,
    <0.5000000, 0.0000000>,
    <0.0000000, 0.6666667>,
    <0.0000000, 0.3333333>,
    <0.7500000, 0.6666667>,
    <0.7500000, 0.3333333>,
    <1.0000000, 0.6666667>,
    <1.0000000, 0.3333333>
  }
  face_indices {
    12,   // 0 triangles and 6 quads
    <5, 4, 7>,
    <5, 7, 6>,
    <4, 0, 3>,
    <4, 3, 7>,
    <0, 1, 2>,
    <0, 2, 3>,
    <1, 5, 6>,
    <1, 6, 2>,
    <0, 4, 5>,
    <0, 5, 1>,
    <2, 6, 7>,
    <2, 7, 3>
  }
  normal_indices {
    12,   // from 0 triangles and 6 quads
    <0, 0, 0>,
    <0, 0, 0>,
    <1, 1, 1>,
    <1, 1, 1>,
    <2, 2, 2>,
    <2, 2, 2>,
    <3, 3, 3>,
    <3, 3, 3>,
    <4, 4, 4>,
    <4, 4, 4>,
    <5, 5, 5>,
    <5, 5, 5>
  }
  uv_indices {
    12,   // from 0 triangles and 6 quads
    <0, 3, 2>,
    <0, 2, 1>    <3, 6, 7>,
    <3, 7, 2>    <13, 12, 10>,
    <13, 10, 11>    <4, 0, 1>,
    <4, 1, 5>    <9, 3, 0>,
    <9, 0, 8>    <10, 1, 2>,
    <10, 2, 11>
  }
}
///////////////////////////////////////////////
//----------------------------------------------



-WinMeshcomp (vers 3)   give to me
after convert Moray's Mesh2 (1111.pov) to .pcm  (1.pcn)
////////////////////////////////////////////////////

"PCM4",
14,6,
-1,-1,-1,0,0.3333333,-1,-1,-1,0.25,0,-1,-1,-1,1,0.3333333,-1,-1,1,0.25,0.333
3333,
-1,1,-1,0,0.6666667,-1,1,-1,0.25,1,-1,1,-1,1,0.6666667,-1,1,1,0.25,0.6666667
,
1,-1,-1,0.5,0,1,-1,-1,0.75,0.3333333,1,1,-1,0.5,1,1,1,-1,0.75,0.6666667,
1.8918829,-1,1.5054003,0.5,0.3333333,1.8918829,1,1.5054003,0.5,0.6666667,-1,
0,0,-0.1721558,0,0.9850697,
0,-1,0,0,0,-1,0,1,0,0.9420872,0,-0.3353681,
0,12,
7,15,3,15,12,15,7,15,12,15,13,15,3,16,1,16,8,16,3,16,8,16,12,16,
2,17,6,17,11,17,2,17,11,17,9,17,5,18,7,18,13,18,5,18,13,18,10,18,
0,14,3,14,7,14,0,14,7,14,4,14,11,19,13,19,12,19,11,19,12,19,9,19,
0,0,
0,0,
////////////////////////////////////////////////
//----------------------------------------------


Post a reply to this message


Attachments:
Download '1111.pov.txt' (5 KB) Download '1.pcm.txt' (1 KB)

From: Warp
Subject: Re: From Mesh2 to Mesh
Date: 5 Aug 2004 04:35:20
Message: <4111f148@news.povray.org>
The pcm macros have not yet been updated to the newest pcm format.

  What I suggested was to use the newer compressor to convert from mesh2
to mesh.

-- 
#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: leseur sylvain
Subject: Re: From Mesh2 to Mesh
Date: 5 Aug 2004 04:40:27
Message: <4111f27b$1@news.povray.org>
Ok Thanks again
But where can i find this newer compressor to convert from mesh2
 to mesh.
Friendly
Sylvain


news:4111f148@news.povray.org...
>   The pcm macros have not yet been updated to the newest pcm format.
>
>   What I suggested was to use the newer compressor to convert from mesh2
> to mesh.
>
> -- 
> #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: From Mesh2 to Mesh
Date: 5 Aug 2004 05:12:15
Message: <4111f9ef@news.povray.org>
leseur sylvain <syl### [at] potar-hurlantcom> wrote:
> But where can i find this newer compressor to convert from mesh2
>  to mesh.

  I gave the url in my first reply.

-- 
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

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