• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

Medo Mex

Members
  • Content count

    1184
  • Joined

  • Last visited

Community Reputation

891 Good

About Medo Mex

  • Rank
    Contributor
  1. @baldurk: Unfortunately, I have the same problem even if I reduce the image size to 2.5 MB in the project that I'm working on, although my entire project itself never exceed more than 250 MB of RAM during loading if I'm not using RenderDoc, it reaches 1.5 GB and then crash if I'm using RenderDoc.   @bioglaze: Thanks!
  2. @baldurk: It seems that I only get this problem if I do many calls to D3DX11CreateShaderResourceViewFromFile() to load a large image file (13,125 KB jpg)   I created a demo project which has the same problem.   Since the attached files are limited to 8.48MB, I uploaded the project here: http://www.4shared.com/rar/GkQJa80Gce/Test_Crash.html    
  3. Okay, all the comments were helpful here.   With RenderDoc, I found a warning that the depth stencil buffer size is not the same as the render target view size, so I had to create a depth stencil view for each render target view based on it's size.   I also found that I have uninitialized variable m_depthEnabled   @Hodgman: I'm still trying to get RenderDoc to work, it's still crashing, please check out my above comment   @Krypt0n: Number 8 failed hence number 7 failed as well :D
  4. @Hodgman: When I start it with RenderDoc, the game crash after few seconds (during loading), when I attach VS debugger, I see it's crashing during a call to D3DX11CreateShaderResourceViewFromFile()   Unhandled exception at 0x0fa813e0 (renderdoc.dll) in Program.exe: 0xC0000005: Access violation writing location 0x00000000.   It's only crashing when I run the program from RenderDoc.
  5. @vstrakh: I'm doing ZeroMemory() on all the structures that I give to D3D11 in the initialization before I put any values, the weird thing is that the problem occur most of the time when I run the release EXE (but not all the time)
  6. Hello,   Sometimes, when I run the EXE file in release mode, I either don't see the depth working at all (most common) or I see a depth problem as it appear in the screenshot: [attachment=31589:D Problem.png]   I'm doing assert(SUCCEEDED(hr)) on HRESULT for D3D11 initialization functions   I don't have this problem in debug mode, and mostly I don't have this problem if I'm running release mode from visual studio, the problem mostly appear if I'm running the EXE directly from release folder.   I'm using C++ / D3D11   Anyone know what could be causing the problem or how do I debug that kind of problem?  
  7. @Irlan Robson: I created a class to measure the time of execution for a block of code   It seems that the problem is not caused by the physics engine, because even when I use free camera to move in the scene I experience lag occasionally.   Although the lag occurs only when the frame rate drop few frames (for example: From 60 to 52), running at around 49-55 FPS for few seconds should not make any noticeable difference (should not cause lag) than running at 60 FPS, am I correct?   Btw, I have VSync enabled.
  8. @Irlan Robson: Here is what I'm doing (correct me if I'm doing something wrong): double timeElapsed = getElapsedTime(); const static double dt = 0.01; static double accumulator = 0.0; if (timeElapsed > 0.25)     timeElapsed = 0.25; accumulator += timeElapsed; while (accumulator >= dt) {     Update((float)dt);     accumulator -= dt; } And here is how I call bullet physics stepSimulation(): void Update(float dt) {     // ...     // ...     // ...     dynamicsWorld->stepSimulation(dt, 0); // dt is always equal to 0.01, maxSubSteps is equal to 0 }
  9. I tried what Irlan Robson suggested, now the frame is independent but sometimes the game lag (when there is sudden frame rate drop) for example, from: 60 FPS to 49 FPS   I'm not sure why it's lagging occasionally, any suggestions?
  10. @HappyCoder: It seems that I'm losing details and the scene appears to be burned out.   How do I get greater color range in the image without losing the details so I can take advantage of HDR?
  11. Hello Guys,   When I edit the texture in photo editing software to make the bright areas brighter and the dark areas darker, I get much better results with HDR, so I thought about doing it in pixel shader instead.   How do I write a pixel shader that makes the dark areas darker and bright areas brighter?   I'm using DX11 / C++ and rendering the scene in HDR.
  12. I resolved the problem by adding the line: m_overlappingPaircache->getOverlappingPairCache()->setInternalGhostPairCallback(new btGhostPairCallback()); However, the player penetrate the ground a little bit and then move up to get rid of the penetration, which case the player to appear going up and down sometimes.   Anyone know how to get the player to be stable on the ground?