Advertisement Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

1019 Excellent

About Hawkblood

  • Rank

Personal Information

  • Role
  • Interests
  1. I've been out of the loop for a while and just noticed that term. I tried looking it up on google, but the closest answer was a gamedev topic with a similar title as mine. I read it, but didn't get a full explanation. Is it a method of swapping/replacing data in GPU memory with texture data in CPU memory?
  2. Hawkblood

    Dealing with my messy code

    TDD..... I've been doing that the whole time without knowing it was a thing. BDD sounds more like using scripting to finish development after you have proven your code using TDD....?
  3. Hawkblood

    Dealing with my messy code

    Compartmentalize. I "try" to write small independent structures and place them in individual files. These do specific jobs and have no direct communication with others. This ends up with some redundant code (trade-off). I have a controlling structure that ties all the others together and passes any required data between. This way I always have a single structure to look at when I need to make changes. And for the most part any changes of a structure have no effect on any other (except the controller). This is how I make my insane thoughts seem sane.....
  4. Just as the title implies, when I make a small change such as "x=4;" now to read "x=5;" the compiler doesn't build that part of the code and leaves me with the old value. It correctly compiles when I select "rebuild solution".... How do I fix this?
  5. HOLY CRAP! I have to change a lot of stuff just to make this work.
  6. I'm currently using VS, but would the windows SDK work if I used a different compiler?
  7. There are a number of functions, structs, classes, and macros that don't exist within the Windows SDK. Mostly the ones in xnamath.... There may be a way, but when I tried to remove the DXSDK reference, I got LOTS of errors.
  8. I've been away for a VERY long time, so if this topic has already been discussed, I couldn't find it. I started using VS2017 recently and I keep getting warnings like this: 1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d10.h(609): warning C4005: 'D3D10_ERROR_FILE_NOT_FOUND': macro redefinition (compiling source file test.cpp) 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\shared\winerror.h(54103): note: see previous definition of 'D3D10_ERROR_FILE_NOT_FOUND' (compiling source file test.cpp) It pops up for various things, but the reasons are all the same. Something is already defined..... I have DXSDK June2010 and referencing the .lib and .h set correctly (otherwise I wouldn't get this, I'd get errors) Is there a way to correct this issue or do I just have to live with it? Also (a little off-topic) the compiler doesn't like to compile my code if I make very small changes.... What's up with that? Can I change it? Google is no help.
  9. I didn't see anyone asking what the input is for..... Why do you need it so "precise"? If you are running at 60fps consistently and it drops to 30fps at some random time for a few seconds, that's still only 16.67ms difference. If the player can detect an input difference in 16.67ms, then the player is a freakin robot.   You *can* multithread the input, but you would want to declare any variables used to store the state of such input as "volatile". This will allow your main thread to view the data without releasing it from the detached thread. I'm in agreement with Kylotan. No matter if you poll the input in a detached thread or in the main thread, you will still be handling it at the frame rate of the main thread.....
  10. Hawkblood

    I want to try Unity

    I suppose without the control I want with other engines, I'll have to stick with my own Frankenstein of a creation......
  11. Hawkblood

    Planet rendering issues

    (just read swiftcoder... This solution is similar but using long doubles) You can get around the problem by creating your own vector using "long double" values. This will mean you will need to create your own structure that handles the math that the vector structure uses and then modify your noise code to handle it. When you generate the vertex buffer for each LOD you will need to use a center value and add the offset values of each of the vertices to get a location for each vertex (using floats). The verts very far away will have the same problem as before, but they will be so far that the player can't see them. All the while preserving your noise generation precision.
  12. Hawkblood

    I want to try Unity

    I won't have "levels". Imagine a small section of the galaxy (about 30,000 stars). Each star can be reached by the player (in a ship). Each star system can have several planets and moons. Each planet/moon can be landed on and explored (the entire planet not just small sections). That amount of data would make a level editor shoot himself in the face just thinking about it! It all needs to be procedurally generated. Also, rendering a complex system of a main planet and its moons with the potential of having planet rings with asteroids (think Saturn) would cause z-fighting like crazy if you don't render in stages by distance or do some scaling trickery. All of this will be done without a load screen or pausing while it generates. Like I said, I have a good portion of it done already, just without some of the cool shaders. I wouldn't even know where to start if I had to script that kind of complex system.
  13. Hawkblood

    I want to try Unity

    I'm wanting to make a huge space game without transitions. In order to do that, I need to have control of the render loop. I have never done scripting before, so I don't know how I could use Unity with scripting to accomplish this...... I also don't know about UE4. What I don't want is an environment that I create "scenes" and script the objects. I need an engine that will give me pointers to the various functions like shaders and render objects. I already have a mostly working engine, but I thought I would try an engine that already had all the functionality. Is there any hope for me?
  14. What I want is an SDK or library to use in making games. What I downloaded seems to be only an environment that lets me place objects in a predefined scene. Granted, I have only looked at it for a short time, but I thought I would be able to use it in VS C++. Did I get the wrong thing?
  15. I'm at work, so I can't see the pictures, but if I understand what you are trying to do........   Keep track of two separate rotations (be sure to use quaternions). One for the camera and the other for the aircraft. The camera one is an "offset" of the aircraft. I would do this in two steps: -Calculate the camera's position and rotation:       -multiply the two quaternions and convert it to a matrix       -transform your camera's position by that matrix       -add the aircraft's position to your camera's position to get a "real location"       -the camera's "look-at" should always point toward the aircraft (update your camera's view matrix) -setup the aircraft's render matrix       -create the aircraft's render matrix from its quaternion       -position the aircraft in front of the camera to the specified distance       -render........
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. 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!