Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

371 Neutral

About DanielKruyt

  • Rank
  1. Hi there, I recently noted how my Windows 7 and Linux installations behaved differently when handling fullscreen game windows. On Windows, when I alt-tab from a fullscreen game to another window, there is a delay before reaching the other window, in which time the screen is completely black. On Linux, where I use Awesome window manager, switching away from a "workspace" with a fullscreen game on it has no latency whatsoever. However I did notice that leaving X and going to a TTY has a similar delay to the Windows scenario, which leads me to believe that on Linux the game's FB is being blitted into the framebuffer held by the window manager. So: Does Windows switch the framebuffer set (or single framebuffer when there is no multiple-buffering/vsync) that is presented to the screen by the GPU when focusing on a fullscreen DirectX window? Thanks for your time.
  2. DanielKruyt

    Physically Based Shading For Artists

  3. DanielKruyt


    The writing that you find when your cat took a nap on your keyboard makes more sense than this guy.
  4. DanielKruyt

    You Don't Need to Hide Your Source Code

    Do you not make games so that they can be played and enjoyed? Games will always be pirated, copied and distributed; there is nothing you can do about that. On the case of multiplayer hacks: if you do not write proper multiplayer code, the hacks will pop up anyway. Might take a few months longer but it will still happen. Client-side anti-cheats are worthless as well, rather do sanity checks on the server.
  5. DanielKruyt

    'Texture streaming'?

    @haegarr: Yes, I was aware that resizing the texture was a bit, well.. stupid, but I was not sure how costly glBindTexture was, to be honest, and my run-time atlas and model compilation took me quite a while to think up, so I wasn't sure how I could modify the code to suit binding different textures. I'm guessing I can categorise models and terrain into world-space cubes for pre-emptive loading, and build a megatexture for all the static geometry. I'll probably do it at run-time, I believe I saw an article from a Leadwerkz developer about that. Time to rewrite everything for the umpteenth time, lol. Thanks for all the advice, guys. :)  
  6. Hi there,   I'm looking to learn the correct terminology for what I can best describe as 'texture streaming' to aid me in my Googling. It's the problem of memory constraint, when you need to load a texture dynamically because the camera has moved from a city to a forest and you need a whole stash of new textures.      The texturing system I currently use in my engine ( which I am writing for educational purposes as well as a hobby ) is based on a texture array. I use each layer as an atlas except in the case of textures that need to be repeated, where I resize the textures to the maximum resolution and fit them into their own layers.     The problem with this is that I do not know if I even *can* 'stream' new textures into the same texture array, or any algorithms to do so in a timely fashion, hence I need to know what this is called. Any papers/tutorials/etc on the subject are appreciated as well.   Thanks for your time, Daniel Kruyt
  7. DanielKruyt

    Whats is the easiest programming?

    You will find learning programming to be a bit easier if you find tutorials which are written in the language you speak every day. I am assuming English is a second language to you. Your struggles with Lua I have seen many times before, on the forum of a game where Lua is used for modding. You will find copying and pasting code is a slow, dangerous way to learn, as it will not always bestow good habits on you. The course your school is offering should help you get into programming, it's a way of thinking as much as anything else. ( I find myself solving real-life problems like I would do in code quite often. ) IMPORTANT NOTE: Do not get frustrated with doing small things, programming a game is NOT an easy thing to do and it may be many, many years before you are ready.
  8. DanielKruyt

    What makes using high-res textures slower?

    Hi, thanks for all the answers! Is there anywhere that I can go to learn more about modern GPU architectures? I'm very into optimizing any and all code that I write, so I like to know as much detail about the systems I develop for as possible. Thanks for your time.
  9. Hi there, I'm trying to figure why high-resolution textures seem to cook GPUs more than low-res ones. Is it the fact that you need to do more memory reads per texture and therefore use more bandwidth? If that is the case, surely, when the triangle being rasterized is taking fewer pixels of the screen, performance should increase? Thanks, Daniel Kruyt
  • 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!