Tagged Questions
4
votes
3answers
915 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 ...
5
votes
1answer
245 views
Difference between the terms Material & Effect
I'm making an effect system right now (I think, because it may be a material system... or both!). The effects system follows the common (e.g. COLLADA, DirectX) effect framework abstraction of Effects ...
0
votes
2answers
164 views
Are my lines instanced?
I have a class which "collects" line mesh transformations throughout the update and then draws them in one place by drawing one line over and over again. I'll post the code below. I'm just wondering ...
3
votes
3answers
2k views
Should I use Game Engines to learn to make 3D games?
HI i am a software engineering student in his second-last year.
I am proficient with C,C++,C# and java programming languages, and being a student of engineering I have studied calculus, vectors etc ...
2
votes
1answer
496 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 ...
7
votes
1answer
466 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
521 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
358 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 ...
3
votes
3answers
613 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
934 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 ...