Wavefront Object Loader & Winged Edge

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Wavefront Object Loader & Winged Edge

Post by Karai17 »

Wavefront Object Loader | Winged Edge | WE Documentation

So I came across the need while working on a project to load a Wavefront Object file into Lua. On top of that, I needed a Winged Edge data structure to check adjacent faces in an irregular grid. Unable to find anything suitable, I just went off and made them. :V

These are both pure Lua, but I stuck some checks in so they will also work properly with LOVE (thanks slime). Feel free to use them (MIT license), and please report any bugs or feature requests. These are very new, so use with caution.

NOTE: the object loader is not yet complete in spec, it only does the things I needed it to do right away. I plan to flesh it out a little more later on.
Last edited by Karai17 on Sat May 31, 2014 7:07 am, edited 2 times in total.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: Wavefront Object Loader & Winged Edge

Post by Karai17 »

¡Double Post!

Updated the Winged Edge lib, made it more efficient and added triangulate and intersection functions. \o/
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
Nautical Mile
Prole
Posts: 11
Joined: Thu Aug 22, 2013 5:39 pm
Location: Canada

Re: Wavefront Object Loader & Winged Edge

Post by Nautical Mile »

Cool libs! I get what they do, but maybe you could provide examples of them in action here or on the github repo so others understand?
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: Wavefront Object Loader & Winged Edge

Post by Karai17 »

Yeah, once I can find a sexy web layout I plan to set up a full documentation website on github pages for all of my libs. :)
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: Wavefront Object Loader & Winged Edge

Post by Karai17 »

¡Double Post!

Added documentation for the Winged Edge lib. Also made the API more consistent and friendly. If you have any feature requests, feel free to ask!
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 1 guest