Jump to content
WnSoft Forums

PTE really nice : How to put a cube in a slideshow


JPD

Recommended Posts

Here is a little slideshow which use the PZR functions to simulate a cube with rotation on the 3 axis. All the picture used for the cube are square of 400 x 400 pixels

The precision of PTE is wonderful and it is abble to do many calculations at the same time, even on my PC which is enable to run some slideshows of this forum. I don't understand why, because these slideshows doesn't need more calculation and their picture's sizes aren't greater than mine.

Link to comment
Share on other sites

You cannot see some slidesshows because your graphical card is common,

or because you must update the drivers.

May be, but why simples slideshows doesn't run and very complex one runs perfectly (I don't think their are slidesshows more complex as this one above). It's not only on my PC. I have spend 3 hours to do tests about this problem and haven't find at this time.

Note : It's a 64 Mo grahic card.

Link to comment
Share on other sites

WOaaaah, Jean-Pierre, you really are the master ! I'm really impressed once again !

I was planning to make such an effect but it wouldn't be so nice.

Would you agree to send me the PTE project (to thefreedom@[no_spam] free.fr) so that I can make a template and host it on my site (with full credit for you of course).

Thanks.

Link to comment
Share on other sites

Jean-Pierre:

Great little demo you did with the cube !!

Lin showed us how to make the cube with a great tutorial, so pushing the envelope I asked if a 6 sided cube could be done.

Seems you did it

It would be nice if you could let us know how when you have a chance

Merci

Link to comment
Share on other sites

Here is a little slideshow which use the PZR functions to simulate a cube with rotation on the 3 axis. All the picture used for the cube are square of 400 x 400 pixels

The precision of PTE is wonderful and it is abble to do many calculations at the same time, even on my PC which is enable to run some slideshows of this forum. I don't understand why, because these slideshows doesn't need more calculation and their picture's sizes aren't greater than mine.

Bravo!

John

Link to comment
Share on other sites

Jean-Pierre,

Superb !! Was this done entirely using PTE ?

bjc

Bjc,

If I refer to the title of the post "only with PTE" and to the tips JPD shows at the end of his demo, I guess it's done enterily with square images transformed in PTE using "PTE frames" and XY zoom (without constrained proportions) applied to the frames, each side of the cube beeing in a frame.

But I suspect there are a lot of calculations to have this kind of animation on three axis and may be excel use "JPD's way" (see here).

Very impressive anyway ! :)

Link to comment
Share on other sites

JPD: Amazing piece of work! Fabulous effect! Marvellous! I am absolutely gobsmacked.

How on earth did you do this fantastic effect? I would like to see a tutorial on this - just the first part where the square turns into a cube would be great for starters.

Dom: If you do manage to do a template, please place me on your mailing list for a copy.

By the way, I haven't forgotten that you said you would make a template for my '4WaySplit' tutorial, when will that be available?

Ron

Link to comment
Share on other sites

By the way, I haven't forgotten that you said you would make a template for my '4WaySplit' tutorial, when will that be available?

Ron, I didn't forget but I need time.

I think I won't start before at least one week unfortunately.

Btw, I asked you a question about my template (see here), I guess you missed it :

"Ron, I don't understand your answer, did you read the explanations in my post and did you really tried to use the template ???"

If so, why don't you think it's user friendly and what could I improve to make it easier to use ?

Thank you for your suggestions. :)

Link to comment
Share on other sites

Btw, I asked you a question about my template (see here), I guess you missed it

Sorry about that, yes I did forget about it.

I have tried again to use this template, especially the film strip, but I just cannot work out how to add my own images to the film. Nor do I know what size the images should be. How do I do it?

Ron

Link to comment
Share on other sites

First, thank you to everybody for your comments.

I have take a little time before to answer, because I tried to write an explanation, but it's too much difficult and would not be usefull, but the principle of functioning is at the end of the slideshow :

- put a picture as child of a rectangle.

- modify the 2 Zoom's parameters of the picture

- Rotate the picture inside the rectangle in order the 2 angles are on the same vertical line

- Modify the horizontal Zoom of the rectangle

- Rotate and pan the rectangle to put the picture at the right place.

You must do 3 times that for the 3 faces of a cube.

In order we can move and rotate the cube, put the 3 groups of objects as child of one rectangle (opacity = 0%)

The PZR functions for all the cube will be on the master object

Superb !! Was this done entirely using PTE ?

Yes it's done only with PTE (and the calculation with a spreadsheet)

I realized the demo is more than 15 mb (why is it so big ???).

It comes from the fact that I cheated to make pseudo perpectives which used 15 PNG files and also used 3 inverted pictures for transparency cube, these files are about 5.2 Mb and the PTE file is bigger because of these PNG files for which there are many keypoints.

The background pictures and the music are more than 9 mb, of course all can be more compressed.

The PTE file is only 245 kb.

How on earth did you do this fantastic effect? I would like to see a tutorial on this
It would be nice if you could let us know how when you have a chance

As I explain above, the principle is enough simple, but the calculations rather complex and very heavy. Impossible to do without a spreadsheet.

So, in order than everybody can put a cube in his own slide show, with his own pictures and his own parameters, I have make a special PTE file, with an user manual in french and in english, where you just have to know how to copy and past a view from one slideshow to another (thank you Hawk). If it's not enough practical, tell me, I'll try to do better.

If the principle of model is practical and good, it will be possible to make in the future a library of effects.

Give me your opinion to this subject.

The PTE template for the cube is here

Note The rotation on X and Y are made with the relative position and dimensions of the 3 pictures of the cube and the rotation on Z is the rotate function on the rectangle wich include the cube.

Link to comment
Share on other sites

If the principle of model is practical and good, it will be possible to make in the future a library of effects.

Give me your opinion to this subject.

Jean-Pierre,

The subject has been discussed here and I created a section on my site dedicated to those files.

Before starting to share templates (= library of effects), I wanted to have feedback to be sure that everybody make them the same way. It would be more user friendly for people who want to use them.

I would really like to know your opinion on my first attempt.

I noticed small problems of perspective (mainly in slides 2 and 3), a display bug (a line appears in slide 3), problem of adjustements (top of the cube in slides 4 and 5) in your template model.pte, nothing serious but you might want to correct them.

And the bmp file (main image in the slide list) is missing in your zip.

Message : "The BMP image can not be loaded. Probably the BMP is damaged".

But there is no incidence on the project.

Anyway, congratulations and total respect for this great idea to integrate (square) pictures directly in PTE to make a 3D photo cube ! :)B)

Link to comment
Share on other sites

I noticed small problems of perspective (mainly in slides 2 and 3)

First thank you for your comments, it's right, in PTE file "model", there are no perpectives to be simple, so when the cube is for instance made of two rectangles, it seems wrong.

I have cheat when I did the "Mise en boite" in order to have like a perpective, but it wasn't always good.

After you write about perspective, I have, may be, find a solution, but it's enough difficult to do, and I don't think it would be usefull for PTE users because too complex.

You're right for library, wait if there are feedback.

Link to comment
Share on other sites

  • 3 weeks later...
a display bug (a line appears in slide 3), problem of adjustements

I have make a new one without this problem, it's here.

Thedom, you asked me to put the last one on your page, I didn't answered because I want to make a new one before. It's done, so now it's OK

Link to comment
Share on other sites

Jean-Pierre,

It works great !

Before uploading it on my site, can I suggest some minor changements:

- change the name of the objects 'face 1', 'face 2', etc... with ' *REPLACE* (face 1) ', ' *REPLACE* (face 2) '

- remove slide #4 which has no purpose and might be confusing

- make a sample of your template and put it as main image. This sample is out of the screen and set its name to ' **REMOVE** (sample) '

That's what I did for mine and as bjc already released a - excellent - tutorial for one of them, I think it will prevent people from beeing lost to use the same codifications.

If you want, I can make the modifications for you.

Just tell me. :)

Thanks again for this great template !

Link to comment
Share on other sites

This is astounding! Congratulations to JP and all the others who have made suggestions or modifications.

I'm wondering how much would have to change to end up with just a cube on a black background (for example) that, in it's tallest position during rotation, would just fit on the screen. So it's just a full-screen rotating cube. Then adjust it so that all 6 of the faces show (not necessarily in an equal or predictable order) with a different picture.

This would simulate a real cube with a different picture on each face, spinning "randomly" in space.

I admit I have not dug through the .pte file to try to understand what's really happening. I'm just describing what I see in my mind's eye as the end result.

Thanks for any help!

Link to comment
Share on other sites

I have made some tries, and the ressult isn't so nice that we can imagine. The first problem is that generally the pictures aren't a square, so the cube must be a rectangle, it's possible to do but not necessary.

In fact the best result I had is to zoom the full picture from 100% to the same size as the cube, to rotate the cube and to zoom the new picture from the cube to full sreen.

That mean that you distort the picture ratio 4/3 to ratio 1, but it's not a big problem.

To get the file wich must be in the cube, the easiest way is to put the good value of zoom of you picture in order it become a square of 400x400 px and make a screen copy that you use in the cube.

Note, it's nicer to don't put the cube in the center of the screen.

Link to comment
Share on other sites

Thanks, Granot for your comment. This was only a test, since I have made my first real slideshow with V5 which use cubes, triangles, hexagons and so on. It's here

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...