79 Commits

Author SHA1 Message Date
0e789b6f47 各种类名结构名优化,不再使用GPU开头 2025-05-17 20:26:36 +08:00
29aa76a917 GPUDeviceAttribute更名为VkDevAttr 2025-05-17 20:13:23 +08:00
2dd60fee7f 将static MaterialFactory 定义移到.h 2025-05-17 20:01:17 +08:00
fd1a629941 将dev_attr从MaterialCreateConfig中移除改到最终的Create函数中。代码能编过,但是static自动注册失效了,待查。 2025-05-16 09:12:33 +08:00
b030684cbd 成功使用字符串创建MaterialCreateInfo,为后续使用名称创建材质提供基础 2025-05-09 01:26:58 +08:00
e88facf834 初步实现CreateMaterialCreateInfo(name,cfg,vil),下一待整合进WorkObject/WorkManager后正式启用。 2025-05-06 00:41:07 +08:00
9be5de0f57 准备增加MaterialLibrary 2025-05-05 03:25:19 +08:00
2b251f06d4 Prim改名为PrimitiveType,ParsePrimName改名为ParsePrimitiveType 2025-05-04 23:36:28 +08:00
7169429ede 数据模板跟随变动 2025-05-04 19:33:04 +08:00
aed57437f9 List模板改名为ArrayList 2025-04-23 00:27:43 +08:00
2f1ccda442 removed mtl/UniformBuffer.h 2025-03-04 22:44:44 +08:00
b63edb2f89 renamed to ShaderBufferSource from ShaderBuffer 2025-03-04 22:41:07 +08:00
bd0a3d8be1 to support newly String<>/IDName/Compare 2025-01-15 02:42:04 +08:00
9450d92784 use Contains instead of IsMember/IsExist 2024-10-05 22:51:27 +08:00
28fcdb6216 preparing LerpLine example. 2024-07-30 00:11:04 +08:00
1f7c8fa25b Added frustum_planes in CameraInfo, added FrustumCheck function in MFCamera.h 2024-07-02 23:43:25 +08:00
0137ef6e0c added M_Gizmo3D.cpp inline material. 2024-06-26 01:50:55 +08:00
fafe6c077b [WIP] Gizmo 2024-06-25 01:17:47 +08:00
56b8798122 maybe finished, all examples test OK! 2024-06-20 00:16:29 +08:00
2f49e80122 [WIP] 2024-06-19 14:03:46 +08:00
806bf5dfdd [WIP] next step is ShaderCreateInfo::ProcOutput 2024-06-19 09:35:54 +08:00
4251493415 added construct(VAType,count) function in ShaderVariableType 2024-06-18 01:31:54 +08:00
686372b60f added ShaderVariableType.h 2024-06-18 01:28:53 +08:00
150b27c6e6 updated Billboard,and added FixedSize billboard 2024-06-16 23:49:23 +08:00
c61e4dfdb8 Added Billboard2DWay.cpp and test OK! next step is fixed billboard pixel size. 2024-06-16 22:58:45 +08:00
8d45c87cfd added camera_up/camera_right in CameraInfo 2024-06-13 01:30:30 +08:00
90152ca74e add texture in BlinnPhongDirectionLight example. 2024-05-30 21:07:13 +08:00
8d3cd8d561 remove RenderablePrimitiveCreater.h, fixed auto_instance.cpp/auto_merge_material_instance.cpp examples, can RUN. 2024-05-25 22:47:26 +08:00
a5e76988c7 resume Assign instead of local2world and materialinstanceId in VertexInputStream 2024-05-25 17:58:39 +08:00
a60ffbb7da first step OK that it's to resumed to use L2W in VertexInputStream. 2024-03-26 01:20:20 +08:00
f3a59c1bb3 test sunlight UBO ok! 2024-03-10 00:35:35 +08:00
c355f96f9b little codes 2024-03-06 13:54:05 +08:00
ff6a644e8f added BlinnPhong.h 2024-03-04 13:13:33 +08:00
c4deceebd9 first step for BlinnPhongPureColor 2023-10-31 17:59:12 +08:00
6b13c159d8 added comp operator in MaterialConfig 2023-10-12 14:59:39 +08:00
8a5711154f finished StdMaterialLoader, test all examples ok. 2023-10-10 14:49:33 +08:00
bead8128b7 test ok that LoadPureColor2D material from file. 2023-10-10 10:57:29 +08:00
7ca81f38e8
Std2DMaterialLoader start ok,,but don't support Sampler2D in material file... 2023-10-10 02:48:02 +08:00
018a72c09a
created MaterialFileData and all material's data in the struct. 2023-10-10 00:24:41 +08:00
9a5cead33e moved Create to StdMaterial from Std2DMaterial and Std3DMaterial 2023-10-09 20:56:25 +08:00
3a3f9d10b7
Parse MaterialInstance filed in MaterialFileLoader.cpp 2023-10-09 01:12:27 +08:00
b262fdc645 added MaterialFileLoader.cpp 2023-10-08 20:00:46 +08:00
0524c51feb Set Base-class StdMaterial to Std2DMaterial/Std3DMaterial 2023-10-08 10:04:58 +08:00
4ef37a430e move Material2DCreateConfig/Material3DCreateConfig 2023-10-07 20:59:44 +08:00
19df201ab5 Added ShaderStage macro in ShaderGen 2023-10-07 16:14:34 +08:00
78946994bb Added VertexLum3D material, test PlaneGrid3D OK! 2023-09-28 18:13:51 +08:00
45f50b3bc0 added GetPosition3DCamera/GetPosition3DL2WCamera and to support UBO Camera 2023-09-28 17:41:45 +08:00
dbea7764fb added GetPosition3D in Std3DMaterial 2023-09-28 15:03:34 +08:00
6c7f9ea9d1 perpare it for VertexColor3D material. 2023-09-27 20:31:46 +08:00
922fc2661b added primitive in Material2DCreateConfig 2023-09-26 21:49:37 +08:00