![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I had to prepare little engine to triangulate any flat shapes. It's not ready
for upload (dirty code) but has first outputs. First pictures present shape
(rounded rectangle) after triangulation but without triangles. Second picture
shows grouped triangles - regular and changed. I plan to export this
triangulated stuff in PCM file format. Engine was made as POV script.
Any comments ?
--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31
Post a reply to this message
Attachments:
Download 'tri1.png' (8 KB)
Download 'tri2.png' (74 KB)
Preview of image 'tri1.png'
![tri1.png](/povray.binaries.images/attachment/%3C3b4ded9e%40news.povray.org%3E/tri1.png?preview=1)
Preview of image 'tri2.png'
![tri2.png](/povray.binaries.images/attachment/%3C3b4ded9e%40news.povray.org%3E/tri2.png?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Wlodzimierz ABX Skiba" <abx### [at] abx art pl> wrote in message
news:3b4ded9e@news.povray.org...
> shows grouped triangles - regular and changed. I plan to export this
> triangulated stuff in PCM file format. Engine was made as POV script.
Look interesting, but what is PCM? Why not plain old POV/text?
- Nikodemus
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Wlodzimierz ABX Skiba wrote:
>
> I had to prepare little engine to triangulate any flat shapes. It's not ready
> for upload (dirty code) but has first outputs. First pictures present shape
> (rounded rectangle) after triangulation but without triangles. Second picture
> shows grouped triangles - regular and changed. I plan to export this
> triangulated stuff in PCM file format. Engine was made as POV script.
> Any comments ?
>
I'm not sure about the practical purpose, but it looks interesting.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Wlodzimierz ABX Skiba
Subject: Re: triangulation of flat shapes
Date: 16 Jul 2001 04:47:57
Message: <3b52aa3d@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Christoph Hormann wrote in message <3B51BFF2.978E8466@gmx.de>...
> I'm not sure about the practical purpose, but it looks interesting.
practical purpose ? animation of flying leafs, cards, walking carpet etc.
1. scan complicated shape - for example leaf
2. triangulate it with inside/outside function via eval_pigment on image_map
3. deform it much complicated way than patches
4. use compressed mesh package by Chris Colefax and Warp to optimize result for
complicated scenes
5. use scaned image_map via uv_mapping
6. trace scene
is it good enough purpose ?
--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Wlodzimierz ABX Skiba
Subject: Re: triangulation of flat shapes
Date: 16 Jul 2001 04:48:03
Message: <3b52aa43@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Nikodemus Siivola wrote in message <3b5195a1@news.povray.org>...
> Look interesting, but what is PCM?
Thanks, PCM is ... http://www.geocities.com/SiliconValley/Lakes/1434/pcm.html
> Why not plain old POV/text?
but ... it is plain old POV/text available via macro :-)
--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Wlodzimierz ABX Skiba wrote:
>
> practical purpose ? animation of flying leafs, cards, walking carpet etc.
> 1. scan complicated shape - for example leaf
> 2. triangulate it with inside/outside function via eval_pigment on image_map
> 3. deform it much complicated way than patches
> 4. use compressed mesh package by Chris Colefax and Warp to optimize result for
> complicated scenes
> 5. use scaned image_map via uv_mapping
> 6. trace scene
> is it good enough purpose ?
Yes, that sounds feasible, right now i probably would use a patch or
heightfield with partly transparent texture for this purpose.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |