Tagged Questions
2
votes
1answer
179 views
What is instancing, and how can I update my graphics code to do it?
This question directly follows on from this one:
How can I implement a renderer that can draw many kinds of primitives?
I have a small amount of drawing code structured in the following way:
A mesh ...
5
votes
1answer
192 views
How can I implement a renderer that can draw many kinds of primitives?
This is somewhat linked to a question I previously asked concerning the drawing of indexed primitives.
My problem was that I was only drawing one cube when I wanted to draw many. I was told that the ...
1
vote
1answer
198 views
How can I draw many objects on screen instead of just one?
Like many beginner graphics programmers I followed a tutorial which showed me how to set up buffer descriptions and fill out the vertex buffer etc... - the steps involved in drawing a simple indexed ...
4
votes
2answers
185 views
Material vs Material Pass
I am trying to figure out the difference between a "Material" and a "Material Pass" (in theory). Is it basically that a Material will have multiple "Material Pass"'es, along with a name. Then the ...
2
votes
3answers
372 views
Draw contour around object in Opengl
I need to draw contour around 2d objects in 3d space. I tried drawing lines around object(+points to fill the gap), but due to line width, some part of it(~50%) was covering object. I tried to use ...
3
votes
3answers
446 views
What do you need to know in C++ before starting to program with DirectX
I was wondering what do you need to know in C++ before starting to program with DirectX?
I have only been programming in C++ (more for 2D games using SDL and learning the basics) for just over a ...
-5
votes
2answers
595 views
How to Make A Fast Graphics Engine? [closed]
Assuming I were to develop a graphics engine for a modern PC game that used only DirectX or OpenGL, which techniques could I use to make sure it ran quickly?
Edit:
I'm looking for any approaches ...