[SHOW][C++ / D3D9] Blocks...

Results 1 to 9 of 9
  1. #1
    Wait wut PenguinGuy is offline
    MemberRank
    Apr 2010 Join Date
    United StatesLocation
    765Posts

    [SHOW][C++ / D3D9] Blocks...

    I found my old source of a cube-based game using Perlin Noise and figured to touch it up to a more usable state. Debating if it's worth pursuing more at the moment.

    a1.PNGa2.PNG


    Some things to note;
    -I switched from Perlin Noise to Simplex Noise for the time being.
    -My culling isn't exactly working (Occlusion culling didn't work out too great... Debating if I should try it again or just go for ray casting.. Lol.)
    -The texture tu/uv coordinates seem correct, I haven't put too much thought on scaling the texture.. If that even needs to be done, I honestly haven't a damn clue and couldn't care less at the moment. It's there which is what I was aiming for lol.
    -I'm still looking if Octree would be the way to go.
    -And more.


  2. #2
    Apprentice StealthyX0r is offline
    MemberRank
    Aug 2012 Join Date
    10Posts

    Re: [SHOW][C++ / D3D9] Blocks...

    usable as / for what? a game?

    it's easy to do some random scenery but looks like you're faaaaaar away from able to call it a game
    and i wouldn't "touch it up" but get up to date and learn about the mechanics and techniques required to make a game

    a game consists of more than one scene, "game" state, objects and data

  3. #3
    Wait wut PenguinGuy is offline
    MemberRank
    Apr 2010 Join Date
    United StatesLocation
    765Posts

    Re: [SHOW][C++ / D3D9] Blocks...

    Quote Originally Posted by StealthyX0r View Post
    usable as / for what? a game?

    it's easy to do some random scenery but looks like you're faaaaaar away from able to call it a game
    and i wouldn't "touch it up" but get up to date and learn about the mechanics and techniques required to make a game

    a game consists of more than one scene, "game" state, objects and data
    No, I wouldn't necessary call this "random scenery" easy as the concept behind it is actually quite hard but gets easier as you learn and test more of it. And you're defining a completed game. During development, there are several stages of the game; this one in particular is stage 1. Think of it like this: A 'game' that has no bible can take many routes to reach the end. If I am going to worry about how nice/perfect the Main_Menu will be and focus less on the important aspects (world generation, world management, etc.) you're going to have a bad time.

  4. #4
    C# Programmer Jax is offline
    MemberRank
    Dec 2009 Join Date
    1,030Posts

    Re: [SHOW][C++ / D3D9] Blocks...

    Just lately I've been looking at random C++ releases and its kind of making me feel like I just want to learn how to code C ++.

    Thanks for sharing this anyway :P

  5. #5
    Apprentice StealthyX0r is offline
    MemberRank
    Aug 2012 Join Date
    10Posts

    Re: [SHOW][C++ / D3D9] Blocks...

    go for it
    it's as simple as any other language

  6. #6
    Ginger by design. jMerliN is offline
    MemberRank
    Feb 2007 Join Date
    2,497Posts

    Re: [SHOW][C++ / D3D9] Blocks...

    Quote Originally Posted by Rogen View Post
    Just lately I've been looking at random C++ releases and its kind of making me feel like I just want to learn how to code C ++.

    Thanks for sharing this anyway :P
    I'd just learn C and do things in OpenGL.

  7. #7
    Alpha Member Justei is offline
    MemberRank
    Oct 2007 Join Date
    /f241Location
    1,904Posts

    Re: [SHOW][C++ / D3D9] Blocks...

    As a learning project, this is great!
    But I recommend you check out a rendering engine unless you want to write your own (which is a very good learning project too, been there done that, and it's fun as well).

    If you are actually out to make your own game, and not interested in the learning part as much, then don't make your own game engine, it's a terrible idea :).

    It's all about what you want to achieve, create your own game, or if you want to learn more about graphics engines.

  8. #8
    Wait wut PenguinGuy is offline
    MemberRank
    Apr 2010 Join Date
    United StatesLocation
    765Posts

    Re: [SHOW][C++ / D3D9] Blocks...

    Quote Originally Posted by StealthyX0r View Post
    go for it
    it's as simple as any other language
    Whoa, what? No. C & C++ is NOT as simple as any other language. People have issues with C++ due to memory management (I'll hope you will get the gist of it), pointers, templates. Native C & C++ don't have any 'features' that new-generation coders are looking for. If they attempt to create a window using pure Win32 or read an XML file via MSXML (or by scratch) (I'm ignoring libraries on this statement), they'll just look at it dumb-founded. As an example, RAII: Resource Acquisition Is Initialization - Wikipedia, the free encyclopedia

    Your statements are becoming very vague, I would highly recommend not putting personal opinions over a matter like that.

    Quote Originally Posted by jMerliN View Post
    I'd just learn C and do things in OpenGL.
    This. I think going into C first may help on not developing terrible habits. You could also learn how to setup your project effeciently enough to where you could not rely on constant global variables, singletons, etc. etc.. if you decide to jump into C++. Not just that, a lot of people think it's OK to use a class for every little thing. C helped me quite a bit on breaking bad habits (some still exist.. :p).

    Quote Originally Posted by Justei View Post
    As a learning project, this is great!
    But I recommend you check out a rendering engine unless you want to write your own (which is a very good learning project too, been there done that, and it's fun as well).

    If you are actually out to make your own game, and not interested in the learning part as much, then don't make your own game engine, it's a terrible idea :).

    It's all about what you want to achieve, create your own game, or if you want to learn more about graphics engines.
    I've never been fond of libraries, truth be told. While yes, a rendering engine may be quicker (and provide better results), I would highly rather build it all from scratch. This whole thing started about of pure boredom, but now I have the intentions of pushing it forward. During the whole thing I'll learn a hell of a lot more of DirectX, but also, how games work, since I plan on adding goals to this sandbox-ish game.

  9. #9
    Alpha Member Justei is offline
    MemberRank
    Oct 2007 Join Date
    /f241Location
    1,904Posts

    Re: [SHOW][C++ / D3D9] Blocks...

    Quote Originally Posted by PenguinGuy View Post
    ... stuff

    I've never been fond of libraries, truth be told. While yes, a rendering engine may be quicker (and provide better results), I would highly rather build it all from scratch. This whole thing started about of pure boredom, but now I have the intentions of pushing it forward. During the whole thing I'll learn a hell of a lot more of DirectX, but also, how games work, since I plan on adding goals to this sandbox-ish game.
    Allright, well so yeah it's a learning project :).
    If you were trying to push out a product, making your own engine wouldn't be a good idea, but if you wanted to learn then this is a great thing.



Advertisement