POV-Ray : Newsgroups : povray.binaries.animations : Re: Animated paperplane v0.1 - paperplane2.avi (1/1) Server Time
20 Jul 2024 13:25:20 EDT (-0400)
  Re: Animated paperplane v0.1 - paperplane2.avi (1/1) (Message 7 to 16 of 16)  
<<< Previous 6 Messages Goto Initial 10 Messages
From: Duncan Gray
Subject: Re: Animated paperplane v0.1 -- 3 attachments (65KBU)
Date: 27 Feb 2001 13:47:39
Message: <3a9bf64b@news.povray.org>
Nice ...

A bit of a strange thing happened to my player though:

When I clicked the first AVI, my machine connected to microsoft, and after a
couple of minutes said:

"Cannot play back the video stream: no suitable decompressor could be
found."

I tried again, it did the same. I tried a third time, same response.

So I clicked on your second AVI. It connected to microsoft and installed me
a new Codec. The AVI played fine. I clicked on the third AVI ... Fine.

I clicked on the first again, it plays now.

?  Microsoft site busy ? or damaged codec name in PPLANE1.AVI ?

N.B. I didn't have to download a Codec for you previos post.

Clever animation though, and whatever the problem was, I appear to be able
to play them all now.
--
Duncan Gray
(warning: may contain traces of nut)


Post a reply to this message

From: Chris Huff
Subject: Re: Animated paperplane v0.1 -- 3 attachments (65KBU)
Date: 27 Feb 2001 15:27:44
Message: <chrishuff-4312DF.15263427022001@news.povray.org>
In article <3A9AFF6D.BC7DD671@xs4all.nl>, Remco de Korte 
<rem### [at] xs4allnl> wrote:

> Apologies for the awful quality but 
> the first AVIs were a bit too large
> for my taste and when I converted
> those to MPEGs they were half the
> size but had similar quality to
> these AVIs which are in turn less 
> then half the size of the MPEGs.
> 
> If the codec is a problem I could
> post the larger (file) versions .

These are unviewable on my system, how big are the MPEGs? Are they 
really 4 times as big? Maybe it's the software or settings you are using.
I haven't found any good software for creating MPEGs on a Mac, I'm stuck 
with QuickTime MooV format (which is a good format, but only available 
for Mac and Windows). I don't know anything about the Windows software 
available...

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Remco de Korte
Subject: Re: Animated paperplane v0.1 -- 3 attachments (65KBU)
Date: 27 Feb 2001 16:38:57
Message: <3A9C1E48.F3403C84@xs4all.nl>
> 
> These are unviewable on my system, how big are the MPEGs? Are they
> really 4 times as big? Maybe it's the software or settings you are using.
> I haven't found any good software for creating MPEGs on a Mac, I'm stuck
> with QuickTime MooV format (which is a good format, but only available
> for Mac and Windows). I don't know anything about the Windows software
> available...
> 
> --
> Christopher James Huff
> 
Of course I exaggerated, the MPEGs aren't 
really 4 times as big (more like 3 times).
There was also the point of the strange
formats. MPEG did some weird thing to the
edges which makes the result look even 
worse. 
I didn't want to post 3 200K AVIs which 
looked very acceptable and DivX didn't
help much but this Intel Coded (263 I
believe) shrank the sizes so incredibly
I thought I'd give it a try.
Anyway, I've attached one MPEG.

Remco
http://www.onwijs.com/


Post a reply to this message


Attachments:
Download 'pplane1.mpg' (46 KB)

From: Nikodemus Siivola
Subject: Re: Animated paperplane v0.1 -- 3 attachments (65KBU)
Date: 27 Feb 2001 17:45:50
Message: <Xns90567D065894tsiivolacchutfi@204.213.191.228>
Remco de Korte <rem### [at] xs4allnl> wrote in <3A9AFF6D.BC7DD671@xs4all.nl>:

>I did a similar thing some time ago.
>I've attached some small examples.

>If the codec is a problem I could
>post the larger (file) versions .

Dunno if it is the codec or my computer, but unfortunately I was unable to 
view these...

>Since I needed to have images on both 
>sides I couldn't use a mesh (or at 

I think that with MegaPOV you could, since all the triangles should have a 
normal vector - and therefore you could use the inside texture thingie. I 
think. Haven't tried.

Actually, it could possibly be done with meshes even in normal POV-Ray, but 
it would have been a bit messy: You can apply textures to individual 
triangles, just make a "hollow" paper, where the top and bottom surfaces 
meet only at folding points, and are something like 0.000001 apart at 
maximum. 

>thin box with imagemaps, cutting and 
>folding. This is a recursive process 
>(isn't it?) and it took ages to render.

Darn I hope I could see this. Before I decided to go the mesh-route I was 
considering something similar, along with a plenty of other options. How 
did you handle the points where the paper is folded several times over the 
same spot?

Yours,

  -- Nikodemus


Post a reply to this message

From: Remco de Korte
Subject: Re: Animated paperplane v0.1 -- 3 attachments (65KBU)
Date: 27 Feb 2001 18:09:23
Message: <3A9C3389.D6DF4BE7@xs4all.nl>
Nikodemus Siivola wrote:
> 
> Remco de Korte <rem### [at] xs4allnl> wrote in <3A9AFF6D.BC7DD671@xs4all.nl>:
> 
> >I did a similar thing some time ago.
> >I've attached some small examples.
> 
> >If the codec is a problem I could
> >post the larger (file) versions .
> 
> Dunno if it is the codec or my computer, but unfortunately I was unable to
> view these...

I have already posted an mpeg version.
I didn't really remember what codec I used. 
I created the AVI with Fast Movie Processor 
and I just found it also supports the (a?)
MPEG4-codec. It could just be I used this, 
but FMP gave the file an AVI extension just 
as well. Perhaps you can view the files if 
you change the extension?

> 
> >Since I needed to have images on both
> >sides I couldn't use a mesh (or at
> 
> I think that with MegaPOV you could, since all the triangles should have a
> normal vector - and therefore you could use the inside texture thingie. I
> think. Haven't tried.

Me neither. At the time I made this I didn't 
have MegaPov yet.

> 
> Actually, it could possibly be done with meshes even in normal POV-Ray, but
> it would have been a bit messy: You can apply textures to individual
> triangles, just make a "hollow" paper, where the top and bottom surfaces
> meet only at folding points, and are something like 0.000001 apart at
> maximum.

The problem with this approach is that you can 
have folds crossing each other so it would be 
rather difficult to calculate the triangles 
(at least to me).

> 
> >thin box with imagemaps, cutting and
> >folding. This is a recursive process
> >(isn't it?) and it took ages to render.
> 
> Darn I hope I could see this. Before I decided to go the mesh-route I was
> considering something similar, along with a plenty of other options. How
> did you handle the points where the paper is folded several times over the
> same spot?
> 

That's the problem. What I did was a more or 
less recursive process. You start out with a 
thin box, cut it in half and fold them on top.
Then you take this result, cut it in two parts
and fold those together, etc. Obviously with
only a few folds this will result in a whole
clutter of CSG for POV-Ray to wade through.

Anyway, I did get the imagemaps right and that
was the whole point.

There is something else, which I saw you also
handled really well: the thickness of the 
paper and the room between folds. I don't know 
how you did it but it took me quite some 
trial and error to get it right.

> Yours,
> 
>   -- Nikodemus

Kind regards,

Remco
http://www.onwijs.com/


Post a reply to this message

From: Chris Huff
Subject: Re: Animated paperplane v0.1 -- 3 attachments (65KBU)
Date: 27 Feb 2001 21:21:39
Message: <chrishuff-024311.21202927022001@news.povray.org>
In article <Xns90567D065894tsiivolacchutfi@204.213.191.228>, 
tsi### [at] cchutfi (Nikodemus Siivola) wrote:

> I think that with MegaPOV you could, since all the triangles should 
> have a normal vector - and therefore you could use the inside texture 
> thingie. I think. Haven't tried.

The interior_texture feature should work fine with triangles, the side 
that is "outside" or "up" is determined by the order of the vertices. As 
I recall, "up" is the direction from which the points wind clockwise.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Nikodemus Siivola
Subject: Re: Animated paperplane v0.1 -- 3 attachments (65KBU)
Date: 28 Feb 2001 06:21:32
Message: <Xns9056880288393tsiivolacchutfi@204.213.191.228>
Remco de Korte <rem### [at] xs4allnl> wrote in

>I have already posted an mpeg version.
>I didn't really remember what codec I used. 
>I created the AVI with Fast Movie Processor 

I cannot really claim to know this stuff - like I mentioned, the paperplane 
was my first animation (discounting the tutorial) - but try VideoMach. It 
is a successor of the Fast Movie Processor, and it supports .png as input 
format, and mpeg1 (among others) as output. And most importantly for me 
it's easy to use...

>> Actually, it could possibly be done with meshes even in normal
>> POV-Ray, but it would have been a bit messy: You can apply textures to
>> individual triangles, just make a "hollow" paper, where the top and
>> bottom surfaces meet only at folding points, and are something like
>> 0.000001 apart at maximum.

>The problem with this approach is that you can 
>have folds crossing each other so it would be 
>rather difficult to calculate the triangles 
>(at least to me).

What I did was first fold the a real paperplane, unfold it and draw the 
creases on graph paper. Then it was time for some head-banging and 
trigonometry to find out the points where the creases cross each other or 
the edge of the paper. This process was much aided by rendering each 
relevant set of triangles (one set per area delimeted by creases) in a 
different color while having the "paper" in it's unfolded state. Easy 
visual verification for having the points right.

>There is something else, which I saw you also
>handled really well: the thickness of the 
>paper and the room between folds. I don't know 
>how you did it but it took me quite some 
>trial and error to get it right.

Thanks! It wasn't the hard part, really. Once I had the points (vectors) 
declared I used a simple macro to rotate the relevant points around the 
fold-lines. The hard part was the topology of the paper: which fold folds 
when, where and around what.

Also, I cheated:

A) only the "right" side of the plane is really modelled, the left side is 
just a copy of the right scaled <-1, 1, 1>. B) a couple of points along the 
center-line are checked to see if they have crossed to the wrong side. If 
they have, they are returned to the center line. If I didn't do this the 
paper would "tear" on a couple of points.

Yours,

 -- Nikodemus


Post a reply to this message

From: Nikodemus Siivola
Subject: Re: Animated paperplane v0.1 -- 3 attachments (65KBU)
Date: 28 Feb 2001 06:38:59
Message: <Xns90568AF81672Ctsiivolacchutfi@204.213.191.226>
Chris Huff <chr### [at] maccom> wrote:

>The interior_texture feature should work fine with triangles, the side 
>that is "outside" or "up" is determined by the order of the vertices. As 
>I recall, "up" is the direction from which the points wind clockwise.

Thanks! Will have to try. 

 - Nikodemus


Post a reply to this message

From: Nikodemus Siivola
Subject: Re: Animated paperplane v0.1 -- 3 attachments (65KBU)
Date: 28 Feb 2001 06:47:24
Message: <Xns90568C6598F3Btsiivolacchutfi@204.213.191.226>
Remco de Korte <rem### [at] xs4allnl> wrote in
<3A9C3389.D6DF4BE7@xs4all.nl>: 

>I have already posted an mpeg version.

Was finally able to view it: very nice! I can see why you wanted it done 
with pigments...

 - Nikodemus


Post a reply to this message

From: Remco de Korte
Subject: Re: Animated paperplane v0.1 -- 3 attachments (65KBU)
Date: 28 Feb 2001 09:09:20
Message: <3A9D0675.BC87BFAE@xs4all.nl>
Nikodemus Siivola wrote:
> 

> Also, I cheated:
> 
> A) only the "right" side of the plane is really modelled, the left side is
> just a copy of the right scaled <-1, 1, 1>. B) a couple of points along the
> center-line are checked to see if they have crossed to the wrong side. If
> they have, they are returned to the center line. If I didn't do this the
> paper would "tear" on a couple of points.
> 
> Yours,
> 
>  -- Nikodemus

Cheater! 8)
It's a good trick, though. I was glad I figured out how to do it the hard way
and after that I could leave the rest up to my system (which needed a couple of
days to render the whole bunch).

BTW the method I used wasn't really very hard once I figured out how to do it.
Just find the line on which to fold, cut the model and rotate the parts around
this line. I also figured out how to more or less automate the correction for
the thickness of the paper. It's the long render times that were a problem
during the tests.


Remco


Post a reply to this message

<<< Previous 6 Messages Goto Initial 10 Messages

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