• Advertisement
Sign in to follow this  

Direct3D 11 question about loading .OBJ models

This topic is 1967 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm trying to load a .obj file and render the model on the screen. I am seeing lines in the .obj that look like this:

[quote]

f 44557/26434 44561/26438 44559/26436
f 44561/26438 44557/26434 44563/26440
f 44563/26440 44555/26432 44566/26443
f 44573/26451 44570/26447 44571/26448 44572/26450
f 44575/26454 44573/26451 44572/26450 44574/26453
f 44576/26455 44577/26456 44578/26457
f 44579/26458 44576/26455 44580/26459
f 44577/26456 44576/26455 44579/26458
f 44581/26460 44579/26458 44580/26459
f 44570/26447 44581/26460 44571/26448
f 44579/26458 44581/26460 44570/26447

[/quote]

What do the faces with four vertices represent?

Share this post


Link to post
Share on other sites
Advertisement
According to this [url="http://en.wikipedia.org/wiki/Wavefront_.obj_file"]http://en.wikipedia....front_.obj_file[/url] they are quadrilaterals instead of triangles. Edited by Steve_Segreto

Share this post


Link to post
Share on other sites
A few days ago i received a url via the GameDev IRC channel. It's a kind of manual which explains everything you can find in an .obj file.
You can find the manual [url="http://www.martinreddy.net/gfx/3d/OBJ.spec"]here.[/url]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement