![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
01-23-14, 09:25 AM
|
#1 | |||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
If you are familiar with Wings you know what I mean Quote:
![]() Quote:
|
|||
|
|
01-23-14, 04:34 PM
|
#2 | |
|
Black Magic
![]() |
Quote:
This was your Wings3D OBJ barrage balloon imported into Iceberg01
|
|
|
|
01-23-14, 05:10 PM
|
#3 |
|
Black Magic
![]() |
v1.1.403.1 released. See post #1
This version enhances the loose importer. If an OBJ file has indices that define a vertex more than once then for every indice for that vertex after the first the importer will clone that vertex thus keeping a 1:1 ratio (Granny friendly). The strict importer will NOT do this. After all it's a strict import and the vertices defined in the OBJ file must equal the number of vertices defined in the mesh. |
|
|
01-23-14, 05:29 PM
|
#4 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
![]() Since we are at it, have you looked into the smoothing groups issue yet? and wath about the other problem I had pointed (see below)? ![]() Quote:
|
||
|
|
01-23-14, 05:36 PM
|
#5 | |
|
Black Magic
![]() |
Quote:
If the importers encounter any 's x' entries in the OBJ files they ignore them (they just skip over them). So shouldn't matter anymore. The other problem I have to fire up the app in the debugger and see. What files were used and what exactly did you do? |
|
|
|
01-23-14, 05:49 PM
|
#6 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
Quote:
file name: small_generic_01.GR2 task performed: exported crates mesh (if you look into that GR2 there are some levitating crates at the end of the docks); edited their y coordinate in Wings3d; imported them back in the same GR2. import method: strict import (only vertex coordinates imported, kept the existing AO/Normal coordinates when prompted about them). problem experienced: the crate material gor corrupted (over-reflective), but the GR2 was still working in game. In case they can help, I think i have a back-up of the GR2 file with my updates and of the meshes imported in it. ![]() P.S: have you seen this last suggestion? |
||
|
|
01-23-14, 05:57 PM
|
#7 | |
|
Black Magic
![]() |
Quote:
Send me the files you have for this small_generic_01.gr2 thing. |
|
|
|
01-23-14, 05:50 PM
|
#8 |
|
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
|
|
|
01-23-14, 05:53 PM
|
#9 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
