Search found 25 matches
- Fri Jul 06, 2007 7:53 am
- Forum: Beginners Help
- Topic: 2D bounding box
- Replies: 9
- Views: 824
- Fri Jul 06, 2007 7:51 am
- Forum: Beginners Help
- Topic: getScreenCoordinatesFrom3DPosition trouble
- Replies: 2
- Views: 624
- Thu Jul 05, 2007 1:11 pm
- Forum: Beginners Help
- Topic: getScreenCoordinatesFrom3DPosition trouble
- Replies: 2
- Views: 624
getScreenCoordinatesFrom3DPosition trouble
Hi everyone, Don't know if it's a bug or just me with some wrong code, so I made the thread here. I use the function 'getScreenCoordinatesFrom3DPosition' to calculate the 2D screen coordinates of each corner of a bounding box. Here's an eplanation of what I'm doing in PSEUDO-code: V_3DVECTOR corner[...
- Fri Jun 29, 2007 7:38 am
- Forum: Bug reports
- Topic: irrlicht 1.3.1 bug
- Replies: 2
- Views: 357
- Thu Jun 28, 2007 2:43 pm
- Forum: Bug reports
- Topic: irrlicht 1.3.1 bug
- Replies: 2
- Views: 357
irrlicht 1.3.1 bug
I just downloaded the latest version of Irrlicht (1.3.1) from the website. During the compilation everything went alright. Now the problem: when I start my program with the new version of the dll (compiled in debug mode), the program breaks at the following line in CSceneManager.cpp. This happens so...
- Wed Jun 27, 2007 5:05 pm
- Forum: Bug reports
- Topic: [fixed] possible 3ds mesh loader bug
- Replies: 1
- Views: 451
[fixed] possible 3ds mesh loader bug
I encountered a memory leak (on exiting my application) when using a specific model in my program. The error is as follows: C:\Program Files\Microsoft Visual Studio 8\VC\include\crtdbg.h(1147) : {15564} normal block at 0x09BB55F0, 2046 bytes long. Data: < > 00 00 02 00 01 00 03 00 05 00 04 00 06 00 ...
- Thu Jun 21, 2007 12:26 pm
- Forum: Beginners Help
- Topic: Irrlicht on MFC CButton causes flicker on click
- Replies: 13
- Views: 3260
I finally have it! The solution is stated below: - Subclass a CButton to create your own CRenderButton - Make sure that the button's property 'OwnerDrawn' is true - Create the following method within your CRenderButton class: void CRenderButton::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) { lpDrawIt...
- Thu Jun 21, 2007 7:31 am
- Forum: Beginners Help
- Topic: Irrlicht on MFC CButton causes flicker on click
- Replies: 13
- Views: 3260
- Wed Jun 20, 2007 1:21 pm
- Forum: Beginners Help
- Topic: Irrlicht on MFC CButton causes flicker on click
- Replies: 13
- Views: 3260
As far as I know, the SIrrlichtCreationParameters struct allows only a resolution to be set. However, if I let Irrlicht render in the main window, the resolution parameters seems to have no effect; the whole window just gets used. About the button, do you know of a way to stop the button itself from...
- Wed Jun 20, 2007 12:56 pm
- Forum: Beginners Help
- Topic: Irrlicht on MFC CButton causes flicker on click
- Replies: 13
- Views: 3260
It doesn't have to be a button. I just need a small part of my total form to be used as render window. The other part of the form contains listboxes, buttons and all kinds of regular MFC controls. I picked a button because that worked, has an onclick event and was used in the example. The way that t...
- Wed Jun 20, 2007 12:16 pm
- Forum: Beginners Help
- Topic: Irrlicht on MFC CButton causes flicker on click
- Replies: 13
- Views: 3260
- Wed Jun 20, 2007 10:59 am
- Forum: Beginners Help
- Topic: Irrlicht on MFC CButton causes flicker on click
- Replies: 13
- Views: 3260
Irrlicht on MFC CButton causes flicker on click
Hello everyone, I have a Win32 MFC form with a CButton component on it. When I create my Irrlicht device I pass the hwnd of that button to creation parameters: irr::SIrrlichtCreationParameters parameters; parameters.DriverType = irr::video::EDT_DIRECT3D9; parameters.WindowId = hWnd; // hWnd is speci...
- Fri May 04, 2007 9:09 am
- Forum: Beginners Help
- Topic: Eventreceiver + windows form
- Replies: 2
- Views: 929
- Fri May 04, 2007 8:01 am
- Forum: Beginners Help
- Topic: Eventreceiver + windows form
- Replies: 2
- Views: 929
Eventreceiver + windows form
Hello, I'm experiencing a problem with the event receiver. Currently I have it running within a Windows MFC form. The Irrlicht device is created with the HWND of a CButton, which is located in the middle of the form. Now the problem is that for some reason, I don't get any feedback from the eventrec...
- Fri Apr 27, 2007 7:29 am
- Forum: Beginners Help
- Topic: selection with the mouse
- Replies: 1
- Views: 418