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 »

Hmm interesting, that clears things up. I will definitely brush up on GLSL before I do anything to crazy, so I understand these important things properly. :cheers:
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 »

GroundUpEngine wrote:Hmm interesting, that clears things up. I will definitely brush up on GLSL before I do anything to crazy, so I understand these important things properly. :cheers:
You should get yourself a copy of the orange book ;)
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 »

K-Bal wrote:
GroundUpEngine wrote:Hmm interesting, that clears things up. I will definitely brush up on GLSL before I do anything to crazy, so I understand these important things properly. :cheers:
You should get yourself a copy of the orange book ;)
ahah I had the orange book actually didn't read alot of it, dunno what the hell I did with it, but I'll probably try find it or buy a new one :lol:
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:

Little bit of progress I guess;
~Gonna do More Documentation but cover Every Class and Function, when I Implement Something I'll just add it to the Docs
~Vehicle System is Coming Along, e.g. player can get in/out of vehicle, collision works with vehicle too
~I have almost done the Lighting with GLSL, but I need to learn a bit more about MultiTexturing Before Implementing it
~Ima try get start on a rough Alpha Build of GroundUpHeroes and use all the stable Engine features :P

Here's a screenshot ofsome more stuff->
Image
User avatar
mv2112
Chaos Rift Junior
Chaos Rift Junior
Posts: 240
Joined: Sat Feb 20, 2010 4:15 am
Current Project: Java Tower Defence Game
Favorite Gaming Platforms: N64/Xbox 360/PC/GameCube
Programming Language of Choice: C/++, Java
Location: /usr/home/mv2112
Contact:

Re: [GroundUpEngine] 3D Engine Progress

Post by mv2112 »

GroundUpEngine wrote:Small Update:

Little bit of progress I guess;
~Gonna do More Documentation but cover Every Class and Function, when I Implement Something I'll just add it to the Docs
~Vehicle System is Coming Along, e.g. player can get in/out of vehicle, collision works with vehicle too
~I have almost done the Lighting with GLSL, but I need to learn a bit more about MultiTexturing Before Implementing it
~Ima try get start on a rough Alpha Build of GroundUpHeroes and use all the stable Engine features :P

Here's a screenshot ofsome more stuff->
Image
:worship: :bow: :worship:
Wow, that looks GREAT!
I can't wait until the next update!
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 »

Thankies :)
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 »

@mv Agreed :D
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] I Try to Answer

Post by GroundUpEngine »

Hope you don't mind me putting this here, but I'll just answer based on what you said. I think it's relevant since I get these questions alot ;)
Live-Dimension wrote:Is it opengl or dx?
OpenGL
Live-Dimension wrote:By "ground up engine" do you mean low-level or from scratch with already existing components?
I guess so.. plus I couldn't think of a good name at the time.. hence the Lib for window/input & pure OpenGL for the rest
**My Engine is technically middleware, the front end is just easy highlevel interface whereas the back-end is just CPU/GPU stuff**
Live-Dimension wrote:It's just im really interested in trying out opengl, but I wasn't prepared for just the SCALE of how much I'd have to learn to get well 'good' at it.
tbh most programmer's I know want to try/or already have tryed an Graphics API like OpenGL or DirectX. Try it out if you want BUT it takes ages to learn how to make a game with raw API like OpenGL, my advice is maybe try it alongside a Lib like SDL,SFML,etc.. and do something simple e.g. 3D Pong and find some kind of motivation and/or goal.. **My goal was gain enough knowledge to make a 3d game, my motivation right now is my Engine**
Live-Dimension wrote:I'm not sure if it'd be worth learning OGL and getting good at it just to create a 3D game, it looks like it'd take forever, and that i would be doomed forever to messing with my own '3d engine' while having to get others to do their part of xyz project.
If you want a 3D game use an existing Engine or Framework like Unreal or Unity for example, who says anyone has to make thier own Game Engine? cus from personal experience is pretty damn hard.. and sometimes frowned upon. It's the choice of making or 'messing around' with the low level stuff, or taking an easier root and using something that does everything for you.. but honestly it doesn't matter because people do both and so do I.


p.s.
I've only been working on this Engine for a few months, some people choose to spend YEARS on Games or Engine's..
why?? I dunno maybe something mentioned from above, either way if it's worth it I personally can dig it! I hope this helps but It is what it is.. ;)
Live-Dimension
Chaos Rift Junior
Chaos Rift Junior
Posts: 345
Joined: Tue Jan 12, 2010 7:23 pm
Favorite Gaming Platforms: PC - Windows 7
Programming Language of Choice: c++;haxe
Contact:

Re: [GroundUpEngine] 3D Engine Progress

Post by Live-Dimension »

Not a problem GUE??

Anyway, sometimes its more simple to make it yourself. Sometimes you want to do just that :P
Sometimes, others have coaxed you into NOT using c++. >_>
Image
XianForce
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 767
Joined: Wed Oct 29, 2008 8:36 pm

Re: [GroundUpEngine] 3D Engine Progress

Post by XianForce »

GroundUpEngine wrote: 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;
        }

	};
I'm pretty sure I've seen you say that you use threads, and reading up on this implementation that you use, I keep reading that it's not thread safe. So is this thread safe, and how does it work for you when you use threads? I currently don't use threads, but I want to sometime in the near future, and don't want any code that could... cripple that?
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 »

Nop this method is not thread safe, however I chucked the thread stuff from the Engine when I started restucturing it, infact I'm still restructuring it :P

Anyway this should help (scroll down to C++ thread safe method) -> http://en.wikipedia.org/wiki/Singleton_pattern
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 »

Very neat stuff, threads are definlty something I look forward to latter down the road as I move into C++ its one of things it does very well and is pretty much so handy for 3d games particluarly with todays hardware. Course I have a ways to go till that happens and as far as i know theres no 'easy or standard way' to use threads for vb.net or at least none that i'm currently aware of. Anywayz awsome stuff as always man look forward to more and of course more vids :)
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
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

Is This a Good Idea??

Post by GroundUpEngine »

Idea:

So I've sorted out the Entity System with base classes and managers, the whole shabang ;)
Ok so My "Player" class now has a Use() function for Item's ->

Code: Select all

void Player::Use(Item &item)
{
    // get Item attributes
    // e.g. value, buff duration, etc..
    // apply to player
}
e.g. I used a 'Large Crate' to respresent a 'speed buff', so when the player goes near the Item and does Use(); there is more run speed for a short time.

<--- The Idea --->

Here is what I was thinking, I could treat "Weapons" the same way but I would "decal" a logo equivalent to the weapon on the crate.
e.g. So when the player does Use() there will be no buff, but instead an AK47 added to the inventory and ready to pwn! :)

Screenshot of Item ->
Image
User avatar
MadPumpkin
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 484
Joined: Fri Feb 13, 2009 4:48 pm
Current Project: Octopia
Favorite Gaming Platforms: PS1-3, Genesis, Dreamcast, SNES, PC
Programming Language of Choice: C/++,Java,Py,LUA,XML
Location: C:\\United States of America\Utah\West Valley City\Neighborhood\House\Computer Desk

Re: [GroundUpEngine] 3D Engine Progress

Post by MadPumpkin »

That's sick! In my opinion you should do a seperate model for the weapons, but a smaller crate with ammo decal, for the ammunition. I'm curious... I've never tried entity system in 3D yet. I honestly don't know exactly how to approach it so I've been asking around trying to piece together a processable concoaction. So how do you do it? I'm not asking for your source I just want the general idea if you would like to tell.
While Jesus equipped with angels, the Devil's equipped with cops
For God so loved the world that he blessed the thugs with rock
Image
Image
Image
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 »

Hells yea, i like it!
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