face->points[x] gives you the right index for mesh->pointL.
You might also wanna check out:
http://lib3ds.sourceforge.net/lib3ds-1.2.0/doc/html/struct__Lib3dsFace.html
Hylke
From: Federico Mazzanti <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: [Lib3ds-devel] question coord texture
Date: Fri, 20 Jan 2006 15:54:16 +0100
MIME-Version: 1.0
Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by
bay0-mc9-f5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 20
Jan 2006 06:55:12 -0800
Received: from sc8-sf-list1-b.sourceforge.net
(sc8-sf-list1-b.sourceforge.net [10.3.1.7])by sc8-sf-spam2.sourceforge.net
(Postfix) with ESMTPid 2BB101242B; Fri, 20 Jan 2006 06:55:09 -0800 (PST)
Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92]
helo=mail.sourceforge.net)by sc8-sf-list1.sourceforge.net with esmtp (Exim
4.30)id 1Ezxer-0005ld-4Sfor [email protected]; Fri, 20 Jan
2006 06:54:33 -0800
Received: from host245-163.pool80104.interbusiness.it ([80.104.163.245]
helo=pinguino.fmazzant.it)by mail.sourceforge.net with esmtp (Exim 4.44)id
1Ezxek-0000sA-8Ufor [email protected]; Fri, 20 Jan 2006
06:54:33 -0800
Received: from [192.168.0.2] (pinguino02.fmazzant.it [192.168.0.2])by
pinguino.fmazzant.it (8.13.5/8.12.11) with ESMTP id k0KEs7bn020795for
<[email protected]>; Fri, 20 Jan 2006 15:54:08 +0100
X-Message-Info: JGTYoYF78jGpSs4nWljfVYunhYjX+Ka3Qj1HxPGgWRQ=
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-Accept-Language: en-us, en
X-Spam-Score: 2.8 (++)
X-Spam-Report: Spam Filtering performed by sourceforge.net.See
http://spamassassin.org/tag/ for more details.Report problems to
http://sf.net/tracker/?func=add&group_id=1&atid=2000011.0 FORGED_RCVD_HELO
Received: contains a forged HELO0.1 RCVD_IN_SORBS_DUL RBL: SORBS:
sent directly from dynamic IP address[80.104.163.245 listed in
dnsbl.sorbs.net]1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did
non-local SMTP[80.104.163.245 listed in combined.njabl.org]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [email protected]
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Unsubscribe:
<https://lists.sourceforge.net/lists/listinfo/lib3ds-devel>,<mailto:[EMAIL PROTECTED]>
List-Id: Discussion about lib3ds <lib3ds-devel.lists.sourceforge.net>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Subscribe:
<https://lists.sourceforge.net/lists/listinfo/lib3ds-devel>,<mailto:[EMAIL PROTECTED]>
List-Archive:
<http://sourceforge.net/mailarchive/forum.php?forum=lib3ds-devel>
X-Original-Date: Fri, 20 Jan 2006 15:54:16 +0100
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 20 Jan 2006 14:55:13.0891 (UTC)
FILETIME=[84BBD330:01C61DD1]
Hi,
I little use the lib3ds library from time and not clearly as they come
managed the coordinates of texture.
mesh->points = number of vertex
mesh->pointL[] = vertexs
mesh->faces = number of faces
mesh->faceL[] = faces
mesh->texels = number of coordinated of texture
mesh->texelL[ ] = coord texture
mesh->material->texture1_map.name = name of the file contentente the
texture.
my question is following:
how I can associate the coordinates of texture to the faces?
thanks.
Federico Mazzanti
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel