Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Nymphodora), 972 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 5 of 16 1 2 3 4 5 6 7 15 16
Re: newton [Re: Shadow969] #113081
08/18/07 04:36
08/18/07 04:36
Joined: Dec 2005
Posts: 478
India
M
msl_manni Offline
Senior Member
msl_manni  Offline
Senior Member
M

Joined: Dec 2005
Posts: 478
India
The contribution doesn't works with the latest upgrade of A7 7.05. Please look into it.


My Specialities Limited.
Re: newton [Re: Shadow969] #113082
08/19/07 09:58
08/19/07 09:58
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
the engine uses a different vertex struct now so you have to change

Code:

typedef struct
{
float x, y, z;
float nx, ny, nz;
float tu1, tv1;
float tu2, tv2;
float tu3, tv3, tw3;
} VERTEX;



to

Code:

typedef struct
{
float x, y, z;
float nx, ny, nz;
float tu1, tv1;
float tu2, tv2;
float tx3, ty3, tz3, tw3;
} VERTEX;



to get the loading of collision geometry working.

Re: newton [Re: ventilator] #113083
08/19/07 11:42
08/19/07 11:42
Joined: Dec 2005
Posts: 478
India
M
msl_manni Offline
Senior Member
msl_manni  Offline
Senior Member
M

Joined: Dec 2005
Posts: 478
India
Thanks for the speedy solution .


My Specialities Limited.
Re: newton [Re: msl_manni] #113084
10/15/07 13:22
10/15/07 13:22
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
i just wanted to post the new link: http://www.coniserver.net/coni_users/web_users/pirvu/au/demo/zips/litecnewton.zip

...
something about the double precision dll came to my mind. i guess you have to change the dFloat typedef to double in the newton header. probably that's why it crashed.

and here is an interesting article about time slicing: http://www.gaffer.org/game-physics/fix-your-timestep/
(but you don't really need this with the current newton solver since unlike most other physics engines newton doesn't need a fixed timestep to be stable. maybe it could have some slight performance advantages though and reduce small inaccuracies at extreme frame rates. i am not sure.)

Re: newton [Re: ventilator] #113085
10/17/07 13:17
10/17/07 13:17
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline

Serious User
VeT  Offline

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
Quote:


ent_getmesh() works for level geometry too with a7. just pass NULL instead of an entity pointer and loop through all level meshes. but this only works for ABT levels and not for old BSP levels.





Could you give some details at this?


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: newton [Re: VeT] #113086
10/17/07 13:27
10/17/07 13:27
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
kind of like that (not tested):
Code:
int i = 0;
LPD3DXMESH pmesh = (LPD3DXMESH)ent_getmesh(NULL, i, 0);
while(pmesh)
{

// add the triangles of the mesh to newton here

i++;
pmesh = (LPD3DXMESH)ent_getmesh(NULL, i, 0);
}



Re: newton [Re: ventilator] #113087
10/18/07 07:48
10/18/07 07:48
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline

Serious User
VeT  Offline

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
okay, thanks, i'd try this one...


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: newton [Re: VeT] #113088
10/18/07 13:01
10/18/07 13:01
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline

Serious User
VeT  Offline

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
i think that converting blocks to models, registrating them at Newton and deleting after registration is quite faster and easier ;-)


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: newton [Re: VeT] #113089
10/18/07 13:13
10/18/07 13:13
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
didn't you get it to work? i think it doesn't work with BSP-blocks, only with the new mesh based ABT-levels.

yes, you can use the "export model from WED" method too.

Re: newton [Re: ventilator] #113090
10/18/07 19:03
10/18/07 19:03
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline

Serious User
VeT  Offline

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
now i'm learning "Tutorial 7 Character Controller" official Newton tutorial and trying to make moveable character on lite-c...
if i'd finish that, i think that it could be helpfull ;-)


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Page 5 of 16 1 2 3 4 5 6 7 15 16

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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