Search found 5 matches
- Tue Jun 29, 2010 7:14 am
- Forum: Beginners Help
- Topic: openCV & CvIrrCamTexture - distorted image
- Replies: 13
- Views: 1327
As you can see, you try to copy 3 of 4 bytes to 3 of 4 bytes. However, your texture format only has two bytes. This cannot work. You should check which format your camera image really has, and create your texture accordingly. Next, check the texture format (because it's not guaranteed to get this f...
- Mon Jun 28, 2010 12:42 pm
- Forum: Beginners Help
- Topic: openCV & CvIrrCamTexture - distorted image
- Replies: 13
- Views: 1327
I have tested many configurations (16 or 32bits, ECF_A1R5G5B5 or ECF_R5G6B5) but the result still the same... Here is the code if somebody wan to help me : irr::video::ITexture* create_ITexture_from_CvCapture(CvCapture* capture, irr::video::IVideoDriver* driver) { char unique_tex_name[50]; //for irr...
- Mon Jun 28, 2010 10:03 am
- Forum: Beginners Help
- Topic: openCV & CvIrrCamTexture - distorted image
- Replies: 13
- Views: 1327
- Mon Jun 28, 2010 7:00 am
- Forum: Beginners Help
- Topic: openCV & CvIrrCamTexture - distorted image
- Replies: 13
- Views: 1327
- Fri Jun 25, 2010 2:49 pm
- Forum: Beginners Help
- Topic: openCV & CvIrrCamTexture - distorted image
- Replies: 13
- Views: 1327