A particles test using OpenFrameworks.
Built on Win7, codeblocks and OpenFrameworks 007.
This is also a test to learn how to capture an openframeworks video on windows.
I've used CamStudio and made the main openframeworks window borderless, using the code below:
bool showWindowBorder = false;
if (!showWindowBorder) {
HWND m_hWnd = WindowFromDC(wglGetCurrentDC());
LONG style = ::GetWindowLong(m_hWnd, GWL_STYLE);
style &= ~WS_DLGFRAME;
style &= ~WS_CAPTION;
style &= ~WS_BORDER;
style &= WS_POPUP;
LONG exstyle = ::GetWindowLong(m_hWnd, GWL_EXSTYLE);
exstyle &= ~WS_EX_DLGMODALFRAME;
::SetWindowLong(m_hWnd, GWL_STYLE, style);
::SetWindowLong(m_hWnd, GWL_EXSTYLE, exstyle);
SetWindowPos(m_hWnd, HWND_TOPMOST, 0,0,0,0, SWP_NOSIZE|SWP_NOMOVE);
}
Downloads
Notes
- read risk disclaimer
- sorry for my poor english