Search found 11 matches

by DarkScythe
Sun Mar 26, 2006 8:52 pm
Forum: Advanced Help
Topic: An Error?
Replies: 0
Views: 215

An Error?

Vertex shader function usage (D3DDECLUSAGE_TEXCOORD,1) does not have corresponding usage in the current vertex declaration

sometimes my game slows down to 3-4 fps and the dos window shows this error, has anybody encountered such an error or any clues?
-this might be due to normal map usage but it ...
by DarkScythe
Tue Feb 28, 2006 4:07 am
Forum: Beginners Help
Topic: irrlicht-newton geometry
Replies: 27
Views: 1519

and again:

dMatrix pMatrix;
NewtonConvexHullModifierGetMatrix(collision, &pMatrix[0][0]);
pMatrix.m_up.m_x += 40;
pMatrix.m_up.m_y += 40;
pMatrix.m_up.m_z += 40;

NewtonConvexHullModifierSetMatrix(myShape, &pMatrix[0][0]);

you've released "myShape" , you should only deal with "collision ...
by DarkScythe
Tue Feb 28, 2006 4:04 am
Forum: Beginners Help
Topic: irrlicht-newton geometry
Replies: 27
Views: 1519


NewtonReleaseCollision(nWorld,myShape);
NewtonBody* myBody = NewtonCreateBody(nWorld, myShape);

i did not look at all but first i saw this , you release "myShape" and create the body with it, you should create the body with the collision you've created:

NewtonCollision* collision ...
by DarkScythe
Tue Feb 28, 2006 1:49 am
Forum: Beginners Help
Topic: irrlicht-newton geometry
Replies: 27
Views: 1519

okay yea i got it all compiled now.
but it's still not scaling it.

this is what i have:
NewtonCollision* myShape = NewtonCreateBox(nWorld, size2.X, size2.Y, size2.Z, NULL);
NewtonCollision* collision;
collision = NewtonCreateConvexHullModifier(nWorld,myShape);
dMatrix pMatrix ...
by DarkScythe
Mon Feb 27, 2006 9:55 pm
Forum: Beginners Help
Topic: irrlicht-newton geometry
Replies: 27
Views: 1519

create sth. like this:

NewtonCollision* sphere = NewtonCreateSphere(nWorld, 30, 30, 30, NULL);
collision = NewtonCreateConvexHullModifier(nWorld,sphere);
NewtonReleaseCollision(nWorld,sphere);
body = NewtonCreateBody(nWorld,collision);


and modify like this:

dMatrix pmatrix ...
by DarkScythe
Sat Feb 25, 2006 1:40 pm
Forum: Beginners Help
Topic: irrlicht-newton geometry
Replies: 27
Views: 1519

not really you need a new body search about :

Code: Select all

NewtonCreateConvexHullModifier
by DarkScythe
Fri Feb 24, 2006 5:40 am
Forum: Beginners Help
Topic: 3dLines Visibility Problem Solved
Replies: 4
Views: 759

anybody doesn't know?
why do the 3dlines disappear when i add particals in any project?
by DarkScythe
Tue Feb 21, 2006 8:01 pm
Forum: Beginners Help
Topic: 3dLines Visibility Problem Solved
Replies: 4
Views: 759

not finished :(

after adding some particles, lines are only visible from certain angles independent from the location of the emitters.Anybody knows the cause?
by DarkScythe
Mon Feb 20, 2006 7:54 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Newton-Irrlicht-TerrainCollision-Vehicle Sample Code
Replies: 1
Views: 2061

Newton-Irrlicht-TerrainCollision-Vehicle Sample Code

Its the title i wrote , vehicle code is Nick_Japans thanks to him
(irrlicht 0.14-newton 1.51)

its in the "Misc" section:
http://www.darkscythe.net
by DarkScythe
Mon Feb 20, 2006 5:16 am
Forum: Beginners Help
Topic: 3dLines Visibility Problem Solved
Replies: 4
Views: 759

sorry i searched but couldn't find...whatever thanks for the answer, the topic might be useful if anybody searches for a similar problem
by DarkScythe
Mon Feb 20, 2006 3:56 am
Forum: Beginners Help
Topic: 3dLines Visibility Problem Solved
Replies: 4
Views: 759

3dLines Visibility Problem Solved

i used to have a problem that i couldn't see the 3dlines exactly, what im trying to say, they were not visible from everywhere or their locations were changed and i found out that when i write the code below before calling "draw3dline" everything is ok, anyone knows the reason?


matrix4 mat ...