Hi ,
I have a little problem with a program using hWnd and draw a modified camera
so I not draw the fps camera (//smgr->drawAll())
but not using it make off fps control, so no action
did we have another function that I can use/call for that the program knows is suppose to do something?
note/idea : I have 2 other camera (link and modified from the first one), maybe I can link it with the receiver, and I drawAll each of them.
any ideas???
camera no action drawAll
nobody have do multiple window for a program
I use a part of this post, but like here no answer
http://irrlicht.sourceforge.net/phpBB2/ ... 081#234081
any help/idea???
I use a part of this post, but like here no answer
http://irrlicht.sourceforge.net/phpBB2/ ... 081#234081
any help/idea???
Sorry, I simply don't understand your question... I get it's "something" about using a custom window and rendering and camera controls. But I do not understand what your exact problem with that is. Can you try to formulate it again?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
I need to create the an app with 2 windows
both of them have their own camera,
each camera are created by the main camera of my scene (1 is the left side and the other the right side)
so, I cant use/draw the main camera and this make my program not moving
why is not moving, the move is on the window who's drawing
if I want that one of my 2 windows can be use for fps action (left, right, mouse direction ...), I need to use "WndProc" on CIrrDeviceWin32, but I cant or I dont know how
for the moment I create a new function wndProc on my main, but I cant just copy the code of CIrrDeviceWin32 because there so much things link to it.
maybe thats not the good approach, its what I have in my head now
did you understand or maybe you need more
just said it and I will try to be more understandable
and tanks for your answer
both of them have their own camera,
each camera are created by the main camera of my scene (1 is the left side and the other the right side)
so, I cant use/draw the main camera and this make my program not moving
why is not moving, the move is on the window who's drawing
if I want that one of my 2 windows can be use for fps action (left, right, mouse direction ...), I need to use "WndProc" on CIrrDeviceWin32, but I cant or I dont know how
for the moment I create a new function wndProc on my main, but I cant just copy the code of CIrrDeviceWin32 because there so much things link to it.
maybe thats not the good approach, its what I have in my head now
did you understand or maybe you need more
just said it and I will try to be more understandable
and tanks for your answer
So you need to pass the events from an own WndProc to the Irrlicht device?
What linker Problems do you get?
I think you are on the right track. Usually you must indeed do the same stuff as you see in the WndProc in CIrrDeviceWin32 yourself if you want to pass events from a normal Window to Irrlicht.forX wrote: for the moment I create a new function wndProc on my main, but I cant just copy the code of CIrrDeviceWin32 because there so much things link to it.
What linker Problems do you get?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm