Is there a 2001 trip effect written in QB64?
#4
Spent time getting the links for this reply so I haven't looked at your code yet. While bearing some similarities to the slit scan effect the Star Wars intro crawl isn't really it. Rather than trying to explain what I am talking about here are those links (with comments from me).

Background (links in this section are all to wikipedia pages)

In around 1964 Douglas Trumbull volunteered his services to Stanley Kubrick for work on the latter's new Space movie based on a short storey (The Sentinel) by Arthur C. Clarke. Clarke and Kubrick worked together on the screenplay. Towards the end of the movie there is a sequence now known as either the stargate sequence or (by others) as the "trip" sequence. Trumbull was tasked with creating something other-worldly for this. For this he ended up adapting an old photographic technique known as Slit-scan photography (that page contains a very, very brief description of how it is done), and invented a machine to do it. Incidentally, there is an older (than the movie) variation of this method that is still in use around the world - those official pictures of horse races aka the finishing post pictures.

VIL (Very Important (YouTube) Links)

This is what the result of Trumbull's work actually looks like (it is somewhat edited though) - Stanley Kubrick - 2001: A Space Odyssey, 1968 - Slit Scan Effect (Length 1:50)

Please watch this description of the history of the slit-scan technique from its origins - 

The History and Science of the Slit Scan Effect used in Stanley Kubrick's 2001: A Space Odyssey (length 15:26)

Not only does it contain the history but also it gives a much fuller description of the mechanics of the making of the sequence above. Heck, the guy even goes to the trouble of trying to replicate (with some success I might add) the sequence from 2001. FWIW, IMO I think this is a really good video on the topic.

Suggested Method of Replicating in QB64 (real-time)

In essence think of it as having a pair of conveyor belts in 3D space whose origins are at near infinity and that pass either side of you. At the furthest away points on this conveyor you put a slice of a graphic (different graphic on each one). You then rotate the belts so that the original graphics get closer to you and add new slices to the ends of the belts. Repeat this process to create a moving graphics effect.

From that I can see 2 problems - timing and perspective effects. The timing should be obvious so I'll expand on the mechanics for the right hand side -

Load a small (vertically) image into memory.
Take a vertical slice of it one pixel in width.
Display that slice.
After a period of time, scroll the displayed image to the right adjusting the height and maybe the width in order to simulate the perspective.
Add a new slice of the image where the first slice was.
Repeat until you run out of image to slice.

Anyway, just my suggestion.

TR
Reply


Messages In This Thread
RE: Is there a 2001 trip effect written in QB64? - by TarotRedhand - 05-28-2022, 08:51 AM



Users browsing this thread: 3 Guest(s)