Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

26. May 2012, 11:05:28 pm
Xith3D CommunityProjectsYour Projects (Moderator: 'n ddrylliog)Marching Band Simulator - Xith
Pages: [1]
Print
Author Topic: Marching Band Simulator - Xith  (Read 3702 times)
kukanani
Fierce Warrior
****
Offline Offline

Posts: 504


My game is coming along fairly smoothly...


View Profile WWW
« on: 22. June 2007, 04:44:12 am »

Well, while holding my project development Exodus Online until Amos finishes Xith's COLLADA Loader (hint, hint), I have decided to make this one.  While it could use animations, it certainly doesn't need them.  A very customizable marching band, with different instruments and states for the musicians.  That is already in place - finished it in two days...Wow.  You know, sometimes I amaze even myself (10 points for identifying the quote).  I'm going to use OBJ for 3D stuff, and the musicians will start out as colored wedge shapes, hopefully eventually becoming full-fledged figures.  You will have a command box with which to direct the band, with commands like "Right...face!", "Left...face!", "Mark-time, hut!", "Forward, hut!", and so on.  I know this is no great undertaking, but I would like to get I nice 3D app finished, and this seems like a good way to do so.  Also, it will definetly be open source.  So, as soon as anyone shows any interest, I'll get the code up somewhere.  Screenshots coming tomorrow...
Logged

xith.setCoolnessLevel(10);
jMe.setCoolnessLevel(0);
xith.rock();
'n ddrylliog
Moderator
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #1 on: 22. June 2007, 11:55:57 am »

Well, while holding my project development Exodus Online until Amos finishes Xith's COLLADA Loader (hint, hint)
Oh, come that wasn't even half-hidden Smiley Yeah, I know, but physics are important too.. And for skeletal animation I want something working well.

I have decided to make this one.  While it could use animations, it certainly doesn't need them.  A very customizable marching band, with different instruments and states for the musicians.  That is already in place - finished it in two days...Wow.  You know, sometimes I amaze even myself (10 points for identifying the quote).
Han Solo: Not a bad bit of rescuing, huh? You know, sometimes I amaze even myself. (Starwars, 1977)
Haha, google's my friend Smiley

I'm going to use OBJ for 3D stuff, and the musicians will start out as colored wedge shapes, hopefully eventually becoming full-fledged figures.  You will have a command box with which to direct the band, with commands like "Right...face!", "Left...face!", "Mark-time, hut!", "Forward, hut!", and so on.  I know this is no great undertaking, but I would like to get I nice 3D app finished, and this seems like a good way to do so.  Also, it will definetly be open source.  So, as soon as anyone shows any interest, I'll get the code up somewhere.  Screenshots coming tomorrow...

Hey, hey, look ! =>          [INTEREST]

Wow, here it is Smiley (who knew ?)

Ah btw, it would make a cool testcase for OneClick+JWS Smiley (hell, so many things to do).

OK, back to Xith3D work now (finishing a big XPAL cleanup).
Logged
kukanani
Fierce Warrior
****
Offline Offline

Posts: 504


My game is coming along fairly smoothly...


View Profile WWW
« Reply #2 on: 24. June 2007, 06:23:56 pm »

I have decided to make this one.  While it could use animations, it certainly doesn't need them.  A very customizable marching band, with different instruments and states for the musicians.  That is already in place - finished it in two days...Wow.  You know, sometimes I amaze even myself (10 points for identifying the quote).
Han Solo: Not a bad bit of rescuing, huh? You know, sometimes I amaze even myself. (Starwars, 1977)
Haha, google's my friend Smiley
Amos.setPoints(Amos.getPoints()+10);  Grin

I'm going to use OBJ for 3D stuff, and the musicians will start out as colored wedge shapes, hopefully eventually becoming full-fledged figures.  You will have a command box with which to direct the band, with commands like "Right...face!", "Left...face!", "Mark-time, hut!", "Forward, hut!", and so on.  I know this is no great undertaking, but I would like to get I nice 3D app finished, and this seems like a good way to do so.  Also, it will definetly be open source.  So, as soon as anyone shows any interest, I'll get the code up somewhere.  Screenshots coming tomorrow...

Hey, hey, look ! =>          [INTEREST]

Wow, here it is Smiley (who knew ?)

Ah btw, it would make a cool testcase for OneClick+JWS Smiley (hell, so many things to do).

OK, back to Xith3D work now (finishing a big XPAL cleanup).
OK, here it is.  I know the graphics are horrible, but, hey, I've just started...
Logged

xith.setCoolnessLevel(10);
jMe.setCoolnessLevel(0);
xith.rock();
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #3 on: 25. June 2007, 12:40:06 am »

Well, not much to see so far. But there are a few tips:

PLEASE use the eclipse project setting to use separate folders for src and bin. It makes absolutely no sense to include the .class files in the zip and is even annoying for people who don't use the one-place-for-all setting, which is Eclipse' default unfortunately.

Do you know the color constants of Color3f? You've created you own color variables, which is not necessary. Simply use Color3f.WHITE, etc.

Use ResourceLocator to locate resources instead of direct file access. This way you will never have to mind about the place, where your resources come from (filesystem, jar, somewhere else). And you'll have one place to change the root of your resources.

You don't need to put the loaded model into a new Group. The OBJModel is a TransfromGroup extension. Though, you're not using the Group's features anyway. One more reason to use the plain model only.

Marvin
Logged
kukanani
Fierce Warrior
****
Offline Offline

Posts: 504


My game is coming along fairly smoothly...


View Profile WWW
« Reply #4 on: 25. June 2007, 02:06:15 pm »

Well, not much to see so far. But there are a few tips:

PLEASE use the eclipse project setting to use separate folders for src and bin. It makes absolutely no sense to include the .class files in the zip and is even annoying for people who don't use the one-place-for-all setting, which is Eclipse' default unfortunately.

Do you know the color constants of Color3f? You've created you own color variables, which is not necessary. Simply use Color3f.WHITE, etc.

Use ResourceLocator to locate resources instead of direct file access. This way you will never have to mind about the place, where your resources come from (filesystem, jar, somewhere else). And you'll have one place to change the root of your resources.

You don't need to put the loaded model into a new Group. The OBJModel is a TransfromGroup extension. Though, you're not using the Group's features anyway. One more reason to use the plain model only.

Marvin
Good, thanks.  I will follow all of that advice...about the OBJModel instead of a Group, I actually was planning on implementing that (oh, sure  Grin).
Logged

xith.setCoolnessLevel(10);
jMe.setCoolnessLevel(0);
xith.rock();
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #5 on: 25. June 2007, 02:48:37 pm »

Good, thanks.  I will follow all of that advice...

Cool Smiley.

...about the OBJModel instead of a Group, I actually was planning on implementing that (oh, sure  Grin).

Well, there's not much to implement actually. You just don't have to create the Group and put the model into it and return the Group. Just return the model itself, and you're through Smiley.

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic