• 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.
Sign in to follow this  
Followers 0
Icebone1000

DX12
dx12 - dynamically indexable resources -what exactly it means?

6 posts in this topic

"In addition to the improved performance offered by descriptor heaps and tables, Direct3D 12 also allows resources to be dynamically indexed in shaders, providing unprecedented flexibility and unlocking new rendering techniques.  As an example, modern deferred rendering engines typically encode a material or object identifier of some kind to the intermediate g-buffer.  In Direct3D 11, these engines must be careful to avoid using too many materials, as including too many in one g-buffer can significantly slow down the final render pass.  With dynamically indexable resources, a scene with a thousand materials can be finalized just as quickly as one with only ten."

link

 

Does this means we will be able to bind lots of textures to a shader and than based on a drawable material (cb variable) pick the correct texture (index to texture) ?

 

Say I have a 2d game and I managed to put all my images on only 3 texture atlas, can I bind the 3 textures and never worry about textures again, as my sprites material will have an index to texture, being able to draw everything w/ a single draw call.

 

Did I get it all wrong?

Edited by Icebone1000
0

Share this post


Link to post
Share on other sites

Doesn't that mean if we stuff all vertices and indices into single buffer (along with texture indexes) theoretically it'll be possible to render whole scene in a single draw call (assuming everything uses same shader)?

0

Share this post


Link to post
Share on other sites

I have a gtx 260m, a d3d10 card, so D3D11 is used with d3d10 feature level. Will feature levels still apply with D3D12? Or Im pretty much screwed?

 

"DirectX 12 (and D3D 12) are backwards compatible with virtually every single GPU from the GTX 400 to the present day."link

 

So, d3d10 is about to be dropped together with windows xp?

0

Share this post


Link to post
Share on other sites

I have a gtx 260m, a d3d10 card, so D3D11 is used with d3d10 feature level. Will feature levels still apply with D3D12? Or Im pretty much screwed?

 

"DirectX 12 (and D3D 12) are backwards compatible with virtually every single GPU from the GTX 400 to the present day."link

 

So, d3d10 is about to be dropped together with windows xp?

 

According to Max McMullen, Direct3D 12 will have feature levels, at least something like a feature level 11.0 (and I think 11.1 and 11.2 cap-bits). Dunno about feature levels 10.x and 9.3, when DX12 will come out, most of PC cards will be at least feature level 11 compliant, but most of mobile SoC will still be feature level 9.1 or 9.3 (Qualcomm SoCs with feature level 11 support are on the way), so probably it will be only a decision of IHVs.

Edited by Alessio1989
2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • By VietNN
      Hi everyone,
      I am new to DX12, I download sample project from MSDN and it can run and draw triangles successfully.
      But when I create new project and copy code from MSDN sample (Hello Triangles Project). I do not know why it could not render anything to screen except clearing the screen with blue color.
      Could you have a look at my code to see what problem is... I got stuck here for 2 days.
       
      TestD3D12.7z
    • By piluve
      Hey guys,
      I started working on a port from dx11 to dx12. The first thing, was to setup everything to work with Dx11On12. Right now I've got that done. Basically, the render frame goes as follows:
       
      D3D12Prepare(); // setups the command list and command allocators (as well as basic clear and set render targets) GetWrappedResources(); // Dx11on12 step to adquire resources Render(); // Basically all the Dx11 rendering code etc D3D12End(); // On D3D12Prepare we left the command list opened so we can add aditional // commands, now close and execute it ReleaseWrappedResources(); Flush(); // Flush all the dx11 code Dx12Sync(); // Wait for fence Dx12Present();  
      That setup is working and I changed some commands inside Render() from dx11 to dx12. (Basic stuff like setviewport)
      I want to start porting more stuff inside the Render(), for example, we have a simple method to draw a quad (without vertex or index buffers, we use the vertex_id inside the shader).
      Basically, it should translate to this:
       
      mCmdList->IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP); mCmdList->DrawInstanced(4, 1, 0, 0); But even that simple piece of code is just not working. I would like to get some advice from someone that has done a similar process (using dx11on12), what are the limitations, things that wont work etc
      My main concern right now, is that if I want to start setting up commands that touch the IA, I would have to also create the PSO, root signatures etc etc.
       
      Thanks.
       
       
       
    • By AxeGuywithanAxe
      So I wanted to ask a question pertaining to rendering thread architecture. I currently know of two main designs.
      One approach is where visibility , drawcall logic, and gpu submission are all done on the rendering thread and render related game data is sent to the rendering thread at the end of the frame. 
      The second approach is where the sole responsibility of the rendering thread is to send gpu commands to the api. Engine abstacted Command Buffers will be generated in parallel or on the game thread, and sent to the rendering thread to be translated into gpu commands.
      I know that Engines such as Unreal Engine use the first approach, while Unity / Source use the second approach , and Cryengine uses a hybrid of both. I wanted to see if anyone could give some advice, I know some of the benefits of both approaches , but wanted to get more incite on the architecture.
    • By nbertoa
      Hi, community.
      BRE is a rendering framework or engine (under development) which purpose is to have a codebase on which develop techniques related to computer graphics and also to apply the stuff I learn about DirectX 12. I just write a series of articles about its architecture, problems, limitations, techniques, passes, scene format, etc.
      Its main page is located at https://nbertoa.wordpress.com/bre/
      You can access the different articles I wrote about it in the following list
      BRE ARCHITECTURE SERIES PART 1 - OVERVIEW
      BRE ARCHITECTURE SERIES PART 2 - MANAGERS
      BRE ARCHITECTURE SERIES PART 3 - HELPERS
      BRE ARCHITECTURE SERIES PART 4 - SCENE FORMAT
      BRE ARCHITECTURE SERIES PART 5 - SCENE GENERATION
      BRE ARCHITECTURE SERIES PART 6 - RENDER MANAGER AND COMMAND LIST EXECUTOR
      BRE ARCHITECTURE SERIES PART 7 - GEOMETRY PASS
      BRE ARCHITECTURE SERIES PART 8 - ENVIRONMENT LIGHT PASS
      BRE ARCHITECTURE SERIES PART 9 - SKYBOX PASS
      BRE ARCHITECTURE SERIES PART 10 - TONE MAPPING PASS AND POST PROCESS PASS
      BRE ARCHITECTURE SERIES PART 11 - AMBIENT OCCLUSION PASS
      My intention is to share my knowledge and also receive feedback/improvements.
      Thanks! And hope you find it useful
  • Popular Now