Tagged Questions
-3
votes
2answers
317 views
How to preload a vast amount of models?
This is more a theoretical question,
during runtime, my game runs smooth without any hickups. But as standard game-objects, my game contains collectibles such as coins (which are rotating Models).
...
-3
votes
0answers
59 views
C# Rendering Loop [closed]
I kind of need help understanding how rendering graphics works in C#. I have a java background and I've made a basic game engine with custom rendering that I use for all of my projects. After trying ...
1
vote
2answers
113 views
One or multiple VertexBuffers
I'm currently working on a personal project where I'm trying to load the levels and all of the geometry from the game "Medal of Honor Allied Assault" into my own C# code-base based on SharpDX.
I ...
2
votes
1answer
160 views
Sketchup model renders wrong in XNA
My XNA model renders wrong.
It should render like that:
But it renders like that:
The background doesn't matter. It's just the model that renders wrong.
Here is the drawing code:
protected ...
5
votes
2answers
605 views
How can I acheive a smooth 2D lighting effect?
I'm making a tile based game in XNA.
So currently my lightning looks like this:
How can I get it to look like this?
Instead of each block having its own tint, it has a smooth overlay.
I'm assuming ...
8
votes
1answer
312 views
Drawing “Stenciled” Sprites and making them glow
Currently, in my game - I'm not using XNA's SpriteBatch to render anything(I am using Farseer Physic's Debug View), and I was wondering how I would render something like this:
only using XNA. My ...
2
votes
1answer
174 views
2D scene graph not transforming relative to parent
I am currently in the process of coding my own 2D Scene graph, which is basically a port of flash's render engine.
The problem I have right now is my rendering doesn't seem to be working properly. ...
2
votes
2answers
162 views
Child parent rendering (flash) in XNA
i am currently in the process of implementing a render engine that works like flash's. Where a sprite is drawn inside another sprite and reflects all transformation (rotation, scale, etc) on the ...
2
votes
1answer
281 views
My transparent objects overwrite opaque objects depth and always draw on top?
I have set up an 'Order Independent Transparency' method for drawing my transparent objects.
The algorithm can be simplified as follows:
DrawOpaqueObjects()
DrawTransparentObjects()
Drawing the ...
3
votes
3answers
1k views
How many BasicEffects do you have in a Game? What is the best way to render multiple objects/shapes at once?
I'm trying to understand 3D rendering and it seems that everytime you render a new object (A 3D Cube or something) you need to have a new BasicEffect for each Box you render unless you want the exact ...
3
votes
2answers
707 views
Rendering a lot of Models at once with XNA
In an hexgrid based game, I render all terrain tiles as a separate model, reusing the same texture objects on all similar tiles. The tiles is a pretty simple model.
When the terrain is set to be at ...
1
vote
1answer
685 views
Model not rendering correctly XNA
Basically i am trying to render a model yet it seems to draw polygons that should be behind something, in front of it. So i end up seeing some faces that should be behind something, totally covering ...
3
votes
1answer
661 views
Drawing a depth map properly
I want to render a depth map by importing it from a file, then creating an array of vertices and indices, and then displaying it using a basic shader (just apply the view and projection matrices on it ...
4
votes
2answers
1k views
Bitmap font rendering, UV generation and vertex placement [closed]
I am generating a bitmap, however, I am not sure on how to render the UV's and placement. I had a thread like this once before, but it was too loosely worded as to what I was looking to do.
What I am ...
10
votes
2answers
13k views
How Do I Do Alpha Transparency Properly In XNA 4.0?
Okay, I've read several articles, tutorials, and questions regarding this. Most point to the same technique which doesn't solve my problem. I need the ability to create semi-transparent sprites ...