Many thanks
It work.
My Gizmo Example: gizmoTest.7z
It remains to scale the axes.
Search found 16 matches
- Mon May 09, 2011 6:38 pm
- Forum: Beginners Help
- Topic: Gizmo SceneNode
- Replies: 11
- Views: 2813
- Mon May 09, 2011 2:56 pm
- Forum: Beginners Help
- Topic: Gizmo SceneNode
- Replies: 11
- Views: 2813
- Mon May 09, 2011 2:50 pm
- Forum: Beginners Help
- Topic: Bug? Focused window ruins EGET_MENU_ITEM event?
- Replies: 17
- Views: 791
- Mon May 09, 2011 2:36 pm
- Forum: Beginners Help
- Topic: Gizmo SceneNode
- Replies: 11
- Views: 2813
Thanks for reply. Now the position of the arrows at the movement is correct. But I still have a few questions. 1. How to make the scale of the axis was always the same? Relative to the camera. vector3d<f32> CamFwd = vector3d<f32>((GizmoSceneNode->getAbsolutePosition()) - (Device->getSceneManager()->...
- Sun May 08, 2011 6:55 pm
- Forum: Beginners Help
- Topic: Gizmo SceneNode
- Replies: 11
- Views: 2813
And why do you insist on using an empty scene node as a base for the gizmo? Now only three arrows. I can't really decipher your last sentences, so I don't completely understand what you're asking there I asked for help to fix bugs. Now the position of the arrows at the beginning of the movement is ...
- Sun May 08, 2011 6:18 pm
- Forum: Beginners Help
- Topic: Gizmo SceneNode
- Replies: 11
- Views: 2813
- Sat May 07, 2011 3:50 pm
- Forum: Beginners Help
- Topic: Gizmo SceneNode
- Replies: 11
- Views: 2813
- Sat May 07, 2011 12:39 pm
- Forum: Beginners Help
- Topic: Gizmo SceneNode
- Replies: 11
- Views: 2813
Gizmo SceneNode
Please help me to write a class of gizmo-manipulator. cgizmoscenenode.cpp #include "cgizmoscenenode.h" CGizmoSceneNode::CGizmoSceneNode(IrrlichtDevice *device, scene::ISceneNode* parent, scene::ISceneManager* mgr, s32 id) : scene::ISceneNode(parent, mgr, id) { #ifdef _DEBUG setDebugName(&q...
- Fri May 06, 2011 11:37 am
- Forum: Beginners Help
- Topic: Irrlicht Qt-widget in Linux
- Replies: 4
- Views: 1419
The problem is solved in the following code:
Code: Select all
setAttribute(Qt::WA_PaintOnScreen);
- Fri May 06, 2011 10:39 am
- Forum: Beginners Help
- Topic: Irrlicht Qt-widget in Linux
- Replies: 4
- Views: 1419
Did you create an opengl window? Yes. ... params.DriverType = EDT_OPENGL; ... device = createDeviceEx(params); You need to upgrade to a newer version of Qt4. That is a know bug on linux. I think 4.6, 4.7.0 and 4.7.1 are all effected. Try the newest version Qt 4.7.3. And yes it is a problem with win...
- Thu May 05, 2011 2:17 pm
- Forum: Beginners Help
- Topic: Irrlicht Qt-widget in Linux
- Replies: 4
- Views: 1419
Irrlicht Qt-widget in Linux
I wrote own Qt - widget for irrlicht. In Windows, all is OK. In Linux irrlicht - log display the following text: Irrlicht Engine version 1.7.2 Linux 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 Creating X window... Visual chosen: : 209 X Error: BadWindow (invalid Window paramet...
- Mon Apr 04, 2011 4:21 pm
- Forum: Beginners Help
- Topic: Irrlicht log in QTextEdit
- Replies: 6
- Views: 818
Thanks for reply. I tried again to create a event receiver class. #pragma once #include <irrlicht.h> #include <QTextEdit> using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; class MyEventReceiver : public IEventReceiver { public: MyEventReceiv...
- Mon Apr 04, 2011 3:02 pm
- Forum: Beginners Help
- Topic: Irrlicht log in QTextEdit
- Replies: 6
- Views: 818
- Mon Apr 04, 2011 2:41 pm
- Forum: Beginners Help
- Topic: Irrlicht log in QTextEdit
- Replies: 6
- Views: 818
First off, if you just wanna display the text to user, better use a QLabel insted of QTextEdit. No. This is needed for log in an editor. http://s009.radikal.ru/i307/1104/c8/d2f80e917b14.png QTextEdit is well applied for this purpose. Second, unless I'm misunderstanding you, it seems to me you dont ...
- Mon Apr 04, 2011 2:04 pm
- Forum: Beginners Help
- Topic: Irrlicht log in QTextEdit
- Replies: 6
- Views: 818
Irrlicht log in QTextEdit
Hello I wrote a Qt-widget based on this topic . Render works fine. Now I want to take the irrlicht - log through a QTextEdit - object. I know how to display the log on messageBox through OnEvent in EventReceiver. bool EventReceiver::OnEvent(const irr::SEvent &event) { switch(event.EventType) { ....