Search found 23 matches
- Fri Nov 04, 2011 4:00 am
- Forum: Beginners Help
- Topic: First Person Camera
- Replies: 1
- Views: 233
First Person Camera
how to make a First Person Camera like addCameraSceneNodeFPS? i don't want to use addCameraSceneNodeFPS... but i want a use addCameraSceneNode... below is my sample code void MainWindow::mouseMoveEvent( QMouseEvent * event ) { ISceneManager *smgr = this->getIrrlichtWidget()->getIrrli...
- Wed Nov 02, 2011 8:40 am
- Forum: Beginners Help
- Topic: select node
- Replies: 10
- Views: 505
Re: select node
ok...
- Tue Nov 01, 2011 4:26 am
- Forum: Beginners Help
- Topic: select node
- Replies: 10
- Views: 505
Re: select node
no need the mouse click event.. but how to let the mouse now which the model i selected? like in the irredit?
- Tue Nov 01, 2011 4:23 am
- Forum: Beginners Help
- Topic: select node
- Replies: 10
- Views: 505
Re: select node
mesh1 is file path where the mesh file i located... and after i load the mesh, it will show the mesh file in the left treeview (p.s you can see it in my preview too).. and i click the text in the treeview, in right hand side about properties.. it will show the properties of this mesh.. my problem i...
- Tue Nov 01, 2011 3:25 am
- Forum: Beginners Help
- Topic: select node
- Replies: 10
- Views: 505
Re: select node
i have solved it... Here is my code.. vector3df nodePosition = node->getPosition(); core::stringw X1 = core::stringw(nodePosition.X).c_str(); QString X2 = QString::fromWCharArray (X1.c_str ()); ui->LineEdit_X->setText(X2); core::stringw X1 = core::stringw(nodePosition.X).c_str(); this line for...
- Tue Nov 01, 2011 2:56 am
- Forum: Beginners Help
- Topic: select node
- Replies: 10
- Views: 505
Re: select node
thanks for the reply.. but i still don't understand..
please tell me a sample of code from how to convert from f32 to stringW ?
i get this error from this code..
please tell me a sample of code from how to convert from f32 to stringW ?
Code: Select all
vector3df nodePosition = node->getPosition();
core::stringw s1 = nodePosition.Y();
- Mon Oct 31, 2011 8:25 am
- Forum: Beginners Help
- Topic: select node
- Replies: 10
- Views: 505
Re: select node
when i use this code: vector3df nodePosition = node->getPosition(); ui->LineEdit_X->setText(nodePosition.Y); and i produced this error.. error C2664: 'QLineEdit::setText' : cannot convert parameter 1 from 'irr::f32' to 'const QString &' how to convert it? error C2664: 'QLineEdit::setText' : ...
- Mon Oct 31, 2011 8:17 am
- Forum: Beginners Help
- Topic: select node
- Replies: 10
- Views: 505
Re: select node
i figured it out.. i have use AnimatedMeshSceneNode in my code..
in this line
in this line
Code: Select all
IAnimatedMeshSceneNode *node = smgr->addAnimatedMeshSceneNode(mesh);
- Mon Oct 31, 2011 7:28 am
- Forum: Beginners Help
- Topic: select node
- Replies: 10
- Views: 505
Re: select node
i want know the logically of the code..
p.s. i use QT and irrlicht engine to make that..
p.s. i use QT and irrlicht engine to make that..
- Mon Oct 31, 2011 7:27 am
- Forum: Beginners Help
- Topic: select node
- Replies: 10
- Views: 505
select node
hi, sorry to disturb again... what the different between AnimatedMeshSceneNode and IAnimatedMesh? i load my file with IAnimatedMesh.. but i can't use getposition in IAnimatedMesh... here is my project preview: http://www.freeimagehosting.net/t/c5ab4.jpg http://www.freeimagehosting.net/t/e6c0f.jpg ht...
- Fri Oct 21, 2011 8:12 am
- Forum: Beginners Help
- Topic: convert from irrlicht to qt
- Replies: 7
- Views: 625
Re: convert from irrlicht to qt
yeah, i try put it and produced this error:hybrid wrote:Are you sure that you did not forget the parantheses after c_str() <-- these ones?!
Error 41 error C2440: '=' : cannot convert from 'const wchar_t *' to 'QString *'
- Fri Oct 21, 2011 4:54 am
- Forum: Beginners Help
- Topic: convert from irrlicht to qt
- Replies: 7
- Views: 625
Re: convert from irrlicht to qt
I haven't used Qt before, but I would imagine you could do something like this: str = MessageText.c_str(); it's failed and produced this error: Error 41 error C3867: 'irr::core::string<T>::c_str': function call missing argument list; use '&irr::core::string<T>::c_str' to create a pointer to mem...
- Fri Oct 21, 2011 4:16 am
- Forum: Beginners Help
- Topic: convert from irrlicht to qt
- Replies: 7
- Views: 625
convert from irrlicht to qt
hi all... i try to make a qt project using irrlicht engine now i want to ask about converting string from irrlicht to qt if irrlicht declation string is like this : core::stringw MessageText; MessageText = "Test Message"; and qt declation string is like this: QString str; and i try...
- Fri Oct 21, 2011 3:00 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Irrlicht / Qt4 integration + QtCreator
- Replies: 46
- Views: 30323
Re: Irrlicht / Qt4 integration + QtCreator
hybrid wrote:Due to element ordering changes in the last few versions of sketchup, the current Irrlicht loader cannot open those collada files properly. Next version wil have a fixed loader.
tq admin
- Thu Oct 20, 2011 3:55 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Irrlicht / Qt4 integration + QtCreator
- Replies: 46
- Views: 30323
Re: Irrlicht / Qt4 integration + QtCreator
here is my code... http://www.2shared.com/file/U5jXL-fP/ViderePlanning.html i wish to ask about collada files.. do you try to load a collada files? i export a collada files using sketch up 8, and show in irrlicht engine.. but it's failed and i try using sketch up 7, it's can load it, but not exactly...