SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-20-12, 11:37 AM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

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
TheDarkWraith is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.