![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
01-23-14, 05:50 PM
|
#28 |
|
Black Magic
![]() |
I'm coding something new into the app that will allow you to 'see' how the vertices for a mesh are 'coded'. This is very important if you are going to use existing GR2s as a base for something new. Vertices can have lots of items defined for them such as:
- position (translation) - UV1 - UV2 - bone weights - rotation - normal - tangent - binormal - etc. There are many ways to define a vertex. If you try and use a mesh that doesn't have the correct vertex information defined your new mesh may not render correctly. Worse yet a mesh could have vertex information that you don't need and needs to be defined but you don't define it so it renders badly/incorrectly. Ultimately I'm trying to code in a way to change the vertex declaration for the mesh. Since this is Granny it won't be easy
|
|
|
|
|
