Visualization of shape and polygon mesh based on platform
The dev-dependencies of this crate includes CMake.
A GUI framework module providing MFC-like API.
Benchmark Animation
In each frame, the NURBS surface is devided into mesh.
Material Samples - The more right the model, the higher the reflectance. - The upper the model, the higher the roughness.
The most right and lowest model is black because it does not diffuse light and no roughness in microfacet.
Rotate Objects - Drag the mouse to rotate the camera. - Drag and drop obj files into the window to switch models. - Right-click to move the light to the camera's position. - Enter "P" on the keyboard to switch between parallel projection and perspective projection of the camera. - Enter "L" on the keyboard to switch the point light source/uniform light source of the light.
Simple OBJ viewer - Drag the mouse to rotate the model. - Drag and drop obj files into the window to switch models. - Right-click to move the light to the camera's position. - Enter "P" on the keyboard to switch between parallel projection and perspective projection of the camera. - Enter "L" on the keyboard to switch the point light source/uniform light source of the light.
Simple shape viewer - Drag the mouse to rotate the model. - Drag and drop json files into the window to switch models. - Right-click to move the light to the camera's position. - Enter "P" on the keyboard to switch between parallel projection and perspective projection of the camera. - Enter "L" on the keyboard to switch the point light source/uniform light source of the light.
A model json file can be generated by serde_json
. See the examples of truck-modeling
!
An example of using texture.
An example of using texture.