Hi,

I had an obj model which did not load some meshes.
I already posted something about this issue earlier, but the
mail did not show up on this list yet. So here's the
update: The problem was that a mesh contained geometries
with mixed indexFieldMasks. Some geometries had
texture coordinates and some not. Speaking in OBJ,
something like this:

[...]
f 1603//1747 1679//1744 1678//1743
s 1
f 9/1/10 5/2/9 1680/3/1748 1681/4/174
[...]

The current OBJ loader did not consider/allow this case. I attached
a patch which ignores the presence of the texture coordinates
in case other pieces have no tex cords, but continues adding at least 
the geometry. The same applies to the normals.

If you could check and test the code I'd appreciate!

Regards,

  Toni


--
Ing. Antonio Bleile
Seac02 S.r.l.
via Avogadro 4
10121 Torino Italia
Tel. +39.011.197.006.52
Fax +39.011.197.006.53
E-mail [EMAIL PROTECTED]
Sito www.seac02.it

Questa E-mail è rivolta unicamente alle persone o enti ai quali è
indirizzata. Essa può contenere informazioni la cui riservatezza è tutelata.
Sono vietati la riproduzione e qualsiasi uso di questa e-mail e/o delle
informazioni in essa contenute in mancanza di autorizzazione del
destinatario. 
This e-mail is intended only for the person or entity to which is addressed.
It may contain information that is privileged, proprietary, confidential,
attorney work product or otherwise exempted from disclosure under applicable
law. Copying, dissemination or use of this e-mail or the information herein
by anyone other than the intended recipient is prohibited.

Attachment: OSGOBJSceneFileType.cpp.patch
Description: Binary data

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to