Hi,
I start playing with the TV3D SDK trial, and up until now this SDK is what I was looking for.
I have built my first framework with C++ but I am getting annoying flickering when rendering.
I render the window on:
1. mouse move event
2. size event
I paint the window like this:
MyWindow::OnPaint()
{
// obtain a window DC
pTV->Clear(false);
pScene->RenderAll(true);
pTV->RenderToScreen();
}
MyWindow::OnMouseMove()
{
Refresh(); // generate a PAINT event
}
MyWindow::OnSize()
{
Refresh(); // generate a PAINT event
}
Am i doing something wrong?
How I can eliminate this flickering?
You can download the application to see by your self:
http://moraldigames.com/Temp/Sample.exeThanks in advance.