Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (589)
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  
  $100 USD for model loading  (Read 4819 times)
0 Members and 1 Guest are viewing this topic.
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Posted 2011-08-12 20:58:37 »

I am currently working on a job, I need to load some model formats into a java object. And I dont have the time to read up on each file specification.

I need support for vrml, 3ds, stl.

Either develop a class to load the models into, something like (seperating group by texture):
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
class Model {
 Group groups[];
}
class Group {
 String texture;
 Face faces[]
}
class Face {
 Vector3f point[3];
 Vector3f normal[3];
 Vector2f textCoord[3];
}


Or alternatively, create a converter to export them as OBJ with support for UV texture co-ordinates.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Online Riven
« League of Dukes »

« JGO Overlord »


Medals: 834
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #1 - Posted 2011-08-12 21:05:14 »

you might want to look at
   http://www.cs.princeton.edu/~min/meshconv/
to convert it all to .obj

disclaimer: I didn't use it, I googled Smiley

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #2 - Posted 2011-08-12 21:06:40 »

Thanks riven.

I tried this and Meshlab. Except they dont support UV co-ordinates.

I need UV support as Im trying to develop a realtime online model viewer for a client.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online Riven
« League of Dukes »

« JGO Overlord »


Medals: 834
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #3 - Posted 2011-08-12 21:08:55 »

You might want to use Blender to convert the model for you.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #4 - Posted 2011-08-12 21:14:23 »

I was hoping to package the file support in the applet itself. Ill ask the client if he has access to the server, maybe installing a converter server side would be easyer.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline SpuTTer

Senior Devvie


Medals: 1
Exp: 14 years


Lazy Middle Class Intellectual


« Reply #5 - Posted 2011-08-14 03:44:40 »

<JOKE>
I thought this thread was seeking a male model and that I was about to make an easy $100... Not this week. Good luck on your real endevour.
</JOKE>

Sacramento Volleyball
"Whitty phrase goes here."
Offline pitbuller
« Reply #6 - Posted 2011-08-14 10:03:14 »

http://assimp.sourceforge.net/
Maybe that would help. Its support almoust all formats. You need to hava some wrapper tought.
Offline ra4king

JGO Kernel


Medals: 355
Projects: 3
Exp: 5 years


I'm the King!


« Reply #7 - Posted 2011-08-14 10:11:37 »

<JOKE>
I thought this thread was seeking a male model and that I was about to make an easy $100... Not this week. Good luck on your real endevour.
</JOKE>
BAHAHAHAHA!!

Offline bobjob

JGO Knight


Medals: 10
Projects: 4


David Aaron Muhar


« Reply #8 - Posted 2011-08-15 18:56:30 »

http://assimp.sourceforge.net/
Maybe that would help. Its support almoust all formats. You need to hava some wrapper tought.
Looks like a really great 3D tool. Looking forward to the Java documentation.

I guess Im going to drop the job for the moment, its going to be too much work also implementing the 3D formats along with the model viewer program aswell.

My Projects
Games, Webcam chat, Video screencast, PDF tools.

Javagaming.org with chat room
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 78
Projects: 15


★★★★★


« Reply #9 - Posted 2011-08-15 19:01:29 »

Do keep the Jagatoo tool in mind, it already supports a dozen or so 3d model formats, so might be an idea to plug any new formats that you create into it, thus also allowing you to use the existing formats that it supports (while at the same time helping other projects that might use it).
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #10 - Posted 2011-08-16 19:00:37 »

OBJ is amazingly easy to understand and import. And it supports everything you want.

See my work:
OTC Software
Online Riven
« League of Dukes »

« JGO Overlord »


Medals: 834
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #11 - Posted 2011-08-16 19:01:38 »

OBJ is amazingly easy to understand and import. And it supports everything you want.

Or alternatively, create a converter to export them as OBJ with support for UV texture co-ordinates.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
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.

trollwarrior1 (22 views)
2014-11-22 12:13:56

xFryIx (69 views)
2014-11-13 12:34:49

digdugdiggy (48 views)
2014-11-12 21:11:50

digdugdiggy (42 views)
2014-11-12 21:10:15

digdugdiggy (36 views)
2014-11-12 21:09:33

kovacsa (60 views)
2014-11-07 19:57:14

TehJavaDev (63 views)
2014-11-03 22:04:50

BurntPizza (61 views)
2014-11-03 18:54:52

moogie (76 views)
2014-11-03 06:22:04

CopyableCougar4 (77 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!