Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 2 [3]
  ignore  |  Print  
  [odejava] Weird GeomTriMesh problems  (Read 7932 times)
0 Members and 1 Guest are viewing this topic.
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #60 - Posted 2005-06-24 10:25:58 »

Anybody having the same problem?

DP

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline Amos Wenger

Senior Member




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


« Reply #61 - Posted 2005-06-24 13:22:27 »

I have TriMesh problems too.. and it's very annoying ( you really can't do a game engine with that ).
I'm dropping a sphere on a trimesh terrain, and the sphere react normally, until it falls through the ground.
I'm using the newest Odejava CVS version, and the latest binaries.

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Reply #62 - Posted 2005-06-25 10:45:28 »

I've that also, but it gets better, if you test more often for collisions I think. It happens more often when things are moving fast, right?

:: JOODE :: Xith3d :: OdeJava ::
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Reply #63 - Posted 2005-06-25 10:46:43 »

I'm dropping a sphere on a trimesh terrain, and the sphere react normally, until it falls through the ground.

Yeah we really should have something like a GeomTerrain, which automatically is able to correct that.

:: JOODE :: Xith3d :: OdeJava ::
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #64 - Posted 2005-06-25 11:57:57 »

Maybe its about time Odejava changed its policy about ODE modules, e.g. the GeomTerrain module and incoorporate it in the build...

DP

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline Amos Wenger

Senior Member




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


« Reply #65 - Posted 2005-06-25 14:39:22 »

What would be the difference between GeomTrimesh and GeomTerrain ??
I solved my problem by smoothing the 3D model ( not good for performances... ), but it isn't a good solution.

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Reply #66 - Posted 2005-06-25 14:58:16 »

If you have a GeomTerrain, you know that no elements can be beneath it, so ode can always correct that. As an example I've never seen anything get stuck in a GeomSphere. (Ok I haven't tested it)

:: JOODE :: Xith3d :: OdeJava ::
Offline Amos Wenger

Senior Member




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


« Reply #67 - Posted 2005-06-27 17:34:08 »

Oh I see.
And you say in ODE there is a GeomTerrain ? And not in OdeJava ?

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Reply #68 - Posted 2005-06-27 18:04:19 »

Oh I see.
And you say in ODE there is a GeomTerrain ? And not in OdeJava ?
No - it's the other way round there is no such GeomTerrain in ODE, so we can't have a GeomTerrain either.

:: JOODE :: Xith3d :: OdeJava ::
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #69 - Posted 2005-06-27 18:11:14 »

I believe ODE does have a GeomTerrain, but its a contributed module.

Ode.dCreateTerrain is the ODE method.

DP


Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Games published by our own members! Check 'em out!
Try the Free Demo of Droid Assault
Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Reply #70 - Posted 2005-06-27 18:33:38 »

Yep I also heard about that, but I think it doesn't also work for the ODE guys. Maybe we'll just have to wait some time Wink

Quote
Ode.dCreateTerrain is the ODE method.

There is no such function.

:: JOODE :: Xith3d :: OdeJava ::
Offline Amos Wenger

Senior Member




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


« Reply #71 - Posted 2005-06-28 12:38:18 »

Quote
Ode.dCreateTerrain is the ODE method.

There is no such function...
..In Odejava

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline Patheros

Senior Newbie





« Reply #72 - Posted 2006-02-13 04:48:05 »

Any one solve any of this yet?
Offline Amos Wenger

Senior Member




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


« Reply #73 - Posted 2006-02-13 18:18:39 »

I think there won't be any fix for ODEJava.
But we at Joode are trying to recode these things right.
@t_larkworthy : will your arbitrary polygon detection collision handle the terrains cases well ?

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline t_larkworthy

Senior Member


Medals: 1
Projects: 1


Google App Engine Rocks!


« Reply #74 - Posted 2006-02-13 19:01:26 »

Yeah I am hoping for that. By partially defining the Gauss representation for an object then the potential  anti-podal(opposite) featurse can be limited to only some directions, thus only in some directions can a penetration be measured. It should be trivial to implement a plane like that, but because the system I am working on is only for convex polyhedra, creating a terrain from it is not staightforward. (but obviously there is still a break things up into convex peices algorithm that could be done in the future)

Runesketch: an Online CCG built on Google App Engine where players draw their cards and trade. Fight, draw or trade yourself to success.
Offline Amos Wenger

Senior Member




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


« Reply #75 - Posted 2006-02-14 18:16:09 »

So we need to have an algorithm for dividing concave polyhedras to convex ones.. That won't be a piece of cake...

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline t_larkworthy

Senior Member


Medals: 1
Projects: 1


Google App Engine Rocks!


« Reply #76 - Posted 2006-02-17 02:33:46 »

Its failry easy doing a poor one, just keep cutting the polyhedra until every part is convex. I am hoping the effeciency of the ConvexConvex collision algorithm will of make up for it.

Runesketch: an Online CCG built on Google App Engine where players draw their cards and trade. Fight, draw or trade yourself to success.
Pages: 1 2 [3]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (73 views)
2013-05-17 21:29:12

alaslipknot (85 views)
2013-05-16 21:24:48

gouessej (114 views)
2013-05-16 00:53:38

gouessej (109 views)
2013-05-16 00:17:58

theagentd (120 views)
2013-05-15 15:01:13

theagentd (109 views)
2013-05-15 15:00:54

StreetDoggy (154 views)
2013-05-14 15:56:26

kutucuk (176 views)
2013-05-12 17:10:36

kutucuk (173 views)
2013-05-12 15:36:09

UnluckyDevil (182 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.163 seconds with 21 queries.