Search found 105 matches

by Magnet
Wed Nov 29, 2006 10:08 pm
Forum: Beginners Help
Topic: How to use multitexturing
Replies: 1
Views: 304

How to use multitexturing

I am review forum, but does not find any information for me.
How to use multitexturing such as:
Image
If this powerfully simply or discussed in other topic, please do not get angry, and help me.
by Magnet
Wed Nov 29, 2006 7:14 pm
Forum: Advanced Help
Topic: How to rotate object parallel to triangle?
Replies: 4
Views: 483

Thnx for all. I am realize this task! Part of source code: //calculate normal of triangle vector3df normal1 = (tri.pointB-tri.pointA).crossProduct(tri.pointC-tri.pointB).normalize()*10; driver->draw3DLine(tri.pointA, tri.pointA+normal1); driver->draw3DLine(tri.pointB, tri.pointB+normal1); driver->dr...
by Magnet
Tue Nov 28, 2006 7:55 pm
Forum: Advanced Help
Topic: How to rock object on the waves?
Replies: 9
Views: 958

Can you publish your code of the water and moving object?
Or help me please :wink:
Please :cry:
by Magnet
Mon Nov 27, 2006 11:57 am
Forum: Advanced Help
Topic: How to rotate object parallel to triangle?
Replies: 4
Views: 483

This is impossible!

I have triangle3df.

Code: Select all

ISceneNode node=smgr->addCubeSceneNode();
triangle3df tri = GetAssignedTriangle();
//node->setRotation(...);
//node->setTranslation(...); 
I need to calculate vectors Rotation and Translation for node for make cube paralel to triangle.
by Magnet
Mon Nov 27, 2006 9:28 am
Forum: Advanced Help
Topic: How to rotate object parallel to triangle?
Replies: 4
Views: 483

How to rotate object parallel to triangle?

I have two objects: cube and triangle: http://www.webpolit.com/irr/pic51.jpg My triangle points is changed by some function (some points moved by Y coordinates) http://www.webpolit.com/irr/pic52.jpg After points moved I need to change rotation matrix for cube. Cube can be always parellel to triangle...
by Magnet
Mon Nov 27, 2006 6:09 am
Forum: Advanced Help
Topic: How to rock object on the waves?
Replies: 9
Views: 958

You not undestand me.
I am create water!! And need to realize floating object on the water.
by Magnet
Sun Nov 26, 2006 9:54 pm
Forum: Advanced Help
Topic: How to rock object on the waves?
Replies: 9
Views: 958

I am using standart water SceneNode.
And no need to using newton to water.

I need to get Y cordinate on water node in any position and apply it to object.
Also get rotation matrix for some wave and apply it to object.
by Magnet
Sun Nov 26, 2006 9:18 pm
Forum: Advanced Help
Topic: How to rock object on the waves?
Replies: 9
Views: 958

How to rock object on the waves?

How to realize rocking object on the waves?
by Magnet
Mon Nov 20, 2006 1:38 pm
Forum: Off-topic
Topic: I am realize rope based on Newton. But I have probleb...
Replies: 4
Views: 461

If I comment

Code: Select all

NewtonDestroyJoint(nWorld,seg->Joint); 
Newton will work correctly?
by Magnet
Sun Nov 19, 2006 9:08 pm
Forum: Off-topic
Topic: I am realize rope based on Newton. But I have probleb...
Replies: 4
Views: 461

I am noticed: if this error is appears when I remove joints: void CFishungLine::RemoveLineSegments( int Count ) { UnconnectEndSegment(); for(int i=0;i<Count;i++) { SFishungLineSegment *seg = &Segments[Segments.size()-1]; NewtonDestroyBody(nWorld, seg->Body); //if I am comment it, programm works ...
by Magnet
Sun Nov 19, 2006 9:05 am
Forum: Off-topic
Topic: I am realize rope based on Newton. But I have probleb...
Replies: 4
Views: 461

I am noticed that error occurs when any objects touch. My callback is incorrect? void FishungLineApplyForceAndTorqueEvent (const NewtonBody* body) { try { float mass; float Ixx; float Iyy; float Izz; float force[3]; float torque[3]; NewtonBodyGetMassMatrix (body, &mass, &Ixx, &Iyy, &...
by Magnet
Sun Nov 19, 2006 8:50 am
Forum: Off-topic
Topic: I am realize rope based on Newton. But I have probleb...
Replies: 4
Views: 461

I am realize rope based on Newton. But I have probleb...

I am realize rope beased on Newton Physic. I am create many small objects (size=1,1,1) and connect it by ball constraint. ISceneManager* smgr = device->getSceneManager(); //Create Rope connected to prev box NewtonBody *link0,*link1; link0 = firstSegment.Body; vector3df lastPos = firstSegment.Node->g...
by Magnet
Wed Nov 15, 2006 6:34 pm
Forum: Beginners Help
Topic: draw3DLine bug or Why this code has an invalid behaviour?
Replies: 1
Views: 244

draw3DLine bug or Why this code has an invalid behaviour?

I write this code: If I comment one line of code this code is correct, but if I uncomment code line lines draws incorrect! int main() { IrrlichtDevice* device = createDevice( video::EDT_DIRECT3D9, dimension2d<s32>(640, 480), 32, false, true, false, 0); IVideoDriver* driver = device->getVideoDriver()...
by Magnet
Sat Nov 11, 2006 7:18 pm
Forum: Off-topic
Topic: Help me create simple ODE world.
Replies: 3
Views: 401

Can you halp me?
by Magnet
Sat Nov 11, 2006 7:03 pm
Forum: Off-topic
Topic: Takamak is full FREE
Replies: 2
Views: 422

Thank you!