Search found 16 matches

by rookie
Fri Jan 13, 2012 7:34 pm
Forum: Beginners Help
Topic: irrlicht + Qt4 integration
Replies: 2
Views: 871

Re: irrlicht + Qt4 integration

thanks but I want it to be QMainWindow since I am embedding into another project which already has been implemented. If I use QWidget I would display over the stuff which I wanna display behind some QGraphicsItem
by rookie
Fri Jan 13, 2012 7:31 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Irrlicht / Qt4 integration + QtCreator
Replies: 46
Views: 28270

Re: Irrlicht / Qt4 integration + QtCreator

I know but I don't want it to be QWidget...Anyways thanks for your help
by rookie
Thu Jan 12, 2012 11:47 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Irrlicht / Qt4 integration + QtCreator
Replies: 46
Views: 28270

Re: Irrlicht / Qt4 integration + QtCreator

@aanderse I got the setCentralWidget working but the model still doesn't show up.

Can anyone help me with the following??
http://irrlicht.sourceforge.net/forum/v ... =1&t=45611
by rookie
Thu Jan 12, 2012 11:43 pm
Forum: Beginners Help
Topic: irrlicht + Qt4 integration
Replies: 2
Views: 871

irrlicht + Qt4 integration

I am trying to embed irrlicht into qt4. I have got the following code working. Can anyone please help me why the mesh doesn't show up when I call mainwindow->show after irrlich device is created?? int main(int argc, char *argv[]) {     QApplication a(argc, argv);       // Create the main window     ...
by rookie
Thu Jan 12, 2012 7:18 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Irrlicht / Qt4 integration + QtCreator
Replies: 46
Views: 28270

Re: Irrlicht / Qt4 integration + QtCreator

I have already created a class derived from QGraphicsItem that is Model. I am doing all irrlicht rendering inside Models paint function. So when I create a Models instance & add it to QGraphicsScene it should draw the irrlicht rendering since I have merged the window where kinect stream is being...
by rookie
Wed Jan 11, 2012 8:54 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Irrlicht / Qt4 integration + QtCreator
Replies: 46
Views: 28270

Re: Irrlicht / Qt4 integration + QtCreator

Thanks for your help. I tried using this->centralwidget() but that returns 0. I tried setCntralWidget(widget) to the widget which has all qgraphicsviews but no change. I tried adding IrrlichtDevice to the setcentralwidget but obviously doesn't accept irrlichtdeivce parameters. Since I am doing all m...
by rookie
Tue Jan 10, 2012 11:43 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: Irrlicht / Qt4 integration + QtCreator
Replies: 46
Views: 28270

Re: Irrlicht / Qt4 integration + QtCreator

I am trying to embed kinect with qt & irrlicht. I am able to display irrlicht in 1 window & my kinect stream in other window. When I merge them nothing shows up on top of the kinect stream. I am trying to recreate something like this. http://www.youtube.com/watch?v=1jbvnk1T4vQ I am doing all...
by rookie
Mon Jan 09, 2012 9:19 pm
Forum: Code Snippets
Topic: Irrlicht with Bullet Softbody sample sourcecode
Replies: 22
Views: 13172

Re: Irrlicht with Bullet Softbody sample sourcecode

I am trying to merge the code with Qt. I am performing all functions inside a class which is derived from QGraphicsItem. I am calling the following function inside paint function of the derived class. It prints start simulation but it doesn't display anything not even the rigid body inside the new w...
by rookie
Sat Jan 07, 2012 12:00 am
Forum: Code Snippets
Topic: Irrlicht with Bullet Softbody sample sourcecode
Replies: 22
Views: 13172

Re: Irrlicht with Bullet Softbody sample sourcecode

I am trying to embed the code into Qt. the model displays perfectly if i don't use the stepsimulation part. As I add the step simulation the model is not being displayed. I really need this. Please help me out. void CurioModel::drawIrrlichtScene() { u32 TimeStamp = m_Device->getTimer()->getTime(); u...
by rookie
Thu Jan 05, 2012 9:01 pm
Forum: Code Snippets
Topic: Irrlicht with Bullet Softbody sample sourcecode
Replies: 22
Views: 13172

Re: Irrlicht with Bullet Softbody sample sourcecode

I am trying to merge the provided code with Qt. This is my simulation. It is printing 7,8,9 but not displaying anything. void MainWindow::drawIrrlichtScene() { qDebug() << "MainWindow::drawIrrlichtScene()"; while(m_Device->run()) { qDebug() << "start simulation" << endl; m_dynami...
by rookie
Thu Jan 05, 2012 6:38 pm
Forum: Code Snippets
Topic: Irrlicht with Bullet Softbody sample sourcecode
Replies: 22
Views: 13172

Re: Irrlicht with Bullet Softbody sample sourcecode

Step simulation part--> while(device->run()) { dynamicsWorld->stepSimulation(1/15.0f, 1); for (int i=0; i<mb->getVertexCount(); i++) { int index = testMesh_map.find(i)->second; btSoftBody::Node* node = vertices.find(index)->second; mb_vertices .Pos.X = node->m_x.x(); mb_vertices .Pos.Y = node->m_x.y...
by rookie
Thu Jan 05, 2012 12:00 am
Forum: Project Announcements
Topic: Irrlicht + Kinect
Replies: 7
Views: 3956

Re: Irrlicht + Kinect

Can you please help out with examples since right now I have worked out how to make them work separately but want them to work together. something like displaying meshes using irrlicht on top of video from kinect??
by rookie
Wed Jan 04, 2012 11:10 pm
Forum: Beginners Help
Topic: Irrlicht+kinect
Replies: 0
Views: 336

Irrlicht+kinect

I have just started looking into irrlicht & kinect. I am trying to display some models which I am able to render using irrlicht+opengl on top of the the video stream provided by kinect. Can anyone please help me with this?? Maybe point me to some examples or tutorials. Please help me. I have to ...
by rookie
Wed Jan 04, 2012 7:41 pm
Forum: Code Snippets
Topic: Irrlicht with Bullet Softbody sample sourcecode
Replies: 22
Views: 13172

Re: Irrlicht with Bullet Softbody sample sourcecode

I solved the problem with cubeSoftBody->addForce(btVector3(0,10050, 0 ), 10); since I suppose it was reacting to the force but its magnitude was low. I increased the forces magnitude & now it seems to be working fine. Now I am trying to add other models but the i is showing certain part of it &a...
by rookie
Tue Jan 03, 2012 11:00 pm
Forum: Code Snippets
Topic: Irrlicht with Bullet Softbody sample sourcecode
Replies: 22
Views: 13172

Re: Irrlicht with Bullet Softbody sample sourcecode

thanks for the code. Can you tell me how to implement keyboard interaction?? I tried the following code. It is ubuntu 11.04. The applicaion exits when I hit ESCAPE but does not apply any force when I press Space. class MyEventReceiver : public IEventReceiver { public: // This is the one method that ...