string animation_name;
string renderable_name;
Graphics::WindowOptions wnd_opts;
- Graphics::GLOptions gl_opts;
Options(int, char **);
};
wnd_opts.width = lexical_cast<unsigned>(m[1].str);
wnd_opts.height = lexical_cast<unsigned>(m[2].str);
}
- gl_opts.gl_version_major = Graphics::GLOptions::LATEST_VERSION;
- gl_opts.core_profile = true;
}
Viewer::Viewer(int argc, char **argv):
opts(argc, argv),
window(display, opts.wnd_opts),
- gl_device(window, opts.gl_opts),
+ gl_device(window),
mouse(window),
view(window),
sequence(0),
{
sequence = new GL::Sequence();
sequence->set_debug_name("Sequence");
+ sequence->set_clear_enabled(true);
GL::Sequence::Step &step = sequence->add_step(0, *renderable);
step.set_lighting(&lighting);
step.set_depth_test(GL::LEQUAL);