Jump to content
  • Advertisement

All Activity

This stream auto-updates     

  1. Past hour
  2. ninnghazad

    Did I really remake Minecraft?

    Apart from agreeing about the situation in germany, there is a public thing starting just about now to which you might apply - „De-minimis-Beihilfe zur Computerspiele-Entwicklung des Bundes“. 3rd of June or something like they start accepting applications. Haven't looked too deeply yet, but it's sure worth checking out. Also - put some more screenshots on your page, It sounds nice.
  3. Today
  4. Green_Baron

    Change Animation in OpenGL

    I have never done it the old way ... I totally lack your experience, came here just shortly. It is only (if i am not mistaken), the newfangled pipeline way does things so much different and makes so much better use of today's hardware (correct me if that's incorrect) that it might be in vain to spend too much time learning the old way. The glut family isn't maintained any more (i think). glfw for example leaves the control of the loop totally to the programmer and supports various platforms and Vulkan. My question would be, @tamlam, have you considered using "modern" OpenGL and actually decided not to use it for reasons ? You'd get much more help when using OpenGL >3.3, i'd say ...
  5. midn

    Game engine for a 10 years old

    Definitely something with a larger focus on programming. The age here isn't the problem, making games with things like Scratch wouldn't teach a 30-year old on how they work. Game Maker I'd recommend a lot, it's programming language, while horribly designed, is great as a first language. Although, I'd also recommend starting programming from scratch completely, and to forget gamedev for now. You could try teaching Lua, then move on to Love2D. After that you can make the leap to C and then onto C++.
  6. ptietz

    Questions about C#

    Well, Visual Basic and C# are both Microsoft's domain. So that's why you might see similarities there. Personally, though, I think they're both very different. For me C++ looks different from most other languages. So that might also have lead to your impression. I believe there is no such language that is inherently better suited for games than others. You could do a whole Game based on JavaScript. Sure, some engines use other languages than others. But you're not confined to a specific engine to realize your vision, are you? The forms, you mentioned are part of Microsoft's .NET framework work and I believe they work with Basic just as well. Though, I'd rather not because MS has restructured their whole desktop thing with the new apps they have. Also, Unity, for example, handles forms in a totally different way.
  7. GoliathForge

    Change Animation in OpenGL

    I asked this question yesterday. When you're a beginner, does it really matter? If all you need is alpha blending and we're not lighting pixel art, then fixed function seems perfectly acceptable. When you say out of style long ago, are you saying should not be used at all? I'll say again, glut I've never used, but looking at it now, there were some interesting aspects of it that seem worth experiencing if you have not. I think many of us loose sight of the prize. We think the uber shader will make our game into something it isn't. I know I spent many years focused on the eye candy when the real fun factor goodness was not in any of the rendering api's or cross platform helper libraries. Just an opinion.
  8. fleabay

    Change Animation in OpenGL

    glBegin(); You're missing a ton of upvotes that you deserve. glEnd();
  9. Green_Baron

    Change Animation in OpenGL

    More of a general question out of curiosity: is there a special reason why you guys use OpenGL 2, which became out style long ago ? Even glut is outdated and freeglut's latest release is from 2015 or so ? Or am i missing something ?
  10. Shaarigan

    Questions about C#

    Forms, especially Winforms are obsoleted too and have been replaced by WPF. You can run your game in C# even if there are some libraries written in C++ you need like OpenGL for rendering, they could be included into your C# code via C++/CLI (not recommended) or the more flexible p/invoke layer using DLLImport Attribute and the function signature. The other way round is a lot harder to achieve because you need to provide a CLR in your C++ application to run C# in the same process but you could also run the C++ and C# in different processes and just communicate via IPC. C# can also be transpiled into native code using either IL2CPP or from this GitHub project IL2CPU, an x86 assembler to run directly on the hardware without any OS arround it
  11. vinterberg

    Game engine for a 10 years old

    Yes it does, and image loading/blitting and so on - you can even use DLLs to add stuff like sound etc.. Also there's several IDEs to choose from, it's really a good beginner environment for a young mind
  12. GoliathForge

    Change Animation in OpenGL

    I have absolutely zero experience with glut. Do you have the version that has glutKeyboardUpFunc and glutKeyboardFunc? This might be a good opportunity to build a real handler before moving on to graphics. http://www.swiftless.com/tutorials/opengl/keyboard.html looks like a standard approach within glut. The next option might be GetAsyncKeyState, part of the windows api, when you experience multiple keypress restrictions.
  13. Are you sure about point 3. ? In your code (and in all DXR samples) the table entry is: [ShaderID of HitGroup][LocalRootSignatureData] there are no individual ShaderIDs in table, just HitGroups IDs anyway thanks for clarification about LocalRootSignatures
  14. Magogan

    Did I really remake Minecraft?

    That is a stupid reason. There is no evidence or indication that I have used copyrighted material without the necessary permissions. If that is their reason, they would need to reject every online shop because product images and descriptions could be copyrighted material that are used without the necessary permissions. And why should a payment processing provider even care about that? Investing in games has a high risk, yes. But it is much easier to find an investor for that in the US or Asia than in Germany. It is still not easy, but in Germany it is more likely to win the lottery than to find an investor for a game.
  15. tamlam

    Change Animation in OpenGL

    I see a problem that although pressing key 1 time, the displayCube(void) runs many times. So, if we use the for loop inside the the displayCube(void) function, the loop will run many times. for examples, when I press 'w' key, i variable will run from 0 to 5 many times, it means all cubes will appear. When I delete the for loop, it may work. How can we avoid it? with still using for loop inside display() function.
  16. JohnnyCode

    Questions about C#

    MFC is obsolete and it is replaced by C# forms. The difficulty for using C# in games is that any library is first exposed by C++ and you need to build CLI layer to use it inside C# modules. C# as managed language runs over unmanaged C++ libraries as for OS resources (sockets for example), and has only basic types/operations included as isolated.
  17. Daid

    Did I really remake Minecraft?

    Those are the exceptions, not the general rule. As an investment, game development is pretty high risk. And for the casual observer, your screenshots look exactly like minecraft. As investors have to shift to a lot of proposals, they need to be impressed quickly. Not be reminded of something that exists already. And there is the risk that you used copyrighted materials, which is the most likely reason for the rejection. For the non-casual observer, I see things that look like a copy-cat of minecraft, and some enhancements on the concept. But nothing that screams to me.
  18. Psychopathetica

    Specular Lighting seems Backwards

    Ok guys. I solved it!!! Now due to the fact that there are tons of Specular lighting demos out there, a lot of em are just objects in a fixed position and NOT in a First Person Shooter style camera environment where you can move around and see it in action. With that said, there's a lot of misinformation on what to use. For example, do you use a uniform camera position? Or do you use a model matrix * uniform camera position? Or do you use a model matrix * view matrix * uniform camera position? Same thing with the objects position, the normals, and the light position. What do you use? Well....after playing around with it for 3 solid weeks, I finally got the correct ones you need. Note: Model Matrix is both Local and World Matrices multiplied into one matrix Object Position Object Position = vec3(Model Matrix * vec4(v_position, 1.0)); (where v_position is the position of the vertices of the object, not necessarily the object position) Camera Position Camera Position = uniform camera position (just the position you fed into the shader) Light Position Light Position = uniform light position (again, just the position you fed into the shader) Normals Normal = normalize(vec3(transpose(inverse(Model Matrix)) * vec4(v_normal, 0.0))) With this combination, I got it working flawlessly on any round objects, tubular objects, as well as flat surfaces on the correct side. Even has a decent shine! And yes my light direction is negative where my reflect method is like in all of the other tutorials. Why this information is not available like this is beyond me. Thanks for trying though =D
  19. tamlam

    Change Animation in OpenGL

    I have another problem below: If I press "w" there are 5 cubes will appear at the same time. How can I make 5 cubes in 5 times press the 'w' key? Would you please give comments. int countcube(0); bool presskey(false); void drawBox(int i) { glPushMatrix(); glTranslatef(i+0.5, i+0.5, 0.5); glColor3f(0.5,0.0, 1.5); glutWireCube(1); glPopMatrix(); } void displayCube(void) { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glEnable(GL_BLEND); glBlendFunc(GL_ONE, GL_ZERO); SetLight(); glPushMatrix(); for (int i(0); i < 5; i++) { drawBox(i); } glPopMatrix(); glutSwapBuffers(); } void keyCube(unsigned char key, int x, int y) { switch (key) { case 'w': if (presskey == true) { countcube++; glutPostRedisplay(); } else { } break; } }
  20. Magogan

    Did I really remake Minecraft?

    One word: Germany. People here apparently have no idea about technology. I recently created an account on a government website and had to print and sign the confirmation page and fax it to them. I then got a physical letter stating that my account is now active. I also have been asked multiple times whether my game contains violence. Why is that a problem? That's what the age ratings (USK etc.) are for!? Also, there is no way to get funding for game development outside of private investors. And there are almost no investors who invest in games in Germany, I guess no one told them that you can make billions with a single game. There are multiple programs that supply you with money when you start a company, and they have some example use cases like a hair dresser or a car repair shop. People here are stuck in the 1980s apparently. Some in the 1930s, especially in Saxony. Anyway, so you think it's not a problem that my game looks a little bit like Minecraft? But can and should I do more to distinguish it further?
  21. Alberth

    Need pathfinding idea feedback

    You asked how to store a 3d map in a 2d plane. I just answered that question. I think the main point to take away is that what the player thinks and sees can be different from what the code is actually doing. As long as you keep the illusion complete, he/she will believe anything you say. As to why, there can be technical reasons why one form is more preferred than another form. If you have a large 1D array like my first solution, "position" becomes a single number, rather than 3 numbers, which can be an advantage in coding. You say not all tiles will be reachable. That means you're currently wasting memory space while storing the map, the 3d array does have space for the full amount of tiles even if you don't use them. Depending on how irregular your map is, such waste may become significant enough to fix.
  22. Nypyren

    Questions about C#

    C# can be used for a wide variety of things, not just Forms. You can use it with Unity to make games. You can use it with ASP.Net Core to make web pages or web services. You can make command line tools. You can port to various other operating systems (not just Windows). There are a lot more things you can do with it than I could even list. It has the same sort of of variety you have with C++ (not exactly the same, but very flexible).
  23. Julie.chan

    Game engine for a 10 years old

    Mostly because the first post is talking about what the poster wants, not what the kid wants: And the only thing mentioned that the kid wants to do is make a board game. It looks to me like the kid just wants to make a board game (or perhaps multiple board games) and the poster is using this as an opportunity to introduce him to programming.
  24. Yes,you need to specify the name of your AnyHit shader for the AnyHitShaderImport member of the hit group desc in order to add alpha-testing. Local root signatures are associated with hit groups, so you need to share the same local RS between ClosestHit and AnyHit shaders within a hit group. When you have two shaders in your hit group, then the layout of your shader record goes like this: Shader identifier for ClosestHitShader Shader identifier for AnyHitShader All local RS parameters Yes, I believe the export names all need to be unique. But I'm not 100% sure on that By the way, if you want to see an example of alpha testing working in DXR you can check out my simple path tracer. You can find the code for setting up the state object here.
  25. Sorry for being vague. I have an object on screen and as I click on one of its faces, I need to get the exact coordinates in model space of the point laying below the mouse cursor.
  26. Yesterday
  27. _Silence_

    Did I really remake Minecraft?

    It looks to have the same appearance, right. But this is weird providers refused your game to my opinion. Many games were looking like Doom. Many games were looking like Unreal (and were actually using its engine). Many games are now using the Disney lighting model. For me a look is not a game. Also there was a trend some times ago telling that most games will go Minecraft way (I'm not talking about if this is fallacious or not). So they might do it only to protect themselves.
  28. fleabay

    Game engine for a 10 years old

    I've read the thread and I can't figure out why you said this.
  1. Load more activity
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!