Message 1 of 1
Export example
Not applicable
05-01-2009
04:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Does anyone have a exporter to text, just for geometry and texture mapping?
I just finished a new shader for my game engine and want to test, but my old exporter was for maya and I switched to max. I am going through the docs, but wondered if someone had something to get started with, before I do it from scratch.
I know one of the problems I will run into is tranforming the coordinate systems from max to directx.
What I did previously was
1) multipy the z component of every vertex by -1
2) multiply the z component of every normal by -1
3) Flip the V component of all UVs by getting the range and subtracting from the maximum V
4) switch the order of face vertices from v0 v1 v2 to v0 v2 v1
I wonder if that is the same here?
I just finished a new shader for my game engine and want to test, but my old exporter was for maya and I switched to max. I am going through the docs, but wondered if someone had something to get started with, before I do it from scratch.
I know one of the problems I will run into is tranforming the coordinate systems from max to directx.
What I did previously was
1) multipy the z component of every vertex by -1
2) multiply the z component of every normal by -1
3) Flip the V component of all UVs by getting the range and subtracting from the maximum V
4) switch the order of face vertices from v0 v1 v2 to v0 v2 v1
I wonder if that is the same here?