Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 559 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 14 of 16 1 2 12 13 14 15 16
Re: newton [Re: VeT] #113171
03/16/08 19:10
03/16/08 19:10
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
do you mean stencil shadows?

Re: newton [Re: ventilator] #113172
03/17/08 20:06
03/17/08 20:06
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline

Serious User
VeT  Offline

Serious User

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

looking like 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] #113173
03/28/08 17:25
03/28/08 17:25
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline

Serious User
VeT  Offline

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
so, what about shadows(read: about models VS blocks)?


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] #113174
03/28/08 17:35
03/28/08 17:35
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
i am not sure what i see there on the screenshots? do you mean that if a model gets out of the view frustum its stencil shadows disappear even if they still are supposed to be visible?

i don't use stencil shadows. they have other problems too not only that one. for static shadows on models i use my plugin and in the future i will use realtime shadow mapping. (i already have a working pssm implementation. it just needs some improvements like filtering.)

Re: newton [Re: ventilator] #205930
05/09/08 16:10
05/09/08 16:10
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
does this newton lite-c code supports vehicle physics?



Ubi bene, ibi Patria.
Re: newton [Re: croman] #205940
05/09/08 17:23
05/09/08 17:23
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
yes, there is no vehicle example but the vehicle joint is there. you could look into the offical newton tutorials to figure out how it works.

Re: newton [Re: ventilator] #205942
05/09/08 17:35
05/09/08 17:35
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
oh great. i worked with vehicles with old a6 newton plugin and before couple of months i started using lite-c so...thanks

and BTW, what are you planning to do more on this newton lite-c?

??? QUESTION...when i tried to put two newton vehicles back on a6 (before) they didn't collided with each other. do you know maybe why?



Ubi bene, ibi Patria.
Re: newton [Re: croman] #205982
05/09/08 22:20
05/09/08 22:20
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
i don't know what to put under upDir...???
NewtonConstraintCreateVehicle (const NewtonWorld* newtonWorld, const dFloat* upDir, const NewtonBody* body);


my code goes...
...
car = ent_create("car.mdl", camera.x, NULL);
NewtonBody *car_body = newton_addentity(car, 10, NEWTON_CONVEXHULL, onforceandtorque);
car_body = NewtonConstraintCreateVehicle (n_world, ""0"", car);
...

can someone please help? with what should i replace ""0"" part of my code???



Ubi bene, ibi Patria.
Re: newton [Re: croman] #205991
05/09/08 23:07
05/09/08 23:07
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline

Serious User
VeT  Offline

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
you may ask at official forum - man from there primary makes racing-games, so they can help you


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] #206118
05/11/08 10:19
05/11/08 10:19
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
no,no...that ""0"" must be replaced with "const dFloat* upDir".

NEWTON_API NewtonJoint* NewtonConstraintCreateVehicle (const NewtonWorld* newtonWorld, const dFloat* upDir, const NewtonBody* body);

that says in newton.c from ventilator. now i don't understand what type is const dFloat* updir,..what's that?



Ubi bene, ibi Patria.
Page 14 of 16 1 2 12 13 14 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