Search found 20 matches

by svedach
Tue Dec 06, 2016 5:35 pm
Forum: Beginners Help
Topic: Coordinates of the vertices in the world coordinate system
Replies: 10
Views: 858

Re: Coordinates of the vertices in the world coordinate syst

Yes, you're absolutely right, it is a method of BulletPhysics. With nodes Irrlicht I define the position and rotation of the sensor. And uses this information to generate endpoint RayTest.
by svedach
Tue Dec 06, 2016 6:33 am
Forum: Beginners Help
Topic: Coordinates of the vertices in the world coordinate system
Replies: 10
Views: 858

Re: Coordinates of the vertices in the world coordinate syst

Another function is the "btDiscreteDynamicsWorld :: rayTest" ... with help of this method, I want to find the nearest object. On GitHub have forks that allow this method to run in multiple threads ...
by svedach
Mon Dec 05, 2016 5:53 pm
Forum: Beginners Help
Topic: Coordinates of the vertices in the world coordinate system
Replies: 10
Views: 858

Re: Coordinates of the vertices in the world coordinate syst

I wonder ... Tell me, ISceneCollisionManager :: getCollisionPoint faster than g_PhysicalWorld-> GetWorld () -> rayTest (Start, End, RayCallBack)? And whether it is possible to perform ISceneCollisionManager :: getCollisionPoint from multiple threads? Should I use ITriangleSelector * selector or can ...
by svedach
Mon Dec 05, 2016 5:18 pm
Forum: Beginners Help
Topic: Coordinates of the vertices in the world coordinate system
Replies: 10
Views: 858

Re: Coordinates of the vertices in the world coordinate syst

Thank you. I understand you offer not do a few RayTest, and instead create a sphere with which to check the intersection of objects? I just have hundreds of such sensors and to me it is very important to quickly calculate their ...
by svedach
Sun Dec 04, 2016 6:27 pm
Forum: Beginners Help
Topic: Coordinates of the vertices in the world coordinate system
Replies: 10
Views: 858

Re: Coordinates of the vertices in the world coordinate syst

Well, thanks for the quick response, I have been working in this direction. I will describe the problem more generally, I imitate the sensor field of view and want use the method RayTest to check the presence of an object in a certain region, for that I generate endpoints with little extensibility i...
by svedach
Sun Dec 04, 2016 5:57 pm
Forum: Beginners Help
Topic: Coordinates of the vertices in the world coordinate system
Replies: 10
Views: 858

Coordinates of the vertices in the world coordinate system

Good afternoon. I am using addMeshSceneNode(_Mesh) to create a graphic node. _Mesh is SMesh, and I create by specifying the vertices of triangles. Next, I need to get the coordinates of the vertices at the offset, rotation, and scale of the node. In the SMeshBuffer coordinates are not changed. How c...
by svedach
Tue Nov 08, 2016 8:36 am
Forum: Beginners Help
Topic: Disable of scaling child node.
Replies: 11
Views: 890

Re: Disable of scaling child node.

Thank you very much. The class that you recommend doing exactly what I need. Since computation physics and rendering scene are performed in different threads, I do not need very high performance graphics engine. I was a little changed your class and spread it here, all of a sudden someone else will ...
by svedach
Sun Nov 06, 2016 5:34 pm
Forum: Beginners Help
Topic: Disable of scaling child node.
Replies: 11
Views: 890

Re: Disable of scaling child node.

Well, I mean ... Tell me, then, please, how do I determine the correct origin and rotation the child node relative to the parent.
by svedach
Sun Nov 06, 2016 5:10 pm
Forum: Beginners Help
Topic: Disable of scaling child node.
Replies: 11
Views: 890

Re: Disable of scaling child node.

Is it possible to easily add the appointment of child nodes of the parent node flag application scale? Maybe it would even increased performance - it is not always necessary to use the parent node scope. I use Irrlicht to display the results of the Bullet Physics, and there is a class with the aid o...
by svedach
Sun Nov 06, 2016 1:18 pm
Forum: Beginners Help
Topic: Disable of scaling child node.
Replies: 11
Views: 890

Re: Disable of scaling child node.

Please try this:   #include "stdafx.h" #include <irrlicht.h>   using namespace irr;   #ifdef _MSC_VER #pragma comment(lib, "Irrlicht.lib") #endif   int main() {     IrrlichtDevice * Device = createDevice(video::EDT_OPENGL, core::dimension2d<u32>(1280,1024) );     if (!Device)    ...
by svedach
Sun Nov 06, 2016 8:32 am
Forum: Beginners Help
Topic: Disable of scaling child node.
Replies: 11
Views: 890

Re: Disable of scaling child node.

Thanks for the quick reply, but somehow it does not work. I add child node with a turn and it is distorted (child node is created as g_GraphicalWorld-> SceneManager () -> addMeshSceneNode (.....); bluish transparent tetrahedron shown in figure is child node).If turn the child node relative parent is...
by svedach
Sat Nov 05, 2016 8:06 pm
Forum: Beginners Help
Topic: Disable of scaling child node.
Replies: 11
Views: 890

Disable of scaling child node.

Is it possible to disable or compensate of scaling child node when the assignment of its parent?
by svedach
Mon Oct 24, 2016 2:46 pm
Forum: Beginners Help
Topic: Control scale and rotation when set parent node.
Replies: 3
Views: 486

Re: Control scale and rotation when set parent node.

Node field of view is created and rotated with the right size, then she is clinging to the sensor node, and if I understand correctly, to the node of the field of view of the scale of the sensor node is used, which distorts the node view.
by svedach
Mon Oct 24, 2016 2:40 pm
Forum: Beginners Help
Topic: Control scale and rotation when set parent node.
Replies: 3
Views: 486

Re: Control scale and rotation when set parent node.

Well, why do I get by dividing the vector. And the scale is used for all three axes.
I think here the reason is different: the scale is applied to the child node after the turn. How to avoid it?
by svedach
Sun Oct 23, 2016 5:30 pm
Forum: Beginners Help
Topic: Control scale and rotation when set parent node.
Replies: 3
Views: 486

Control scale and rotation when set parent node.

Good afternoon. I imitate the sensor field of view (transparent triangle), which is ISceneNode given from SMesh. The field of view as a subsidiary node clinging to the sensor node, which conditionally scale (1, 1, 2). When I cling to the node of the field of view of the sensor I give it the scale to...