Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, degenerate_762, ozgur), 1,311 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
[NEWTON] Polygon precise collision / Attaching... #107179
01/17/07 00:45
01/17/07 00:45
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline OP
Expert
xXxGuitar511  Offline OP
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
My main goal here is to create a "Polygon Precise Collision." Since newton simply uses a box or sphere method, I need to find another way to do this.

My two Ideas were these:

1) create a pre-compiled map entity...
2) Link several entities together to create one.


In either case, I need to accomplish Idea #2. Does anyone know of a good way to link Newton entities together? I tried using a hinge, but it didn't rotate with the base model...

Any help is appreciated... thankz...


xXxGuitar511
- Programmer
Re: [NEWTON] Polygon precise collision / Attaching [Re: xXxGuitar511] #107180
01/17/07 20:48
01/17/07 20:48
Joined: Nov 2003
Posts: 1,659
San Francisco
JetpackMonkey Offline
Serious User
JetpackMonkey  Offline
Serious User

Joined: Nov 2003
Posts: 1,659
San Francisco
I think we need a version of newton that just works with poly meshes

I'm not sure if the problem is specific to the plugin, or directly within the newton dll's. I am willing to bet it's the plugin not being set up to handle polycollision, but that Newton itself could do it.

Are there any Newton experts know what's going on? Ventilator?

Re: [NEWTON] Polygon precise collision / Attaching [Re: JetpackMonkey] #107181
01/21/07 19:31
01/21/07 19:31
Joined: Oct 2006
Posts: 36
BigM Offline
Newbie
BigM  Offline
Newbie

Joined: Oct 2006
Posts: 36
The current newton engine supports polygon precise collision. You can check this from the example apps at http://www.newtondynamics.com/downloads.html, especially the playground. The problem is that the plugin available for GS does not support polygon precise collision. I don't know whether it is the old newton engine upon which the plugin was based or the plugin itself that don't support that feature. Anyway, the new newton engine has a lot of newer features, besides polycollision, that would be great to see implemented in GS, but as long as noone takes the time to build the pluguin/frontend...

As has been concluded in many other posts... we must wait!

As to how you may link/group objects to form more complex collision shapes, using the available plugin and old newton dll, you should have a look at http://www.newtondynamics.com/downloads/NGDdemo.zip. I found somewhere (maybe [censored]?) the plugin installer which also had the source levels and scripts for this app. If you can get your hands on this, you will be able to see how the 'cylindrical' drums were modelled, for example.

Re: [NEWTON] Polygon precise collision / Attaching [Re: BigM] #107182
01/22/07 11:58
01/22/07 11:58
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
sorry that i never finished an updated plugin like i promised but soon there will be lite-c and a plugin won't be necessary anymore then. just some example code and tutorials which show how to use the official newton.dll...

@xXxGuitar511: i don't know what exactly you want to do but i think even with the old plugin you can link several collision objects into a compound collision object.

Re: [NEWTON] Polygon precise collision / Attaching [Re: ventilator] #107183
01/22/07 12:57
01/22/07 12:57
Joined: Aug 2003
Posts: 511
Hilden in Germany
RobH Offline
User
RobH  Offline
User

Joined: Aug 2003
Posts: 511
Hilden in Germany
@Ventilator:
That are absolut great news. Hope that lite-c will come very quickly so that newton will work like in the last SDK with all collision objects.

Re: [NEWTON] Polygon precise collision / Attaching [Re: RobH] #107184
01/24/07 00:39
01/24/07 00:39
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline OP
Expert
xXxGuitar511  Offline OP
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
@ventilator: Do you have any knowledge of how to do this? I tried using a hing, but I couldn't set the omega for it. IDK - I'll keep messin' with it... Thankz...


xXxGuitar511
- Programmer
Re: [NEWTON] Polygon precise collision / Attaching [Re: xXxGuitar511] #107185
01/27/07 02:05
01/27/07 02:05
Joined: Feb 2003
Posts: 195
slacker Offline
Member
slacker  Offline
Member

Joined: Feb 2003
Posts: 195
Will this allow using newton for ragdoll physics on med bones?

Re: [NEWTON] Polygon precise collision / Attaching [Re: slacker] #107186
01/27/07 03:11
01/27/07 03:11
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline OP
Expert
xXxGuitar511  Offline OP
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
no...


ADD: You would have to use seperate models and ball-constraints for that. I'd recommend this:

place your model in the level. Then, create another invisible "skeleton" of the model using newton. Then simply set your models bones to the position of the "skeleton".

Last edited by xXxGuitar511; 01/27/07 03:14.

xXxGuitar511
- Programmer
Re: [NEWTON] Polygon precise collision / Attaching [Re: xXxGuitar511] #107187
01/28/07 21:40
01/28/07 21:40
Joined: Apr 2004
Posts: 44
S
Stelynn Offline
Newbie
Stelynn  Offline
Newbie
S

Joined: Apr 2004
Posts: 44
Now that lite_c is out, will there be anyone that can present some examples on how to use the latest Newton plugin.

Re: [NEWTON] Polygon precise collision / Attaching [Re: Stelynn] #107188
01/28/07 22:24
01/28/07 22:24
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
i don't have much time for this at the moment so it would be great if several people could work together.

the first necessary steps would be:

  • figure out how to use external dlls with lite-c (<edit> it's described here: http://www.conitec.net/beta/litec_api.htm </edit>)
  • figure out how to best access the geometry of models (probably the most elegant way would be to access the direct3d mesh buffers of models but i have no experience with this and i it always takes me ages to dig through the microsoft docs. would be great if someone could help here. the other possibility would be to use a c-dll wrapper of mdl7.lib.)
  • some utility functions for converting between newton matrices and xyz/pan tilt roll/scalexyz (i can provide those)

the rest should be relatively easy. it should be just a matter of building more and more elaborate examples/tutorials/templates.

Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1