views:

3

answers:

1

Hi there,

I wonder if you know of a way to convert a shape file to a wavefront .obj 3d object? (eg using a height field)

I need to be able to do this in C# but can leverage code in other libraries.

Any advice appreciated

Thanks

A: 

Hi, You can find the specifications for the .obj file format on wotsit.org : it's a quite simple ascii fileformat, where faces start with "f [...]", vertices with "v [...]" where you append the coordinates/vertex indices instead of the [...].

Cheers

WhitAngl
so how would i turn a shape file's encoded binary formats into polygons i can encode in this manner?
GreyCloud