[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Faster OBJ loader
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Faster OBJ loader
- From: Christopher Night <cosmologicon@xxxxxxxxx>
- Date: Mon, 27 Sep 2010 18:49:20 -0400
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Mon, 27 Sep 2010 18:49:26 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=KLZp5l0NU5PWOIzFgmPXbLptxQ7lfZ0rj9q1cpvGEqQ=; b=QZV/xc+kNWQRGSMyKFoOHM/w5YLAzCeXrYygOwLql6zsJfuPPKxZvAByXZrO2FGtlm nGAUc9fEbWX9SHeieTiy+4UHFKR4jGINLY5Ld/lL0mOjDGc8yeQwsXc2WN2fP2s7a9o6 oZ++zseFJgfOXkaoc1WvO/D1xBO0TSlJfFY+0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wtuRMkc4U3mhaYeVMuL9b6fZ8irGTqHHRLluBPZm6ga8f7VzBzI4oVmYi8Fann0HkP FtSRocVze11ghcuWVDjjhIC7Trv+KQh3KoL/WWecKt2vtB7AIxXlptWywEkprnkGYX7r g99Aco/v7us8W/B3xMoCDbuOrlbG75pZgPj0E=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi, I'm looking into modifying the well-known objloader.py on the pygame wiki:
I would modify it to use vertex arrays. I think this could improve efficiency of loading and rendering the models, based on some tests I did a few months ago on the pyweek message board:
I wanted to ask if this work has already been done by anyone, or if there is a different existing OBJ loader that could be used as a starting point. I searched this mailing list, and it looks to me like this is the current best OBJ loader for pygame there is.
Thanks,
Christopher