Like the license says "... in the hope that it is useful...".
I found this simple Wavefront .obj loader in a dusty Delphi archive.
It loads a 3D .obj mesh and sticks a simplistic material on it.
I got it working with Lazarus in Delphi mode, and got it to load a Fragmotion .obj mesh. It also recognizes the material, but I hadn't got the texture to stick yet. That's where the road forks, because I'm working on something elsewhere and I'm going to replace all the windoz specific code with SDL calls, which also allows a spiffy texture loader.
Since SDL isn't a part of ZGE, I thought to throw it out here in case someone else wants to tweak on with it.
Later, guys.
obj. loader
Moderator: Moderators
obj. loader
- Attachments
-
- SteveMuckinAbout.zip
- (686.16 KiB) Downloaded 1205 times
-
- wavefront.zip
- original
- (97.57 KiB) Downloaded 1216 times
"great expectations"