Skip to content

Terrain and collision with culling #1

Description

@maconbot

I was researching culling last night from a terrain standpoint:
http://www.dustinhorne.com/post/2011/10/18/XNA-Terrain-with-LOD-Part-7-Better-Culling-With-2D-Shapes.aspx
...Looks like he is at the beginning of implementing Billboarding the same way unity does with trees. Not sure if any methods here would be of interest.

Terrain integration:
Option A:
Creating heightmaps using unity's built in tools and then loading the heightmap in both unity and xna in similar ways: http://www.unifycommunity.com/wiki/index.php?title=HeightmapFromTexture ...converting to .cs of course. Not sure if Heightmaps are faster in XNA than dealing with an object? A heightmap to me is a little more cumbersome from a design standpoint, but there are tuts out there for how to do in XNA. The bigger question is the texture map.

Option B:
Converting the terrain to an object and then can easily bring into XNA just as another object:
http://www.unifycommunity.com/wiki/index.php?title=TerrainObjExporter

I would finally look at being able to walk on the terrain using a technique like this:
http://forums.create.msdn.com/forums/p/81553/493416.aspx#493416

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions