![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
05-20-12, 11:37 AM
|
#1231 |
|
Black Magic
![]() |
Here is a OBJ file format question that I'm pretty sure I know the answer to but just want to clarify:
in the face definitions (f) there can be 3 entries separated by /s. For example: f 456/210/341 507/3/54 823/65/1002. Let's take 456/210/341 and break it down: 456 = vertice index 210 = texture coordinate index 341 = normal index Now what happens if the OBJ file has normal data but no texture coordinate data? How does the face definitions look like? Would they look like this: f 456//341 507//54 823//1002 or like this: f 456/341 507/54 823/1002 My understanding is the first one
|
|
|
05-20-12, 11:39 AM
|
#1232 | |
|
Black Magic
![]() |
Quote:
Why is 3DS Max doing these strange exports to OBJ files? Does the Room_CT TDC render correctly with your materials? |
|
|
|
05-20-12, 12:11 PM
|
#1233 |
|
Black Magic
![]() |
I need to clarify something related to strict or loose imports: the OBJ files are required to have vertice data only BUT the number of subsets defined in the OBJ file (g) HAS to match the number of subsets in the original mesh. Though the number of subsets has to match you are free to change the indices of each subset
You would use a strict import when you don't want the number of vertices in the mesh to change. You would use a loose import when you do want the number of vertices defined for the mesh to change. A strict import uses my first importer I wrote. A strict import does not allow the app to allocate/deallocate space in the GR2 file. A loose import uses my second importer I wrote. A loose import allows the app to allocate/deallocate space in the GR2 file as needed. |
|
|
05-20-12, 12:16 PM
|
#1234 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Does the Room_CT TDC render correctly with your materials
No here a screen :
__________________
~~~~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, 12:20 PM
|
#1235 |
|
Black Magic
![]() |
|
|
|
05-20-12, 12:23 PM
|
#1236 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Ok without AO i have the same texture
look your PM i send you my conning tower In any case, thank you for the opportunity to change the materials of subsets
__________________
~~~~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, 12:43 PM
|
#1237 | |
|
Black Magic
![]() |
Quote:
I realized that the answer to my question I posted some posts above regarding OBJ file format resided in my function that exports mesh data to OBJ file format. Sure enough if no texture coordinates defined then no entry in the f definition (f 803//243 ...)
|
|
|
|
05-20-12, 12:46 PM
|
#1238 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
have you try my conning tower ?
__________________
~~~~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, 12:54 PM
|
#1239 |
|
Black Magic
![]() |
|
|
|
05-20-12, 01:25 PM
|
#1240 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Ok i can import the TDC
![]() But,i have problem with the textures (not this one used and no more the good UVW ) and i need to dissable the self-illumination ( other all is black) ,i have try to load the AO ,But that give me loading error ![]() whereas before I did not need to take care of AO.GR2 ![]() edit:that look the subsets has changed place ![]() Before : ![]() After :
__________________
~~~~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 01:42 PM. |
|
|
05-20-12, 01:33 PM
|
#1241 | |
|
Black Magic
![]() |
Quote:
I'm looking into this...Do you have AO data for the Wings3D TDC? If so can you send it to me? I'd like to see what this loading error the app is throwing is all about. |
|
|
|
05-20-12, 01:45 PM
|
#1242 |
|
Black Magic
![]() |
Found the error in the app where it wasn't using the existing vertex data when you told it to
![]() I loaded up your Room_CT and imported the Wings3D TDC you had sent me. This was the result: That doesn't look normal to me...or is that correct? I'll send you v1.1.178.1 in a few I just found a bug that I need to correct. If the rendering tab's Self-Illumination is unchecked at app start then when you do check it nothing happens... |
|
|
05-20-12, 01:47 PM
|
#1243 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
The TDC i send you before was the original
,not this one from me But,i have redo import/export the .GR2 and the AO.GR2 ,but impossible to open the AO file and in 3dwings all is 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, 01:59 PM
|
#1244 | |
|
Black Magic
![]() |
Quote:
I'm sending you v1.1.178.1 now (I fixed the self-illumination bug) |
|
|
|
05-20-12, 02:22 PM
|
#1245 | |
|
Black Magic
![]() |
Quote:
I see something I have to correct in regards to the AO files in my second importer
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
