![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
05-20-12, 02:29 PM
|
#1246 |
|
Black Magic
![]() |
@BIGREG: here's your Room_CT with the Wings3D TDC OBJ and AO OBJ imported into it:
The AO is not being rendered correctly because I didn't read it correctly from the file (in the second importer I wrote). I see what I need to do to correct it but it'll take some time to write the code ![]() If I disable the AO (self-illumination) the diffuse looks correct now: |
|
|
05-20-12, 02:36 PM
|
#1247 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Ok ,i get waiting
,I have already a lot of work with new changes ![]() But why the textures and UVW order are change ?
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
|
|
05-20-12, 02:39 PM
|
#1248 |
|
Black Magic
![]() |
|
|
|
05-20-12, 02:42 PM
|
#1249 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
see post#1240
and in 3dwings the exported file look good !? ![]() That see the subset material : 1,2,4 are inversed when importing in the editor
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok Last edited by BIGREG; 05-20-12 at 02:56 PM. |
|
|
05-20-12, 03:00 PM
|
#1250 | |
|
Black Magic
![]() |
Quote:
I think I understand...it's looks like either the subsets are swapped around or the materials are swapped around... |
|
|
|
05-20-12, 03:17 PM
|
#1251 |
|
Black Magic
![]() |
I think I see why:
Before import the mesh has 5 subsets. These subsets use the materials (in numerical subset order): - CT_BODY_TDC - CT_Buttons_Levels_Wheels - CT_Cadrans_TDC - CT_Cadrans_TDC_Gauges_01 - CT_Book_Map_Letter_TDC_Labels_01 When I look inside the OBJ file from Wings3D I find: - g tdc_CT_Body_TDC_subset0 (CT_Body_TDC) - g tdc_CT_Book_Map_Letter_TDC_Labels_subset4 (CT_Book_Map_Letter_TDC_Labels_01) - g tdc_CT_Buttons_Levels_Wheels_subset1 (CT_Buttons_Levels_Wheels) - g tdc_CT_Cadrans_TDC_Gauges_subset3 (CT_Cadrans_TDC_Gauges_01) - g tdc_CT_Cadrans_TDC_subset2 (CT_Cadrans_TDC) So Wings3D mixed up the subset ordering from 0-4 to 0,4,1,3,2 ![]() This makes things interesting. Wonder why it did that? Well I could code something to look for _subsetx in the g entries to match it up to a specific subset
|
|
|
05-20-12, 03:21 PM
|
#1252 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
yes after import the subset 4 have the texture of the subset 1
subset 2 have this from the 3
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
|
|
05-20-12, 03:23 PM
|
#1253 |
|
Black Magic
![]() |
|
|
|
05-20-12, 03:26 PM
|
#1254 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
But before the new version all was good
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
|
|
05-20-12, 04:10 PM
|
#1255 |
|
Black Magic
![]() |
|
|
|
05-20-12, 04:14 PM
|
#1256 |
|
Black Magic
![]() |
AO problem fixed with the second importer
Now looking into a way to match what is read from OBJ file to a particular existing mesh subset...
|
|
|
05-20-12, 04:31 PM
|
#1257 | |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Quote:
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
|
|
|
05-20-12, 04:32 PM
|
#1258 |
|
Black Magic
![]() |
|
|
|
05-20-12, 04:38 PM
|
#1259 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
So good
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
|
|
05-20-12, 05:09 PM
|
#1260 |
|
Black Magic
![]() |
We have success!
Your Room_CT with the import of the non-AO and AO Wings3D TDC files TDC has 3 more verticies than stock courtesy of Wings3D I'll send you the new Room_CT.GR2 file. I still have just a little more work to do on the new version before I can send it to you. I have to explain how this new force subsets thing works |
|
|
![]() |
|
|
