Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (580)
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  
  Suggestion, actually a request of Jeff..  (Read 3241 times)
0 Members and 1 Guest are viewing this topic.
Offline MickeyB

Senior Member




my game will work, my game will work!


« Posted 2002-10-24 15:17:54 »

On the old forums you mentioned a bit of source code you were workign on for "collision avoidance"  for java3D.  Were you ever able to complete and if so, do you have a url for it.  (more than happy to have uncommented code) Smiley

M

-and thanks a ton!

MickeyB

Current Project: http://www22.brinkster.com/mbowles/
Offline pepe

Junior Member




Nothing unreal exists


« Reply #1 - Posted 2002-10-24 16:14:20 »

very good links.
very funny applets.  If cars were driven by computer, and using this algorithm, i would have a heart attack at each crossing. Smiley

Home page: http://frederic.barachant.com
------------------------------------------------------
GoSub: java2D gamechmark http://frederic.barachant.com/GoSub/GoSub.jnlp
Offline Jeff

JGO Coder




Got any cats?


« Reply #2 - Posted 2002-10-24 20:09:07 »

I have basic peice of collision detection code up and running.   It does
hirearchical bounding spheres down to the tree nodes and then does triangle v. triangle and returns the colision points,

It uses Java3D geometry, and doesn't yet undertsand all possible forms of Java3D geometry, but that is well encapsulated and should be easily modified or expanded.

Would it be useful for me to post it?  I don't think it comented much yet Sad   Also, would you gusy want the whoel thing, test program and all, or just key bits? (Diference is if you want all of it I need to find a palce to post a zip file.  If you justw anted the trickiest bits, I could probably post those in the Shared Code section.)

JK

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jeff

JGO Coder




Got any cats?


« Reply #3 - Posted 2002-10-24 22:58:51 »

Verlet is one of the kinds of integration for physics, thats about as much as I know off the top of my head though i have the Oriely book on my shelf.

I used the Jakobsen integrator (Hitman Code:57) in my project which is a soft-body iterative approximator.  I got stuck actually at the point where I was trying to extract the implicit constraints from the
"rigid" Java3D object.  Extracting edges and points from java3D's structures is a real bear.

I have a non-working last iteration of my test prog for that, where I drop a sphere and when it hist the ground plane, it shatters due to incorrect constraints :/



Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline MickeyB

Senior Member




my game will work, my game will work!


« Reply #4 - Posted 2002-10-25 01:20:28 »

Yes would love to see some code.  Smiley

My collision detection is leaving a lot to be desired.

Would like the whole thing.  You can email it if its too large to post.  worldbuilder@comcast.net

THanks,


M

MickeyB

Current Project: http://www22.brinkster.com/mbowles/
Offline Jeff

JGO Coder




Got any cats?


« Reply #5 - Posted 2002-10-25 01:46:26 »

Okay,

let me see about zipping it up and putting it online somewhere...

JK

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline Jeff

JGO Coder




Got any cats?


« Reply #6 - Posted 2002-10-25 22:12:24 »

Quote
Okay,

let me see about zipping it up and putting it online somewhere...

JK


So i am stil ltrying to find this code.Angry

I can't believe I didn't archive it somewhere.

I'm going to check my  main projects drive at home tonight.

Its gotta be here somwhere.... I can't imagine I'd let it vanish.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline Jeff

JGO Coder




Got any cats?


« Reply #7 - Posted 2002-10-28 04:06:59 »

Update:

I'm on a huint for this damn code. I will be as much or more
disappointed as any one else if I actually lost this Sad Sad Sad

Unfrotunately it was written at time when I was in transition between buildings and wokring ona borrowed machine.  But I cannot believe that, after all the work I put into it, i just let it get wiped.

More when i know more.

JK

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline MickeyB

Senior Member




my game will work, my game will work!


« Reply #8 - Posted 2002-10-28 15:58:16 »

thanks for you efforts, Jeff!

MickeyB

Current Project: http://www22.brinkster.com/mbowles/
Offline Mithrandir

Senior Member




Cut from being on the bleeding edge too long


« Reply #9 - Posted 2002-11-27 04:11:52 »

Don't forget that there's a pile of collision avoidance code in the j3d.org repository too. Go to http://code.j3d.org/ and look for org.j3d.ui package. You'll need CVS to fetch it.

The site for 3D Graphics information http://www.j3d.org/
Aviatrix3D JOGL Scenegraph http://aviatrix3d.j3d.org/
Programming is essentially a markup language surrounding mathematical formulae and thus, should not be patentable.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline MickeyB

Senior Member




my game will work, my game will work!


« Reply #10 - Posted 2002-11-27 22:15:37 »

Yeah I have that and didnt want to use so much code.  I am only going to have cubes in my universe.(strange as it sounds)

thanks though!!


M

MickeyB

Current Project: http://www22.brinkster.com/mbowles/
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 (51 views)
2014-04-15 18:08:23

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

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

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

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

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

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

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

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

CJLetsGame (209 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!