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  
  .OBJ Animation  (Read 3208 times)
0 Members and 1 Guest are viewing this topic.
Offline arkdm

Junior Devvie




Go Pooh on yourself


« Posted 2005-06-08 21:07:48 »

I'm able to run the sample from the Xith3D .obj loader, but I'm not sure how to animate a .obj model. Is it possible?
Offline hawkwind

Junior Devvie




Java games rock!


« Reply #1 - Posted 2005-06-08 22:31:59 »

errr animation embedded in the obj file??   You can modify rotations/translations etc of transformgroups real time
Offline arkdm

Junior Devvie




Go Pooh on yourself


« Reply #2 - Posted 2005-06-09 00:37:13 »

Are there any code examples of that - or could you show me how? Thanks!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kohaar

Senior Newbie




Java games rock!


« Reply #3 - Posted 2005-06-09 14:14:38 »

http://xith.org/demo/org.xith3d.gsg.php

Look at the ase transformgroup and asetest code... It's a pretty simple example, but it explains the basic of transformgroups
Offline arkdm

Junior Devvie




Go Pooh on yourself


« Reply #4 - Posted 2005-06-11 20:26:35 »

Thanks for the help guys, I understand transform groups... but I'm still a little confused. How do I import the .OBJ file into a transform group like the models shown in the ASE example?

And are there any other importable model types that include animation in the file?

Thanks so much!
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #5 - Posted 2005-06-12 00:27:06 »

you convert it to ASE?

Will.

Offline arkdm

Junior Devvie




Go Pooh on yourself


« Reply #6 - Posted 2005-06-12 04:12:11 »

I can't find a converter for it.
Offline kevglass

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #7 - Posted 2005-06-12 08:28:40 »

MD2 contains animation. 3DS can contain animation but support isn't very good as far as I've seen.

What type of animation do you want to do? Is it simple rotations of parts or is it "key frame" in that you want to iterate through a series of models for each frame? If so, you might find loading up a series of OBJ models and sticking them in a Switch node will do basically what you want.

Kev

Offline arkdm

Junior Devvie




Go Pooh on yourself


« Reply #8 - Posted 2005-06-12 23:50:59 »

I'm gonna need to have a basketball player running, shooting, blocking, etc. I can't export to md2 or ASE,3DS, but I can do .obj and .ac3d. Which format would be best for this, and how do I group together all of the .obj models if that's the best choice?

Thanks again!
Offline arkdm

Junior Devvie




Go Pooh on yourself


« Reply #9 - Posted 2005-06-14 23:52:13 »

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

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #10 - Posted 2005-06-15 07:19:42 »

Have a look at the "Switch" node in Xith3D. Load each OBJ as a add the BranchGroup returned into switch. The switch allows you to (surprise) switch between the different children. So then you can just cycle through your switch displaying each frame in turn.

Kev

Offline aNt

Senior Devvie




AFK


« Reply #11 - Posted 2005-06-15 08:27:02 »

use MD2 save yourself alot of hassle.
Offline arkdm

Junior Devvie




Go Pooh on yourself


« Reply #12 - Posted 2005-06-15 11:54:28 »

I wish I could, but I can't find an exporter for blender Sad. I'll try what kevglass suggested and get back to you. Thanks everybody!
Offline Amos Wenger

Senior Devvie




Everything's possible, but not everything's fun...


« Reply #13 - Posted 2005-06-17 13:02:14 »

Hem... have you just visited the blender official site ?
You can find exporters for (almost) all formats here : http://blender3d.org/cms/Import___Export.5.0.html

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
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 (19 views)
2014-11-22 12:13:56

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

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

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

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

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

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

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

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

CopyableCougar4 (76 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!