z3r0
Just dropped in
Offline
Posts: 6
|
 |
« on: 29. November 2006, 02:08:17 am » |
|
Hi
Im trying to build a very simple system. Say I have 3 rectangles and 2 cylinders acting as pivots, all of them sitting on a base.
I want them to act like an arm If I rotate the base the whole shape should rotate Rentangle 2 should rotate on axis 1 "A1" and Retangle 3 should rotate on axis 2 "A2"
I've been reading old xith forums for 2 weeks now, and i cannot find any material that could help me. What i've found are this JOODE & ODEjava related topics, and seems that this libraries have the answer that i want. But there again i've been googling for some time now looking for examples or tutorials on how to use this libraries without luck. So I came here to ask for help.
Any would be really aprecciated thanks.
|
|
|
|
|
Logged
|
Once i looked up to the sky , and saw this 3 lines, each line had a different color. One, it was blue, The next One it was more darkish, but still blue, and the Third one, almost seemed like a purple tone.. Then I said... Damn... GOD needs a better Graphics Card (this is 100% true n_n).
|
|
|
|
'n ddrylliog
|
 |
« Reply #1 on: 29. November 2006, 05:46:20 pm » |
|
I'm working on a small surprise for you, z3r0..
|
|
|
|
|
Logged
|
|
|
|
|
'n ddrylliog
|
 |
« Reply #2 on: 29. November 2006, 06:17:20 pm » |
|
I'm afraid it'll be for tomorrow (I spent some time implemeting Debug Center, too).
|
|
|
|
|
Logged
|
|
|
|
z3r0
Just dropped in
Offline
Posts: 6
|
 |
« Reply #3 on: 29. November 2006, 08:49:30 pm » |
|
Hi
Thanks for you response, that's perfect, im not in a hurry n_n!
|
|
|
|
|
Logged
|
Once i looked up to the sky , and saw this 3 lines, each line had a different color. One, it was blue, The next One it was more darkish, but still blue, and the Third one, almost seemed like a purple tone.. Then I said... Damn... GOD needs a better Graphics Card (this is 100% true n_n).
|
|
|
|
|
|
'n ddrylliog
|
 |
« Reply #5 on: 30. November 2006, 05:45:48 pm » |
|
Well, ODE would sure do the job, but it's a bit heavyweight if you just want to do an articulated arm.. (no physic simulation).
|
|
|
|
|
Logged
|
|
|
|
|
'n ddrylliog
|
 |
« Reply #6 on: 30. November 2006, 06:55:28 pm » |
|
Work In Progress. I'm still polishing the API, adding convenience methods, debugging. I think on Friday it will be ready. (Though if you can't wait, take a look at org.xith3d.w3g.Physics)
|
|
|
|
|
Logged
|
|
|
|
|
'n ddrylliog
|
 |
« Reply #7 on: 01. December 2006, 06:11:55 pm » |
|
Finished ! HingeJoint class now works perfectly. For an example of use, see org.xith3d.w3g.Physics DebugCenter is now my work in progress. Also, Xith3DTestStarter has been renamed to Xith3DTestLauncher (sounds better  )
|
|
|
|
|
Logged
|
|
|
|
Marvin Fröhlich
Xith Lord
Administrator
Guru
   
Offline
Posts: 4381
May the 4th, be with you...
|
 |
« Reply #8 on: 01. December 2006, 07:51:52 pm » |
|
Also, Xith3DTestStarter has been renamed to Xith3DTestLauncher (sounds better  ) This is ok. But I have rechanged the folder structure in media.jar. If these resources are available directly as a root-resource, there could be conflicts. It is never a good idea to put something into the root. In java putting classes into the "default-package", which is the root folder, is even discouraged. And what if the resource structure grows? The you're learely forced to have ha folder structure. So anyway it it a good idea to hold reasources in a structure. I've readded the xith logo to the media jar and used it in DisplayOptions again. But the method creating the logo for the gui is overridden in Xith3DTestLauncher, which uses the test launcher logo. But it looks a but strange together with this gui. I guess the format is better suited for DebugCenter, but on the test launcher it is not very good. The xith logo looks much better. I guess it would be cooler to use the original logo and place the test launcher text on it. Would look much better. But for the moment it is ok. What do you think. Marvin
|
|
|
|
« Last Edit: 01. December 2006, 08:01:33 pm by Marvin Fröhlich »
|
Logged
|
|
|
|
z3r0
Just dropped in
Offline
Posts: 6
|
 |
« Reply #9 on: 01. December 2006, 08:52:32 pm » |
|
Finished ! HingeJoint class now works perfectly. For an example of use, see org.xith3d.w3g.Physics DebugCenter is now my work in progress. Also, Xith3DTestStarter has been renamed to Xith3DTestLauncher (sounds better  ) Thanks very very much. At this right moment i'm browsing CVS for this, I will study all of this material and when I get a workin' project I'll let you know THANKS A LOT
|
|
|
|
|
Logged
|
Once i looked up to the sky , and saw this 3 lines, each line had a different color. One, it was blue, The next One it was more darkish, but still blue, and the Third one, almost seemed like a purple tone.. Then I said... Damn... GOD needs a better Graphics Card (this is 100% true n_n).
|
|
|
Marvin Fröhlich
Xith Lord
Administrator
Guru
   
Offline
Posts: 4381
May the 4th, be with you...
|
 |
« Reply #10 on: 01. December 2006, 09:36:34 pm » |
|
Thanks very very much. At this right moment i'm browsing CVS for this, I will study all of this material and when I get a workin' project I'll let you know THANKS A LOT
I hope, you're talking about SVN not CVS  .
|
|
|
|
|
Logged
|
|
|
|
|
'n ddrylliog
|
 |
« Reply #11 on: 02. December 2006, 02:09:29 pm » |
|
Thanks very very much. At this right moment i'm browsing CVS for this, I will study all of this material and when I get a workin' project I'll let you know THANKS A LOT
I hope, you're talking about SVN not CVS  . Actually, he was talking about CVS.. I sent him a PM. and changed some things both on dev.jav.net and xith.org (wrong links, or missing notices).
|
|
|
|
|
Logged
|
|
|
|
Marvin Fröhlich
Xith Lord
Administrator
Guru
   
Offline
Posts: 4381
May the 4th, be with you...
|
 |
« Reply #12 on: 02. December 2006, 02:16:46 pm » |
|
Actually, he was talking about CVS.. I sent him a PM. and changed some things both on dev.jav.net and xith.org (wrong links, or missing notices).
Thanks.
|
|
|
|
|
Logged
|
|
|
|
z3r0
Just dropped in
Offline
Posts: 6
|
 |
« Reply #13 on: 12. December 2006, 12:02:11 am » |
|
Hey what's up guys.
Well i couldn't compile the w3g files.. So I tried the ODEJava option... And guess what?? It works XD.
Well I'm pretty sure there are better ways to do this.. but I'm not that skilled.. maybe time will give me all the knowledge I need to create something better.
So, here is the code to the project if anyone want to have a look.
By the way, anyone can point me to a Shadows tut or doc?? well maybe that goes on another part of the forum. hehehe
Xith3D 0.8 + Odejava 0.2.4
|
|
|
|
|
Logged
|
Once i looked up to the sky , and saw this 3 lines, each line had a different color. One, it was blue, The next One it was more darkish, but still blue, and the Third one, almost seemed like a purple tone.. Then I said... Damn... GOD needs a better Graphics Card (this is 100% true n_n).
|
|
|
z3r0
Just dropped in
Offline
Posts: 6
|
 |
« Reply #14 on: 12. December 2006, 01:02:11 am » |
|
Oh yeah almost forgot.. PLEASE do not pay attention to
Classes / Variables / Comments names
I kinda go crazy with those when I'm frustated hehehe, If anyone that reads it knows spanish.. u will find those names rater Spooky XD.. And the CreateS*** method.. uuuh man I was really frustated that day.
|
|
|
|
|
Logged
|
Once i looked up to the sky , and saw this 3 lines, each line had a different color. One, it was blue, The next One it was more darkish, but still blue, and the Third one, almost seemed like a purple tone.. Then I said... Damn... GOD needs a better Graphics Card (this is 100% true n_n).
|
|
|
|