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] 3D Engine Progress

Post by GroundUpEngine »

eatcomics wrote:So question, would I be better off using a debug singleton, or a debug class that everything inherits from??? I would really love to hear an answer and explanation :D Seeing as how I'm going to be doing some 3D stuff, and would really love to be able to have some good debug...
The 'Debug Class' can apply to any program tbh, essentially all it does is print important output (e.g. "Engine has fucked up!") to a File or Console by default, the reason a Singleton is good for this is because it grants you access to the same File or Output Stream, etc..

This example is similar to my engine's Log class, check it out->

Code: Select all

#define DEBUG_F "Program_Debug.txt"
#define ERROR_F "Program_Error.txt"

class Debug {
  public:
	// De/Constructor //
	Debug();
	~Debug();

	// Debug Functions //
	void Write(const char* FileName, char* Data) {
		ofstream Temp(FileName, ios_base::app);
		Temp << Data;
		Temp.close();
	}

	// Other Debug Functions //
	Debug* GetDebug() {
		return this;
	}
};
Here's the Singleton class I use->

Code: Select all

template<class T>
	class Singleton
	{
	  private:
		// De/Constructor //
        Singleton();
        ~Singleton();
        Singleton(Singleton const&);
        Singleton& operator=(Singleton const&);

	  public:
        // Meyers - Singleton Function //
		static T* GetInstance()
        {
            static T sInstance;
            return &sInstance;
        }

	};
With both of these classes I can make a Singleton Instance of the Debug class, in any file, class or system like below ;)

Code: Select all

class Engine {
  Debug* test;
  ..etc
}

Code: Select all

Engine::Engine() {
  test = Singleton<Debug>::GetInstance();
}

void Engine::Initialize() {
// Initialize Some Shit //

test->GetDebug()->Write(DEBUG_F, "Engine Initialized\n");
}
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 »

Update:

~ More Engine code maintenance :roll:
~ Done rewriting the rendering system and wiring it into the engine!
~ Only singleton in Engine is Debug Log hehe
~ All assets MD2, OBJ, PNG, MP3, WAV, etc... will be easy to load and/or use with other objects
~ I made wrappers for everything, cus I'm lazy ahahaha :lol:
# Gunna do some serious work on the Tools this weekend
# Might make another video soon



I express my feelings of the GroundUpEngine below->
Image

Edit:
Fuck! Half an hour of Debugging, and it compiled! :lol:
**Note to Self: Stop changing function names**
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 »

Thanks for the info :D

and also glad to hear the progress :D, do a video soon!
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 »

Notice:

Engine on hold till I get the Editor up and running, then I'll sync it up and make a Demo Map for the next episode
quickshot14
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 31
Joined: Thu Mar 11, 2010 2:51 am
Current Project: VB.NET Direct X Game Engine (Working Title)
Favorite Gaming Platforms: PC
Programming Language of Choice: VB.NET (for now)
Location: Nebreska, USA
Contact:

Re: [GroundUpEngine] 3D Engine Progress

Post by quickshot14 »

GroundUpEngine wrote:Notice:

Engine on hold till I get the Editor up and running, then I'll sync it up and make a Demo Map for the next episode
Damn loved all the vids homer ftw! LOL cant wait to see it man, love to see how people come up and do diffrent editors and one for a 3d engine like yours should be great to see :)
Amatuer Game Design/Programmer & College Student (Kaplan University: Associate of Applied Sceince in Information Technology: Application Devleopment)
Know Programming Languages & Considered Levels Of Programming in them: Basic(DOS) - 10%, VB(Legacy) - 15%, VB.NET - 55%, C/C++ - 1%, C# - 1%, LUA - 25%, Java - 0%, COBOL - 0%
________________________________________________
Current Game Development/Programming Projects:
VB.NET Direct X Game Engine (Working Title) - (Lanugage: VB.NET | Released Type/Status: Open Soruce / Unreleased)
________________________________________________
Quicks14Blog (My Gaming Related Blog Page) - My Youtube Channel Page
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: [GroundUpEngine] 3D Engine Progress

Post by LeonBlade »

GroundUpEngine wrote:Update:

~Did a Little Work on the 2D parts of the Engine, the Engine is Mostly 3D but wanted to Expand and I was bored :P
--
~Working on a Console Class and Engine Commands, Similar to Source Engine
~Writing Some More Client-Server Stuff that Can be Used Ingame Effectively
~Still Implementing/Improving Editor & Viewer Functionality
~Start Playing with other Model Formats like MD5 e.g. Hellknight ;)

#Gunna Learn Some More About Bump Mapping & Point Lights / Shadows, etc..

Image
Boy, does that console look familiar, eh? :lol:
Looking great so far! :)
There's no place like ~/
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] New Video!

Post by GroundUpEngine »

Update:

Damn, it has been almost 2 months since I have made an Engine video on Youtube. Well as you can see I haven't gave up, but have taken on harder techniques and implementations. My previous GroundUpEngine Development videos were not of a very good quality, and didn't really showcase the engine's features. The engine structure and ways of doings things have been rebuilt, but this makes things more optimized, easier to use and fast.
GroundUpHeroes(TPS) was the game I wanted to develop with this engine, and now I feel I can actually get to work on it aswell as other things and produce something tangible. So from now on I hope to make videos more game orientated. Well here it is ;)


Part 1 - http://www.youtube.com/watch?v=S92Hd_P6B4k


Part 2 - http://www.youtube.com/watch?v=hfNtBFj2GtI

p.s. Made this a few days ago ("Actors" idea from Unreal Engine)->
Image
quickshot14
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 31
Joined: Thu Mar 11, 2010 2:51 am
Current Project: VB.NET Direct X Game Engine (Working Title)
Favorite Gaming Platforms: PC
Programming Language of Choice: VB.NET (for now)
Location: Nebreska, USA
Contact:

Re: [GroundUpEngine] 3D Engine Progress

Post by quickshot14 »

Awsome stuff on that editor and getting it rolling I bet you feel pumped its the little steps and seeing it start to really come together thats really its own reward you stop when its working even if its not 100% perfect and go 'damn I acutally will be able to make my own game' lol I tend to find myself doing that a lot with just small things. So awsome stuff editor is really nice and appropriate for the engine. And your totaly right about using your engine code into your editor it helps dramaticly and its things like that, that can really show how object oriantated (bleh cant spell) programming really comes together. Awsome stuff! Love it keep it up man!

Quick note I notice your using cam studio, its great but can be a real pain with some things if you were curious what I use to record my footage from a desktop setting I use debut it has a free basic version that is acutally quite nice and prety darn perfect for recording this stuff just in case you want to take a look at it. Look forward to seein more :)
Amatuer Game Design/Programmer & College Student (Kaplan University: Associate of Applied Sceince in Information Technology: Application Devleopment)
Know Programming Languages & Considered Levels Of Programming in them: Basic(DOS) - 10%, VB(Legacy) - 15%, VB.NET - 55%, C/C++ - 1%, C# - 1%, LUA - 25%, Java - 0%, COBOL - 0%
________________________________________________
Current Game Development/Programming Projects:
VB.NET Direct X Game Engine (Working Title) - (Lanugage: VB.NET | Released Type/Status: Open Soruce / Unreleased)
________________________________________________
Quicks14Blog (My Gaming Related Blog Page) - My Youtube Channel Page
User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: [GroundUpEngine] 3D Engine Progress

Post by MrDeathNote »

Nice work man, i love the editor, it's def cominon really well. Seems like you've made great progress, great job bro :)
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
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 »

Zomfg, it's Zelda soundtrack!! ;)

Nicely done.
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 »

Thanks all for the comments, feedback and ratings so far. It motivates me to do even more and I really appreciate it! :mrgreen:
K-Bal wrote:Zomfg, it's Zelda soundtrack!! ;)

Nicely done.
aha! Thought you guys would like that :)
User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: [GroundUpEngine] 3D Engine Progress

Post by MrDeathNote »

GroundUpEngine wrote:Thanks all for the comments, feedback and ratings so far. It motivates me to do even more and I really appreciate it! :mrgreen:
K-Bal wrote:Zomfg, it's Zelda soundtrack!! ;)

Nicely done.
aha! Thought you guys would like that :)
Lol it was a nice touch.
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
User avatar
Maevik
Chaos Rift Junior
Chaos Rift Junior
Posts: 230
Joined: Mon Mar 02, 2009 3:22 pm
Current Project: www.keedepictions.com/Pewpew/
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: Long Beach, CA

Re: [GroundUpEngine] 3D Engine Progress

Post by Maevik »

Wow dude, you're making tons of progress! Great work, keep it up!
My love is like a Haddoken, it's downright fierce!
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] collab with 3D artists

Post by GroundUpEngine »

Maevik wrote:Wow dude, you're making tons of progress! Great work, keep it up!
Thanks! Some 3d artists have recently help for some collab too :)

Edit:
Here a screenshot of some buildings from one of the artists(debug mode no shading) looks awesome though ->
Image
Last edited by GroundUpEngine on Wed Mar 24, 2010 5:56 pm, edited 2 times in total.
User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: [GroundUpEngine] 3D Engine Progress

Post by MrDeathNote »

Lol, your right it does look awesome :)
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
Post Reply