Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  3DS Loader available  (Read 6147 times)
0 Members and 1 Guest are viewing this topic.
Offline ap_kelly

Junior Member




Java rocks!


« Posted 2003-08-25 07:26:09 »

Hi there,

Some of you may be aware or may have used the mri-v3ds.jar library available at this website http://www.multi.fi/~mbc/v3ds/Decode3dsApplet.html.

Well the original author Mats Byggmästar does not maintain the code for this anymore, and he has kindly donated the source to me. So I'm taking requests for updates and bug fixes.

The latest version of the library (same as the original) is on my website http://games.swizel-studios.com but will be updated soon with better support for materials (for a project I'm working on).

Enjoy,

Andy.




Offline Herkules

Senior Member




Friendly fire isn't friendly!


« Reply #1 - Posted 2003-08-25 08:24:57 »

?

It loads from 3DS - but where does it load TO? Java3D?

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline ap_kelly

Junior Member




Java rocks!


« Reply #2 - Posted 2003-08-26 03:07:51 »

It loads from .3ds into a data structure in memory. I've written a basic wireframe renderer using lwjgl, and will be adding this to my site shortly along with the code.

The library just knows about the .3ds file format and nothing about OpenGL or any rendering process, thats upto the developer to write, so you could get it into a Java3D scene without too much trouble I think.

When I've got round to uploading the code, hopefully someone will be able to help me optimise it into a workable package that other can base their work upon.

Andy.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Guoshima

Junior Member




Java games rock! Do they .. ?


« Reply #3 - Posted 2003-10-17 08:48:06 »

Great .. will take a look into it later and try and make it useable for JOGL!
Offline princec

JGO Kernel


Medals: 343
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #4 - Posted 2003-10-17 13:46:23 »

Cheers dude, that's sweet!
Does it do animation and stuff like that?

Cas Smiley

Offline kaffiene
« Reply #5 - Posted 2003-11-26 23:45:42 »

I wonder if this could be hosted on games.dev.java.net as a utility project - it's the kind of thing that many people might want to use and having the source code worked on by the community seems like a good idea.

Offline ap_kelly

Junior Member




Java rocks!


« Reply #6 - Posted 2003-11-27 01:41:33 »

I've thought a lot about the creation of a standard .3ds parsing library for some time. The work originally done on this library is very good, but I don't think it supports the latest version of the .3ds file format very well. I've been adding in the bits I need for my project as I go, I also have a suit of .3ds files I can use to test each successive build hasn't broken anything.

I think a combination of this library and the work done over at http://lib3ds.sourceforge.net/ and http://c3ds.sourceforge.net/index.php?action=home would give the best results for a standard Java library for the parsing of .3ds files.

I'll email the original author of the library I maintain to see if he has any objections to me placing the code on the java.net site and we can take it from there.

Andy.

Offline kaffiene
« Reply #7 - Posted 2003-11-28 20:53:52 »

That would be great.

I've loaded a 3ds file with library and I have lots of see-through polygons.  Do 3ds files have polygons all winding the same way?  And...  3ds models can have double sided polygons, can't they? (just trying to track down what the issue is)

BTW thanks for making the library available - I didn't want to write my own or port lib3ds Shocked)
Offline kaffiene
« Reply #8 - Posted 2003-12-01 07:45:47 »

Quote
That would be great.

I've loaded a 3ds file with library and I have lots of see-through polygons.  Do 3ds files have polygons all winding the same way?  And...  3ds models can have double sided polygons, can't they? (just trying to track down what the issue is)

BTW thanks for making the library available - I didn't want to write my own or port lib3ds Shocked)



Noone has any idea what the issue might be?
Offline tom
« Reply #9 - Posted 2004-01-12 09:02:19 »

Quote
I'll email the original author of the library I maintain to see if he has any objections to me placing the code on the java.net site and we can take it from there.

Any news on this. I really need the world to object space matrix.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ap_kelly

Junior Member




Java rocks!


« Reply #10 - Posted 2004-01-22 01:05:15 »

I'll upload the latest version of the codebase to my website this evening. Someone can then take the code and add it to games.java.net.

I'll also upload the basic OpenGL renderer I wrote using lwjgl  so you guys can get up to speed quickly. I warn you now, this code isn't optimised in any way, shape or form.

Hopefully we'll be able to come up with a single .3ds loader that works with the latest version of the file format, and have renderers for JOGL, Xith3D and LWJGL.

Andy.

http://games.swizel-studios.com/

Offline ap_kelly

Junior Member




Java rocks!


« Reply #11 - Posted 2004-01-27 02:49:13 »

The source is now available, so go forth and enjoy!

I'd like to keep up to date with any improvements made to the library, and if someone can do a better job of the rendering code I'd love to get hold of a copy.

Andy.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CogWheelz (18 views)
2014-07-30 21:08:39

Riven (25 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (13 views)
2014-07-29 10:59:34

E.R. Fleming (33 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (44 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

List of Learning Resources
by SilverTiger
2014-07-31 18:26:06

List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!