Irrlicht Beginner 2D. Live video tweaking.
Posted: Tue Oct 13, 2015 2:05 am
Hi all I've used several 3D engines in the past and have some experience with 3d meshes and all.
But I'm just starting with Irrlicht and win32, getting away from .NET
For now I'm using irrlicht to show some 2D stuff on a texture on a viewport as part of my
visual recognition project.

This is really fun, I'm just getting the live video frame data from a webcam into a buffer, and after doing any desired modification to the data, I lock and update the texture.
One of the best parts is that the program has worked consistently on different computers I've tested on, without having to install anything.
But I'm just starting with Irrlicht and win32, getting away from .NET
For now I'm using irrlicht to show some 2D stuff on a texture on a viewport as part of my
visual recognition project.
This is really fun, I'm just getting the live video frame data from a webcam into a buffer, and after doing any desired modification to the data, I lock and update the texture.
Code: Select all
ptr= (unsigned int*)(texture->lock(ETLM_READ_WRITE,0));
for(i=0;i<size;i++){ ptr[i] = source[i]; } //copy
//for(i=0;i<size;i++){ ptr[i] = 0xFFFF0000;} //red-fill-test
texture->unlock();//