For all the demos, press ESCAPE and then enter /?
or /help
to display the commands available in the console window.
Demo featuring primitive batch rendering, lighting (point and directional lights), phong and gooch lighting and rendering to a cube map texture to generate reflections.
Tool to copy a VC++ solution excluding all the data generated during the compilation. Basically only the source code is copied.
Renders a pipe composed of many matched trajectories. All trajectories derive from TrajectoryBase and their points can be accessed with an iterator (TrajectoryBase::iterator) the same way as std containers.
Loads a trajectory from a CSV file (use the samples from the Data folder). The colors depend on the speed at a given point. Regarding the rendering, the points on the trajectory automatically disappear if the user is far enough from them.
if(speed<30) v.color = XMFLOAT4(1.0, 0.0, 0.0, 1.0); // Red else { if(speed<50) v.color = XMFLOAT4(0.0, 0.0, 1.0, 1.0); // Blue else if(speed<80) v.color = XMFLOAT4(1.0, 1.0, 0.0, 1.0); // Yellow else v.color = XMFLOAT4(0.0, 1.0, 0.0, 1.0); // Green }
Removes the points on a trajectory which are roughly on the same segment. Regarding the rendering, the points on the trajectory automatically disappear if the user is far enough from them.