123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|638|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> On Topic -> Finding an old piece Blitz3d of sample code

Wed, 25 Feb 2009, 12:42
zebeste
Long ago I found a neat piece of sample code for blitz3d that I don't have any more and I can't seem to find it online. Basically, it created a grid of colored cubes based on integer data, and then spun the whole grid around the y axis with varying speeds that depended on the angle between the grid and the camera. Then after a little while, the grid would explode, sending the cubes off in all directions, each with random speeds and local rotations. Then once the cubes had all flown for a certain distance or time, the whole cloud of cubes would spin around the y axis and reconverge back into the original grid, and the process would repeat. Whats more, this sample had fake motion blur on the cubes. The pattern that the code had defined in a data section formed a grid of cubes that resembled a logo for space invaders.

I am interested in translating the code for use with a 3d engine, but I can't seem to find it anywhere. Would anyone have any suggestions on where I could find it? Thanks.
Wed, 25 Feb 2009, 12:58
garand
It wouldnt be in the sample code on the Blitz3D CD?
Wed, 25 Feb 2009, 13:03
zebeste
No, I'm 99% positive that I didn't get it from there (although I will give it a look later to make sure). I remember I used to have a folder dedicated for everything that I downloaded for blitz, and I remember it being in there. It seems like I got the code from blitzcoder, but none of the archives I've been through show it. And for some reason I can't access the blitz basic website to check there.

EDIT: I just found an archive of blitzcoder with showcases, so I'm going to start filtering through it. Unfortunately, there are a freaking lot of showcases in there, and the website is extremely slow.
Wed, 25 Feb 2009, 18:09
JL235
Zebeste Long ago I found a neat piece of sample code for blitz3d that I don't have any more and I can't seem to find it online. Basically, it created a grid of colored cubes based on integer data, and then spun the whole grid around the y axis with varying speeds that depended on the angle between the grid and the camera. Then after a little while, the grid would explode, sending the cubes off in all directions, each with random speeds and local rotations. Then once the cubes had all flown for a certain distance or time, the whole cloud of cubes would spin around the y axis and reconverge back into the original grid, and the process would repeat. Whats more, this sample had fake motion blur on the cubes. The pattern that the code had defined in a data section formed a grid of cubes that resembled a logo for space invaders.

I have this on my desktop PC. If you remember to remind me in July, then I'll give it to you.

Also I'm pretty certain I got it from the BlitzBasic.com website.
Wed, 25 Feb 2009, 18:39
garand
"If you remember to remind me in July"


...
Wed, 25 Feb 2009, 21:22
JL235
Perhaps I should explain. My desktop PC is approximately 6,000 miles away from my current location. The hard disk and the machine itself are also on opposite sides of the city they are in.
Thu, 26 Feb 2009, 05:08
garand
Yes. I like to secure my Blitz code to extreme lengths also ...
Thu, 26 Feb 2009, 09:19
zebeste
I found it! JL235, you were right, it was on bb.com. Thank goodness for archives, because I was not looking forward to having to wait for bb.com to recover just to find this. It also didn't help that the word "cube" wasn't in the title or description, because that was the search term I was using to help filter through all the examples.