Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Stannum

Pages: [1]
1
SFML projects / PixelArt schmup (working title)
« on: January 09, 2009, 03:10:31 am »
After finding out that my mIRC script 3d engine (Yes, I made one in mIRC script... >_> ) was a bit too slow I decided to learn a real programming language.

I've been using sdl so far when somebody on the internet pointed to SFML. And I really like it so far  \o/

Progress so far hasn't been too quick. More in the planning stages and learning c++ and opengl.

I've spent most of the time writing a camera class that can do all sorts of crazy things. All I need to add is zoom in/out with the mousewheel and panning.

dev shots:

Model loader in progress. Models are still a simple ascii format. I wrote the model exporter for 3dsmax.

The models can contain multiple meshes inside with each mesh referencing a different texture. I made a texturemanager so that textures aren't loaded multiple times.

As I said the camera can do nifty things. You can change the eye and focus directly. Or set a new eye- of foucstarget and set a speed. The eye/focus will move towards its target with a constant speed. I still have to code in camera acceleration for this.

You can also orbit around the focus point, even when its moving. This was quite tricky to figure out. But after several a4 pages of circles, sines and cosines I was able to figure it out. yay!

Still todo for the camera:
-Camera panning, if you move the mouse to the edge of the screen it will pan
-Zoom in/out, move the camera away or towards the focus with the mousewheel

Dl link to current version:
http://janvanderweg.com/PixelArt.rar

controls:
left click = new random focus target and speed
right click = new random eye target and speed
middle click = orbit around focus

Pages: [1]
anything