Advertisement

Results for "Author: peter wilson"

5_2007-2008 #187458
Satellite Plotter v1.0 (user control)

Plots the Azimuth and Elevation of a satellite on a UserControl. This project was the result of a request from Fred in Mosta. Hey Fred! did you know I actually work as a Satellite Tracker? or is this just a crazy coincidence that you asked me to create this? The plot I've created here is very similar to the style we use at work (although this one looks better), however there are only so many ways you can do this, so I guess they all look like similar.

5_2007-2008 #187459
OpenGL 3D Star Wars style scroller

OpenGL 3D 'Star Wars'-style scroller featuring real True-Type fonts in a real 3D environment. Features GetGlyphOutline API, MIDI soundtrack, how to use the OpenGL glCallLists feature plus lots more. When I created an earlier project Convert Fonts to Vector Graphics using GetGlyphOutline (CodeId=50004) to extract True-Type Font information, it was always my intention to use this data in a 3D environment. This project is the result.

5_2007-2008 #187460
LED Clock Challenge

Rodger threw down the challenge to write an LED clock application in a few lines as possible. This is my solution, can anyone better this! If not, you may all kneel trembling before me and worship me as your new programming god ;-p

5_2007-2008 #187461
Cow Thing

Watch 28 frames of animated cow walk all over your desktop and windows, munch on the grass and moo occasionally. I was inspired by a web site I found whilst researching another project. I downloaded the cow animation and thought I might as well have some fun with it. The code is a little messy because I just threw it together on a lazy Saturday night.

5_2007-2008 #187462
A 3D Shoot-em-up using heat seeking missles.

Have fun flying around in 3D whilst shooting heat-seeking rockets at a UFO. Pure VB; no DirectX or OpenGL; I did all the maths myself. This is *** VERSION 8 *** - if you want to understand this code, I suggest you start with version 2 which is available on PlanetSourceCode... just search for "Peter Wilson" under the Visual Basic section. * The 'heat-seeking' rockets always point at the UFO. * The 'heat-seeking' rockets only have a short fuel supply, so after the fuel is exhausted they tumble back to Earth. * This is a quick-and-nasty submission.... there is heaps of unused code in here. * There's a few extra 3D models in the 'xfiles' folder - it's pretty easy to substitute values. * There's comments everywhere... I suggest stepping through the application using the F8 key (instead of pressing f5) * I promise to clean this up, and make a good game out of it... or something. I'm getting to the stage where I need to redesign my data structures a little better to accomodate the particle effects (like smoke, and bullets etc.)

6_2008-2009 #209943
A 2D game - Froggies, a game of leap frog.

Simple game of leap-frog suitable for all ages. Uses multi-dimension arrays, images and bitmaps, drag-n-drop, simple game logic, auto-creation of new swamps, registry setting! Unlike other games, this one has a well-rounded finish to it, including help file. Code is commented, and does not assume too much VB knowledge. If you are not too good at Arrays, then you may need a quick refresher course, otherwise this is a good learning project for them.

6_2008-2009 #209944
Radar Simulation

This is a simple radar simulation. The radar sweeps around in a circle looking for aircraft using the 'Dot Product'. Once it finds the aircraft it remembers it's location and plots it on the scope. The aircrafts last known location will then gradually fade until the next time it gets hit. If you swing the radar too fast you will miss an aircraft (just like a real radar unit). This radar demo was inspired by the following two submissions: 1) Title: Air Traffic Control Simulator Author: seyi Ogunbanjo http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=66211&lngWId=1 2) Title: A Radar Screen Author: Kenneth Foster http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=66278&lngWId=1

6_2008-2009 #209945
A Vacuum Fluorescent Display Simulator v1.0

This is a small application designed to mimick the look of Vacuum Fluorescent Displays (VFD). Use my VFD print method to enhance the look and feel of your next sci-fi game.

6_2008-2009 #209946
A collision avoidance system for games using DotProduct.

Demonstrates how to code an intelligent early warning collision detection system for a simple game of Asteroids. Uses matrix multiplication, vector maths and clearly demonstrates an excellent use for the DotProduct between two vectors. I placed this in the games section, because this is the start of a game, however I wanted to show you my debugging code before I pull it all out, as this debugging code very clearly demonstrates how to use the DotProduct between vectors. Making a good game is sometimes about Maths!

6_2008-2009 #209947
A Matrix Multiplication Lesson using the game Asteroids

Originally started off as a lesson in Matrix Multiplication using 3D vectors; And by "3D vectors", I don't mean 3D computer graphics... I mean "vectors". I was actually half way through coding a 3D computer graphics program, when I decided I needed a refresher course in matrix multiplication... for you see to do 3D graphics, I actually use "4D vectors". Confused? Well... so was I, so I decided to drop back a dimension and learn all over from "2D graphics using 3D vectors", so that I could understand "3D graphics using 4D vectors". Anyway... so the matrix math is going well, when I think to myself, "Hmmm... maybe I should create an Asteroids game" Well... I'm half-way through debugging the AI routine for the enemy spaceships, when I decide that with all of my debugging graphics turned on, it looked kind of cool, so I thought you would want to see it before I pull out all the debugging graphics. The actually Asteroids game will probably be finished in another month or so. I don't want to release it until I've got a kick-ass AI routine for the enemy space ships (basically I want to make computer controlled ships, just as smart as human players)

6_2008-2009 #209948
A 2D Rotation Lesson - Fly a UFO

I can't believe how much trouble I went to, to show you how to rotate objects (like a space-ship) around the Z-Axis. This should be a great learning project for people wanting to create their own vector-graphics games... like Asteroids.

6_2008-2009 #209949
Convert Fonts to Vector Graphics using GetGlyphOutline

This application can convert any True-Type Font into a series of polygons made entirely of straight lines defined by vertices. Possible Uses: Create your own 3D font applications ala "Xara 3D" style. Design assistance with large signs, corporate logos or banners. Create vector-style game graphics based on exotic fonts (ie. Wingdings)

6_2008-2009 #209950
TechniColor Mouse Trails

Simple mouse trails using recursion. Move the mouse over the form to display a colourful rainbow of colours that follow the mouse movement. You'll enjoy this, if you like watching pretty colours dance about the screen.

6_2008-2009 #209951
TechniColor Mouse Trails v 2

TechniColor Mouse Trails using recursion. Move the mouse over the form to display a colourful rainbow of colours that follow the mouse movement. Click the mouse button to change the Offset values (and thus the patterns). You'll enjoy this, if you like watching pretty colours dance about the screen.

6_2008-2009 #209952
A Simple Solar System Simulator, v1.0

This Solar System Simulator is a very simple application designed to teach you how to rotate/animate planets around a sun, but also how to rotate moons around their planets. I have also implemented a very simple yet effective zoom functionality simply by changing the form's scale settings. The position, timing and distances are not to scale. You will need to change these if you want an accurate system, however everything is commented so it should be no problem.

6_2008-2009 #209953
A 2D Asteroids Game

Smooth animation, excellent wire frame graphics, No BitBlt, DirectX or OpenGL. Pure VB. You probably won't believe what a nice game you can make with VB. Very smooth vector-style graphics with unique pan & zoom functionality. This game is not finished, but you can still have fun. It's certainly not your average Asteroids game.

6_2008-2009 #209954
A 3D Lesson v4, Advanced

Learn how to program in 3D using only Visual Basic - no OpenGL or DirectX. The major update in version 4 is the synchronization of MIDI music (2001 - A Space Odyssey) and 3D animation. I also wanted to experiment with some opening credits at the beginning. You can press the ESC key to skip the animation. The other major change is the various Camera variables have been cleaned up and placed into their own data type: 'mdr3DCamera'. You might also notice that I've created some additional data types (ie. mdr3DObject, mdrPolyhedron & mdrVertex). This is in anticipation of getting rid of the dots, and creating some lines drawings... should be exciting! Thanks go to everyone that has voted for my previous versions (look them up, they are easier than this one). The votes have helped me continue to improve this 3D application.

6_2008-2009 #209955
A 3D Lesson v3.1, Moderate

This is version three of my simple 3D lessons. The major update in this lesson, is the Virtual Camera code. You can move the camera anywhere (using the keyboard), and make the camera 'look at' a certain point. Only Dots between the Near and Far Clipping distances are visible. This 3D lesson includes some very advanced 'mathematical' topics, however I have listed the code as 'Moderate' or 'Intermediate' because you don't need to understand the advanced parts to have fun with this project.

6_2008-2009 #209956
A 3D Lesson v2, Very Simple

This 3D application shows you just how simple 3D computer graphics can be to program. Pure VB code and the only mathematics is division. Simple hey? Objects that are far away, appear smaller. Thus simply divide our 3D object's X and Y coordinates by it's Z coordinate. NewPixelX = X / Z NewPixelY = Y / Z That's all you need for 3D computer graphics, and that's all this program does.

6_2008-2009 #209957
RGB Colour Wheel

You may never again want to use VB's internal RGB function, after seeing how much simpler and better this HSV function is. Use the full colour spectrum in new and exciting ways, that are simply difficult (if not impossible) using VB's internal RGB function. It saddens me to realize that Microsoft programmers could have easily placed this routine into VB, but didn't. I wonder if this functionality is even in .NET yet? Anyone?

Languages
Top Categories
Global Discovery