POV-Ray : Newsgroups : povray.binaries.images : triangulation of flat shapes Server Time
18 Aug 2024 02:21:02 EDT (-0400)
  triangulation of flat shapes (Message 1 to 6 of 6)  
From: Wlodzimierz ABX Skiba
Subject: triangulation of flat shapes
Date: 12 Jul 2001 14:34:06
Message: <3b4ded9e@news.povray.org>
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

Preview of image 'tri2.png'
tri2.png


 

From: Nikodemus Siivola
Subject: Re: triangulation of flat shapes
Date: 15 Jul 2001 09:07:45
Message: <3b5195a1@news.povray.org>
"Wlodzimierz ABX Skiba" <abx### [at] abxartpl> 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

From: Christoph Hormann
Subject: Re: triangulation of flat shapes
Date: 15 Jul 2001 12:06:39
Message: <3B51BFF2.978E8466@gmx.de>
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] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Wlodzimierz ABX Skiba
Subject: Re: triangulation of flat shapes
Date: 16 Jul 2001 04:47:57
Message: <3b52aa3d@news.povray.org>
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

From: Wlodzimierz ABX Skiba
Subject: Re: triangulation of flat shapes
Date: 16 Jul 2001 04:48:03
Message: <3b52aa43@news.povray.org>
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

From: Christoph Hormann
Subject: Re: triangulation of flat shapes
Date: 16 Jul 2001 05:12:04
Message: <3B52B04C.D98B0BD4@gmx.de>
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] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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