Page 10 of 20

Re: [GroundUpEngine] 3D Engine Progress

Posted: Thu Mar 04, 2010 8:03 pm
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");
}

Re: [GroundUpEngine] 3D Engine Progress

Posted: Fri Mar 05, 2010 10:45 pm
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**

Re: [GroundUpEngine] 3D Engine Progress

Posted: Sat Mar 06, 2010 7:26 pm
by eatcomics
Thanks for the info :D

and also glad to hear the progress :D, do a video soon!

Re: [GroundUpEngine] 3D Engine Progress

Posted: Sun Mar 14, 2010 6:54 pm
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

Re: [GroundUpEngine] 3D Engine Progress

Posted: Mon Mar 15, 2010 4:04 am
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 :)

Re: [GroundUpEngine] 3D Engine Progress

Posted: Mon Mar 15, 2010 9:53 am
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! :)

Re: [GroundUpEngine] New Video!

Posted: Sun Mar 21, 2010 11:27 pm
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

Re: [GroundUpEngine] 3D Engine Progress

Posted: Mon Mar 22, 2010 3:52 am
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 :)

Re: [GroundUpEngine] 3D Engine Progress

Posted: Mon Mar 22, 2010 2:28 pm
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 :)

Re: [GroundUpEngine] 3D Engine Progress

Posted: Mon Mar 22, 2010 2:38 pm
by K-Bal
Zomfg, it's Zelda soundtrack!! ;)

Nicely done.

Re: [GroundUpEngine] 3D Engine Progress

Posted: Mon Mar 22, 2010 4:58 pm
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 :)

Re: [GroundUpEngine] 3D Engine Progress

Posted: Mon Mar 22, 2010 5:10 pm
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.

Re: [GroundUpEngine] 3D Engine Progress

Posted: Mon Mar 22, 2010 5:21 pm
by Maevik
Wow dude, you're making tons of progress! Great work, keep it up!

Re: [GroundUpEngine] collab with 3D artists

Posted: Tue Mar 23, 2010 11:09 pm
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

Re: [GroundUpEngine] 3D Engine Progress

Posted: Wed Mar 24, 2010 5:58 am
by MrDeathNote
Lol, your right it does look awesome :)