Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (579)
games submitted by our members
Games in WIP (500)
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  
  [UNSOLVED] 3D Models and Animation  (Read 2441 times)
0 Members and 1 Guest are viewing this topic.
Offline Cyrus

Senior Newbie




Lean Mean Programming Machine


« Posted 2008-02-12 10:59:37 »

I have done some research about 3d models and how to animate them.

I have found out that Wavefront obj is rather easy to read and render and 3DS is a lot harder.

Making the models is not a huge problem, neither is rendering them.

But can anybody give me hints on how to animate Wavefront obj models? I don't completely understand how to use Wavefront obj, to make animated models.
It seems that using Wavefront OBJ is the best way to create animated models in JOGL.

Any tips/suggestions are welcome.

Greetings,
Cyrus

http://www.wehaveinternet.com

*Always driving the Learning Car of Programming*
Offline emzic

Senior Member





« Reply #1 - Posted 2008-02-12 11:13:44 »

i dont think that wavefront obj models have support for animations.

you might have a look at the collada or md5 formats.

www.embege.com - personal website
webstart blendinspect - OpenGL BlendingModes visualization.
Offline Cyrus

Senior Newbie




Lean Mean Programming Machine


« Reply #2 - Posted 2008-02-12 22:05:24 »

I am completely lost, not a little bit lost, no, i'm now completely lost.

I have done today research on COLLADA, MD5, MD3, MD2, MS3D, 3DS, OBJ, CAL3D, almost every 3d file format around.

I'm super confused.
I cannot find a JOGL Loader for any _animated_ models.

I do not know what to do =(

What should i do, if i want to learn about 3d animated models in JOGL?

http://www.wehaveinternet.com

*Always driving the Learning Car of Programming*
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline rhys

Senior Newbie





« Reply #3 - Posted 2008-02-12 23:41:18 »

Well, i can't tell you about animators, but i just finished building my own JOGL loader for Obj and Blk file types today, that loads them into a JOGL scene in 3D where they can be animated. I've yet to actually translate animation data in terms of say morphing or camera data though. Dunno if that's the kind of thing you mean.
Offline Bonbon-Chan

JGO Coder


Medals: 12



« Reply #4 - Posted 2008-02-13 08:53:50 »

Why not using JMonkey ?
There is all you need to load animated model and it can work over jogl.
Offline Cyrus

Senior Newbie




Lean Mean Programming Machine


« Reply #5 - Posted 2008-02-13 09:18:05 »

Well, i can't tell you about animators, but i just finished building my own JOGL loader for Obj and Blk file types today, that loads them into a JOGL scene in 3D where they can be animated. I've yet to actually translate animation data in terms of say morphing or camera data though. Dunno if that's the kind of thing you mean.

I can build my own OBJ Loader too, the actual problem is the animation. For example, with Collada, you can assign a skeleton to your model, and make an animated Collada model, and load it to JOGL and you have an animated 3d model in JOGL.


Why not using JMonkey ?
There is all you need to load animated model and it can work over jogl.

I have already tried to use JMonkey, but i didn't understand how to use it. I couldn't find the source code or an API Description.
Also they say that JMonkey doesn't work with JOGL, yet.

http://www.wehaveinternet.com

*Always driving the Learning Car of Programming*
Offline lhkbob

JGO Knight


Medals: 32



« Reply #6 - Posted 2008-02-13 21:20:08 »

I have already tried to use JMonkey, but i didn't understand how to use it. I couldn't find the source code or an API Description.
Also they say that JMonkey doesn't work with JOGL, yet.

JMonkey uses LWJGL instead (although I think they're working on a JOGL implementation).  That shouldn't really matter to you, their performance is very similar and with JMonkey you're not touching the underling GL code usually so there's no problem there.  The main difference is that LWJGL uses its own native windowing (I think).

As for not being able to find the source or API, you must not have looked hard enough.  I found the source and many easy to understand tutorials with links on the home page (although I think to get the source you have to use subversion (but they have an easy tutorial on how to get that too)).

Offline Cyrus

Senior Newbie




Lean Mean Programming Machine


« Reply #7 - Posted 2008-02-13 21:23:57 »

Quote
As for not being able to find the source or API, you must not have looked hard enough.  I found the source and many easy to understand tutorials with links on the home page (although I think to get the source you have to use subversion (but they have an easy tutorial on how to get that too)).

True, i haven't done extensive research on JME, but i don't want to use JME, so that makes sense XD

But i have done some research on using JME through LWJGL, which talkes back to JOGL, but that already sounded super inefficient.

I have read about "Duke Bean'em", and i have the Collada model loader that was used there, too bad it doesn't support animations.

But i'm going to write my own Collada model loader with animations. When i have succesfully written the model loader, i'll put the source on my website.

Anyway,
has anybody every heard about: JCollada?

http://www.youtube.com/watch?v=yvKxQq__Wi8 <-- Youtube vid on JCollada

http://www.xquaker.com/projects_jc.html <-- I cannot click the download, lol

It seems to me that that is one nice library to have. But for some reason the guy put it offline.

http://www.wehaveinternet.com

*Always driving the Learning Car of Programming*
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.

xsi3rr4x (38 views)
2014-04-15 18:08:23

BurntPizza (34 views)
2014-04-15 03:46:01

UprightPath (50 views)
2014-04-14 17:39:50

UprightPath (32 views)
2014-04-14 17:35:47

Porlus (49 views)
2014-04-14 15:48:38

tom_mai78101 (71 views)
2014-04-10 04:04:31

BurntPizza (130 views)
2014-04-08 23:06:04

tom_mai78101 (230 views)
2014-04-05 13:34:39

trollwarrior1 (193 views)
2014-04-04 12:06:45

CJLetsGame (200 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!