Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (525)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (594)
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  
  GeomCylinder help  (Read 1490 times)
0 Members and 1 Guest are viewing this topic.
Offline gafferuk

Senior Newbie





« Posted 2004-10-20 09:11:40 »

When i create a GeomCylinder in odejava it crashes throwing out errors which i havent got on me at this time. I can't create one in the car example or any other.

Is GeomCylinder fully working or have i made an error?
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #1 - Posted 2004-10-20 21:59:06 »

GeomCylinder is not working.

This is more a limitation of ODE than Odejava - it is still only a contrib module.  This means it isn't supported as well and is a bit of a pain to add to the build script (there was an effort to automate the process with a patch but apparently it was very complicated).

Use Spheres - they work.

Will.

Offline gafferuk

Senior Newbie





« Reply #2 - Posted 2004-10-25 12:29:22 »

I'm building a TenPin Bowling game, problem with using spheres, the pins would fall/roll over, guess i'll have to try a new game.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #3 - Posted 2004-10-25 19:33:01 »

why not use boxes?

Will.

Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #4 - Posted 2004-10-25 19:37:59 »

or, a sphere with a small box base (using a GeomTransform) so it stays upright but rolls when hit.

Will.

Offline gafferuk

Senior Newbie





« Reply #5 - Posted 2004-10-27 09:26:50 »

Yes, i was thinking about using a box base and collide them only with the alley floor.  Thanks for your input.
Offline gafferuk

Senior Newbie





« Reply #6 - Posted 2004-10-29 10:35:52 »

Problem with using a box base is the pin would only fall one of 4 ways. Could use several boxes overlaping each other and rotated but then gets silly. would require 90 boxes to cover the full 360 deg. Unless ode gets cylinder support this project is dead.
Offline darkprophet

Senior Devvie




Go Go Gadget Arms


« Reply #7 - Posted 2004-10-30 20:17:26 »

yeah, i need it too for my jME-ODE binding please.

Thx

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #8 - Posted 2004-10-30 23:51:08 »

the deal is this:

Cylinder is not an official ODE geom, it's a contributed module.

Currently doing a full native upgrade and build of Odejava on all three supported platforms is quite time consuming.  For this reason, I don't want to make the process any less automated than it is.

When I do a native build - I remove the odejava/compile/ode directory and copy fresh ODE sources in.  If you can modify the build so that the cylinder module is a patch that can automatically be applied to those ode sources then I am happy to include it.

A patch does exist for this cylinder code, and t_larkworthy had a crack at getting it to work but found that the patch was incomplete.  He emailed the ODE mailing list regarding this but go no response.

If you can get the patch working (and are prepared to maintain it in the future) or can petition the ODE guys to properly maintain it (or even integrate it into the core which would be ideal) then we are in business.

NOTE:  If you are looking into this, use the "dCylinder2" contrib, it is apparently better than the original "dCylinder"

Will.

Offline gafferuk

Senior Newbie





« Reply #9 - Posted 2004-10-31 14:33:49 »

Thanks Will for your input.
Can anyone tell us why ode is so limited by its range of simple geometry? Got great ideas for games.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #10 - Posted 2004-11-01 09:17:41 »

You're welcome.

I believe there is some resistance to adding new geometry types as it slows down the collision detection.

I suggest emailing to the ODE mailing list regarding possible integration of the Cylinder code into the core if you want it.  I'll second it if you do.  Even a working patch would be enough.

Will.

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.

toopeicgaming1999 (71 views)
2014-11-26 15:22:04

toopeicgaming1999 (60 views)
2014-11-26 15:20:36

toopeicgaming1999 (14 views)
2014-11-26 15:20:08

SHC (27 views)
2014-11-25 12:00:59

SHC (25 views)
2014-11-25 11:53:45

Norakomi (31 views)
2014-11-25 11:26:43

Gibbo3771 (25 views)
2014-11-24 19:59:16

trollwarrior1 (38 views)
2014-11-22 12:13:56

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

digdugdiggy (55 views)
2014-11-12 21:11:50
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!