wx3dsOpenGL - Displaying .3ds files with wxWidgets & OGL

If you have a cool piece of software to share, but you are not hosting it officially yet, please dump it in here. If you have code snippets that are useful, please donate!
aquawicket
Earned some good credits
Earned some good credits
Posts: 103
Joined: Sun Aug 05, 2007 5:49 am

wx3dsOpenGL - Displaying .3ds files with wxWidgets & OGL

Postby aquawicket » Thu Jan 20, 2011 10:32 pm

Here is the Start of a simple 3D Graphics engine which will load .3ds file verticies, colors and textures. It also includes a basic console for entering commands as well as a frames per second counter.

You can use the mouse to position the object and set its rotation.

The console will allow you to control other options such as opengl driver information, lighting, textures, colors, wireframe, fps, fullscreen, antialiasing and display list.

A CMake file is included which is currenly able to make Visual Studio Project Files, but can be made to create files for other IDE's.

*** TODO ***
Load lighing from .3ds
Load material types from .3ds
Keyframe animation from .3ds
Shadows

*** PLEASE FEEL FREE TO MAKE UPDATES OR SUGGESTIONS :)

Image

Source Code and Binaries

User avatar
T-Rex
Moderator
Moderator
Posts: 1155
Joined: Sat Oct 23, 2004 9:58 am
Location: Zaporizhzhya, Ukraine
Contact:

Re: wx3dsOpenGL - Displaying .3ds files with wxWidgets & OGL

Postby T-Rex » Sun Jan 20, 2013 12:01 pm

It seems that the link is broken. Could you maybe upload it to Google Code ot GitHub? Or attach the archive with the source code to your post?

User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2090
Joined: Wed Jan 28, 2009 11:57 am
Location: Dar es Salaam, United Republic of Tanzania
Contact:

Re: wx3dsOpenGL - Displaying .3ds files with wxWidgets & OGL

Postby evstevemd » Sat Jan 26, 2013 6:12 pm

T-Rex wrote:It seems that the link is broken. Could you maybe upload it to Google Code ot GitHub? Or attach the archive with the source code to your post?

I happened to store the copy when link was working and here is the file

Note I removed FreeImage.dll from debug and release so as to be able to upload in forum where max size is 4MB
Also rename file removing .zip extension (The extension bz2 is not allowed.)

Enjoy!
Attachments
wx3dsOpenGL.tar.bz2.zip
(2.8 MiB) Downloaded 167 times
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
[Ubuntu 15.04/Windows 10 Pro - GCC/MinGW, CodeLite IDE et al]

User avatar
T-Rex
Moderator
Moderator
Posts: 1155
Joined: Sat Oct 23, 2004 9:58 am
Location: Zaporizhzhya, Ukraine
Contact:

Re: wx3dsOpenGL - Displaying .3ds files with wxWidgets & OGL

Postby T-Rex » Sat Jan 26, 2013 6:21 pm

Thanks, evstevemd!


Return to “The Code Dump”

Who is online

Users browsing this forum: No registered users and 1 guest