POV-Ray : Newsgroups : moray.win : Feature Request:PCM Objects Server Time
29 Jul 2024 02:21:18 EDT (-0400)
  Feature Request:PCM Objects (Message 8 to 17 of 17)  
<<< Previous 7 Messages Goto Initial 10 Messages
From: Nieminen Juha
Subject: Re: Feature Request:PCM Objects
Date: 3 Jan 2000 05:34:59
Message: <38707b53@news.povray.org>
I don't know anything about the raw format. Any info?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ken
Subject: Re: Feature Request:PCM Objects
Date: 3 Jan 2000 06:58:31
Message: <38708D24.EB711FB1@pacbell.net>
Nieminen Juha wrote:
> 
>   I don't know anything about the raw format. Any info?

The raw format is the simplest 3d format in the world and is in fact very
similar to the POV-Ray triangle only it is missing the punctuation.

A pov triangle looks like this -

triangle{<1,2,3>,<4,5,6>,<7,8,9>}

in raw format it looks like this -

1 2 3  4 5 6  7 8 9

3DWin can also read smooth raw triangles in the same format as above
if you add the smoothing control vectors.

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Nieminen Juha
Subject: Re: Feature Request:PCM Objects
Date: 3 Jan 2000 07:43:44
Message: <38709980@news.povray.org>
How do I specify that the triangle is smooth? How do I specify the number
of triangles?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Johannes Hubert
Subject: Re: Feature Request:PCM Objects
Date: 3 Jan 2000 08:57:04
Message: <3870aab0@news.povray.org>
Nieminen Juha <war### [at] punarastascstutfi> wrote in message
news:38709980@news.povray.org...
>   How do I specify that the triangle is smooth? How do I specify the
number
> of triangles?

I think:

number of triangles: one triangle on each line
smooth: If the line has 9 numbers, it is not smooth (only vertex info), if
it has 18 (?) numbers, it is smooth (vertex + direction-vector info).

Johannes.


Post a reply to this message

From: Ken
Subject: Re: Feature Request:PCM Objects
Date: 3 Jan 2000 09:11:47
Message: <3870AC4C.9AB269A7@pacbell.net>
Johannes Hubert wrote:
> 
> Nieminen Juha <war### [at] punarastascstutfi> wrote in message
> news:38709980@news.povray.org...
> >   How do I specify that the triangle is smooth? How do I specify the
> number
> > of triangles?
> 
> I think:
> 
> number of triangles: one triangle on each line
> smooth: If the line has 9 numbers, it is not smooth (only vertex info), if
> it has 18 (?) numbers, it is smooth (vertex + direction-vector info).
> 
> Johannes.

That is how I understand it to work. You just have to make sure that there
is only one line of data for each triangle in the mesh object.

-- 
Wishing you Seasons Greetings and A Happy New Millennium !
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Nieminen Juha
Subject: Re: Feature Request:PCM Objects
Date: 3 Jan 2000 09:25:11
Message: <3870b147@news.povray.org>
Ah, then it's very simple. I have to test it.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Thomas Baier
Subject: Re: Feature Request:PCM Objects
Date: 4 Jan 2000 02:16:24
Message: <06737sg8n2u4h6vbeus63g1gsi4aggi99g@4ax.com>
On Fri, 31 Dec 1999 15:04:40 +0100, Karl Pelzer
<Kar### [at] t-onlinede> wrote:

Hi,

i would suggest that the compressed mesh generator reads *.raw.
It would be a little beside the philosophy of 3DWin to directly
support such a special feature like pcm, but it would be technicaly no
problem to implement.

As i said: please contact Warp to implment the *.raw reader.
If that works please come back to me (tho### [at] stmuccom) and we
will discuss the 3DWin integration.

>I tested Warp's Mesh Compressor and I find it very useful for large
>Meshes (produced by LParser).
>It would be useful to create a sourrounding scene with Moray. But since
>Moray can't handle PCM-Files I have to tweak the resulting code by hand.
>I would highly appreciate the capability to handle PCM objects just like
>UDO objects.
>

-tb


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: Feature Request:PCM Objects
Date: 4 Jan 2000 05:15:26
Message: <3871c7bf.4869722@194.174.214.110>
Hi Nieminen Juha, you recently wrote in moray.win:

>   How do I specify that the triangle is smooth? How do I specify the number
> of triangles?
Johannes and Ken have answered that, I just wanted to add that an
empty line or a line containing a string can be used to seperate (with
the string, named) subgroups in a RAW file.
- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

From: Nieminen Juha
Subject: Re: Feature Request:PCM Objects
Date: 4 Jan 2000 09:59:53
Message: <38720ae9@news.povray.org>
On the other hand, this kind of converter could be easyly made with
povray itself...
  Just read the PCM and write the triangles to a file in the proper format.
  Is there really a need for support of this format in the mesh compressor
program?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Nieminen Juha
Subject: Re: Feature Request:PCM Objects
Date: 4 Jan 2000 10:01:15
Message: <38720b3b@news.povray.org>
Thomas Baier <NOS### [at] stmuccom> wrote:
: As i said: please contact Warp to implment the *.raw reader.
: If that works please come back to me (tho### [at] stmuccom) and we
: will discuss the 3DWin integration.

  Yes, I will probably add support for the .raw format since it's so
extremely simple.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

<<< Previous 7 Messages Goto Initial 10 Messages

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