2
votes
1answer
128 views

Light is not spreading evenly

I am using SunBurn for lights and rendering, when i create sceneobject in code, effect is like this see in this light is in the middle so sceneobject in middle is well lit and as we go to corner ...
1
vote
5answers
255 views

Drawing transparent and opaque 3D objects. How do I preventing z-fighting?

I am using a transparent weighted average algorithm to draw my transparent objects. The transparent object is drawn with the following notable render states (the rest are default XNA values): ...
2
votes
1answer
275 views

XNA 4.0: Blender .fbx File Won't Display 3D Model

So I followed the basic 3D model display tutorial found here: http://msdn.microsoft.com/en-us/library/bb197293%28v=xnagamestudio.31%29.aspx And while I know this is for XNA 3.1, I can still get the ...
6
votes
2answers
2k views

Voxel Face Crawling (Mesh simplification, possibly using greedy)

Edit: This is just for my own learning experience, it is NOT for performance reasons that I ask this question. This is in regards to a Minecraft-like terrain engine. I store blocks in chunks ...
5
votes
1answer
417 views

How can I render an .stl file in XNA or Monogame?

How should I go about rendering a .stl file as a 3d model in XNA? The .stl file contains a bunch of triangles that add up to a solid mesh. I have already figured out how to read the contained data. ...
-2
votes
1answer
175 views

Programmatically creating a 3d mesh in XNA

Surprise! Another question related to Minecraft. Anyways: Rather than drawing thousands of blocks each frame, I remember reading somewhere that Minecraft breaks the map into 16x16x256 chunks, and ...
3
votes
2answers
576 views

XNA 3d model mesh.draw() throws TextureCoordinate0 is missing error

I've downloaded a bunch of 3d models from turbosquid.com. The majority of the one's I've downloaded are simply .fbx files. When I load the model into my game and run it, the following error is thrown ...
1
vote
1answer
462 views

XNA Per-Polygon Collision Check

I'm working on a project in XNA for WP7 with a low-poly environment, my problem is I need to setup a working per-polygon collision check between 2 or more 3d meshes. I've checked tons of tutorials ...
6
votes
1answer
1k views

Animating a 3D model with XNA

How do I animate a biped model from 3ds max using XNA framework or not necessarily the biped model, it could be any 3D model but how can I code the animation?
3
votes
3answers
866 views

Textureing subdivided Icosahedron in XNA, seam problem

*Look below for the updated source code* I have started to to make some different types of objects and create them by code in XNA. Right now I have finished the code for creating a Icosahedron. And ...
0
votes
2answers
856 views

Creating mesh at run-time

I've a set of voxel data and I want to create a mesh out of it at run-time. I've looked into MeshBuilder and MeshHelper but I haven't found anything useful or a good tutorial how to use them. Can ...
0
votes
2answers
4k views

Scaling Model in XNA, keep position

I am trying to create a little fun 3D game in XNA, but I am having some problems with scaling my models. I use models from random sites, so my battleship is for an example 10 times larger than my ...
1
vote
2answers
966 views

BoundingBox created from mesh to origin, making it bigger

I'm working on a level-based survival game and I want to design my scenes in Maya and export them as a single model (with multiple meshes) into XNA. My problem is that when I try to create Bounding ...
2
votes
1answer
556 views

Triangle accuracy picking for animated models in XNA

I can do picking with triangle-accuracy for non-animated models, but I also have animated models in my game. How do I do picking on animated models? I use code based on this project for animation. ...
-3
votes
3answers
2k views

good 3d model with bones? [closed]

Can anyone direct me to a site where I can download a free 3D model with a skeleton so I can practice using them in the XNA environment untill I'll make my own models? If the model is human-ish (2 ...