first step for BlinnPhongPureColor

This commit is contained in:
2023-10-31 17:59:12 +08:00
parent 4ed0e281b2
commit c4deceebd9
9 changed files with 79 additions and 18 deletions

View File

@@ -0,0 +1,30 @@
// Blender axis
/**
* 0 1 2 3 4 5 6 7
* 0+---------->>>> X
* 1|
* 2|
* 3| +--+
* 4| +--+
* 5|
* 6V
* 7V
*
* 坐标轴参考Blender设计
*
* 单方向坐标轴长度为8
* 最终箭头长度为2
*
* 负责2D平移的方块尺寸为1位置在3-4
*
*/
/**
* 缩放工具
*/
class GizmoScale
{
public:
};//class GizmoScale

View File

@@ -14,4 +14,6 @@ CreateProject(01_PlaneGrid3D PlaneGrid3D.cpp)
CreateProject(02_RayPicking RayPicking.cpp)
CreateProject(03_MetricCellsGrid MetricCellsGrid.cpp)
CreateProject(04_Gizmo3DMove Gizmo3DMove.cpp)
#CreateProject(03_BlenderAxis BlenderAxis.cpp)

View File

View File

@@ -31,7 +31,7 @@ struct MetricCellsGridData
constexpr const size_t MCG_SIZE=sizeof(MetricCellsGridData);
constexpr const float PLANE_SIZE=512;
constexpr const float PLANE_SIZE=1024;
class TestApp:public SceneAppFramework
{