3D Graphics Engine Progress

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: [GroundUpEngine] progress in SFML

Post by GroundUpEngine »

Bludklok wrote:Hmm I've checked out the SFML website and I'm considering switching to it. Anyone that has used it and wants to spare some insight on it's functionality, ease of use, power, flexibility, etc. that would be awesome. I'm trying to get out of Allegro because it's not quite doing my games justice nowadays.
I started of with Allegro too and I can assure you that SFML is a far better alternative
To answer your question - it's functionality, ease of use, power and flexibility are freaking sweet!
1) Its event driven just like SDL a popular library amongst youtube developers
2) It has useful extensions for handling things like; images, windows, networking, opengl and other stuff
3) Allegro only uses Bitmaps, whereas SFML support most image types i.e. bmp, jpg, png etc..
4) Also it's very flexible and doesn't mess up on new OS's like Vista or Windows 7
5) If you take the time to read some of the tutorials on thier website you can learn things quite quickly

SFML ftw :mrgreen:
User avatar
Bludklok
Chaos Rift Junior
Chaos Rift Junior
Posts: 241
Joined: Tue Apr 14, 2009 1:31 am
Current Project: EnigmaCore
Favorite Gaming Platforms: PC, N64, Playstation1, Playstation2
Programming Language of Choice: C++
Location: New Jersey
Contact:

Re: [GroundUpEngine] progress in SFML

Post by Bludklok »

GroundUpEngine wrote:
Bludklok wrote:Hmm I've checked out the SFML website and I'm considering switching to it. Anyone that has used it and wants to spare some insight on it's functionality, ease of use, power, flexibility, etc. that would be awesome. I'm trying to get out of Allegro because it's not quite doing my games justice nowadays.
I started of with Allegro too and I can assure you that SFML is a far better alternative
To answer your question - it's functionality, ease of use, power and flexibility are freaking sweet!
1) Its event driven just like SDL a popular library amongst youtube developers
2) It has useful extensions for handling things like; images, windows, networking, opengl and other stuff
3) Allegro only uses Bitmaps, whereas SFML support most image types i.e. bmp, jpg, png etc..
4) Also it's very flexible and doesn't mess up on new OS's like Vista or Windows 7
5) If you take the time to read some of the tutorials on thier website you can learn things quite quickly

SFML ftw :mrgreen:
Sweet, thanks for the info. The only downside is that the game im currently working on is quite big and now I'm going to have to start over... But it's not big deal I'm just tired of Allegros mediocre performance and functionality.
Youtube
Website
Current project: Enigma Core
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: [GroundUpEngine] progress in SFML

Post by GroundUpEngine »

Made some great progress these past days in more than one aspect of game development, while managing to find time to study ;)

Done ->

~ Tweaked and Rigged my test model
~ Succeeded to implement animation support in my OBJ model file loader
~ Implemented a menu class
~ And added game elements like New better looking objects, HP bars, Levers and Buttons etc..



Edit:

~ Another important element I forgot was to learn is UV Mapping, first attempt simple cube

Image

Made the UV map a bit cleaner and hard coded some texture co-oridnate reading into the model loader 8-)

Image

Next attempt will be to give a simple human body texture to the Test Model I just rigged and implement proper materials and shading normals into the model loader 8-)
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: [GroundUpEngine] 3D Engine Progress

Post by GroundUpEngine »

Some more stuff ->

~ New ingame console window! only has two commands atmo
~ Engine Debug and Error file writer

Image

Image

In the near future I will implement more commands and some light scripting 8-)
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: [GroundUpEngine] 3D Engine Progress

Post by dandymcgee »

Wow, this is pulling together nicely. Keep the updates coming.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: [GroundUpEngine] 3D Engine Progress

Post by GroundUpEngine »

dandymcgee wrote:Wow, this is pulling together nicely. Keep the updates coming.
will do :mrgreen:
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: [GroundUpEngine] 3D Engine Progress

Post by GroundUpEngine »

Small update:

~The engine has a bit cleaner code now for example:

-------------------------------------------------------------------------------
To initialize a player -> GUE::Player[x, y, z, rotation, animation frame]
To update a player -> GUE::Player.update[new_x, new_y, new_z, new_rotation, new_animation frame]
To draw a static player -> GUE::Player.drawStatic[model, scale]
To draw an animated player -> GUE::Player.drawAnimated[model[], scale]
To draw a boundingbox using the players properties -> GUE::Player.BoundingBox[]

-------------------------------------------------------------------------------

Player Bob(objCamera.mView.x, 0.0, objCamera.mView.z, 0, 0);
-> Draw player infront of the camera on first frame with no rotation

Bob.update(objCamera.mView.x, 0.0, objCamera.mView.z, angy, anim);
-> Update player in main loop

Bob.drawAnimated(Gunman_Walking_Rifle, 0.8);
-> Draw player in main OpenGL drawing loop

-------------------------------------------------------------------------------

Things are much easier now, and I have already started to add in some client-server stuff which will when finished update the clients player through the server by sending the players stats via packets, so multiple players can see each other; also I have been using more linear algebra and physics to get things done.


Good night 8-)


Edit:

lol of the week -> Coding the client's player to update its stats by sending a packet via the server [before] the packet was filled with data :nono:
Last edited by GroundUpEngine on Sun Dec 13, 2009 10:14 am, edited 1 time in total.
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: [GroundUpEngine] 3D Engine Progress

Post by eatcomics »

Sounds awesome! Keep up the great work, and keep us posted!
Image
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: [GroundUpEngine] 3D Engine Progress

Post by GroundUpEngine »

New content:

~ Small FPS test done, so the engine can support different game styles
~ 1st person view /w mouse control
~ simple color textured model
~ simple game logic working

The Client-Server stuff is still being made
but I have tested game data packets bewteen multiple IP addresses
which was a success on attempt #2 8-)


Image

Image

Image
Master Jake
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 69
Joined: Sat Dec 12, 2009 8:43 pm
Programming Language of Choice: C/C++
Location: United States
Contact:

Re: [GroundUpEngine] 3D Engine Progress

Post by Master Jake »

Looks awesome, man!!
User avatar
Milch
Chaos Rift Junior
Chaos Rift Junior
Posts: 241
Joined: Sat Jul 11, 2009 5:55 am
Programming Language of Choice: C++
Location: Austria, Vienna

Re: [GroundUpEngine] 3D Engine Progress

Post by Milch »

What are you using for the network part?
Do you use WinAPI, a lib or do you code it by hand?
Follow me on twitter!
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: [GroundUpEngine] 3D Engine Progress

Post by GroundUpEngine »

Master Jake wrote:Looks awesome, man!!
Glad you like it! :P
When a decent game is made from the engine, I'll see if I can make a completely different game using at least half the code 8-)
I had a look at your 'Dark Kingdoms v1.2.1' your Batch is nice!
You could make a 2D rpg out of it, in C++ maybe
;)
Milch wrote:What are you using for the network part?
Do you use WinAPI, a lib or do you code it by hand?
I started with basic study on network programming with Winsock2 and WinAPI, it was good for starting up, but now I'm using SFML_Network.
To answer your question, <SFML_Network> is the networking part of the library I'm using 'SFML' and is a bit easier than winsock2 to work with and it does all the same things e.g. Finding IP's, Sending Data, Using Packets etc.. I would definatley reccomend using it :)

General Network Programming -> http://beej.us/guide/bgnet/
Winsock2 for Games -> http://www.gamedev.net/reference/articl ... le1059.asp
SFML's Network Package Tutorials -> http://www.sfml-dev.org/tutorials/1.5/n ... ockets.php
Master Jake
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 69
Joined: Sat Dec 12, 2009 8:43 pm
Programming Language of Choice: C/C++
Location: United States
Contact:

Re: [GroundUpEngine] 3D Engine Progress

Post by Master Jake »

GroundUpEngine wrote: Glad you like it! :P
When a decent game is made from the engine, I'll see if I can make a completely different game using at least half the code 8-)
I had a look at your 'Dark Kingdoms v1.2.1' your Batch is nice!
You could make a 2D rpg out of it, in C++ maybe
;)
Thanks =)

I'm a lot better at batch now, but I don't fool around in it as much as I used too.

When you get the client working I want to try out this engine =D
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: [GroundUpEngine] 3D Engine Progress

Post by GroundUpEngine »

New Model:

~ Textured Soldier /w Camo Rifle 8-)

Image

~ Back to 3rd person view

The models do not look polished in-game because they don't have fancy modifiers e.g. smoothing or high-level subdivisions, but the textures make them look more realistic at least ;)

Image
Last edited by GroundUpEngine on Tue Mar 16, 2010 8:06 am, edited 1 time in total.
K-Bal
ES Beta Backer
ES Beta Backer
Posts: 701
Joined: Sun Mar 15, 2009 3:21 pm
Location: Germany, Aachen
Contact:

Re: [GroundUpEngine] 3D Engine Progress

Post by K-Bal »

Seriously, you need some lighting ;) But you are making great progress! Go ahead and kick some ass ;)
Post Reply