|
6efb50c977
|
added comments and layout codes.
|
2024-04-03 00:14:09 +08:00 |
|
|
f4493b09e5
|
use GetVBOAccessData instead of GetVBO in Primitive.
|
2024-04-03 00:12:39 +08:00 |
|
|
af8f62ddb4
|
move the VBOAccessData to VKVertexAttribBuffer.h from VK.h
|
2024-04-03 00:12:03 +08:00 |
|
|
fff7fd3af0
|
renamed to VBOAccessData from Primitive::VBOData and then move to VK.h
|
2024-04-02 23:51:57 +08:00 |
|
|
2fdd7e7bd5
|
removed name and binding from PrimitiveCreater::
|
2024-04-02 23:39:59 +08:00 |
|
|
4ebc8a3260
|
removed Primitive::GetBuffer(..) function.
|
2024-04-02 23:36:34 +08:00 |
|
|
5892b075c3
|
renamed to AcquirePVB from CreatePVB
|
2024-04-02 23:24:39 +08:00 |
|
|
07a478a2ac
|
adjust position of include
|
2024-04-02 22:53:13 +08:00 |
|
|
8c51d3a52b
|
[very strong] deleted class VertexAttribData
|
2024-04-02 22:51:14 +08:00 |
|
|
c1183d351d
|
moved CreateVertexAttribData(...) to PrimitiveCreater.cpp from VertexAttribData.cpp and then delete VertexAttribData.cpp
|
2024-04-02 22:25:06 +08:00 |
|
|
d4c1dd312e
|
renamed to "vad" from "data" in PrimitiveVertexBuffer
|
2024-04-02 22:19:02 +08:00 |
|
|
3c22b48f3c
|
moved CreateVAD() to protected
|
2024-04-02 22:15:44 +08:00 |
|
|
02169963de
|
improved PrimitiveCreater::CreateIBO.. functions for template
|
2024-04-02 21:34:49 +08:00 |
|
|
ac81e4f8f0
|
first version of VertexDataManager.h
|
2024-04-02 21:14:34 +08:00 |
|
|
1d3bec4098
|
added VertexDataManager::Init(...) function.
|
2024-04-02 19:41:47 +08:00 |
|
|
3252d1581c
|
removed mtl value from PrimitiveCreater
|
2024-04-02 15:34:05 +08:00 |
|
|
01bf8b3dd2
|
updated VertexDataManager
|
2024-04-01 23:32:18 +08:00 |
|
|
1c03e838e5
|
layout codes.
|
2024-03-29 12:58:58 +08:00 |
|
|
0f38f94139
|
split to two class they are RenderL2WBuffer and RenderMIBuffer from RenderAssignBuffer, two sample program RUN OK!
|
2024-03-26 01:51:59 +08:00 |
|
|
0639440a13
|
fixed sample program.
|
2024-03-26 01:33:17 +08:00 |
|
|
8492b886c9
|
Layout codes
|
2024-03-26 01:22:58 +08:00 |
|
|
a60ffbb7da
|
first step OK that it's to resumed to use L2W in VertexInputStream.
|
2024-03-26 01:20:20 +08:00 |
|
|
b48ef1ac30
|
use HGL_MATH_LIB instead of HGL_GLM_LIB
|
2024-03-25 22:55:04 +08:00 |
|
|
c363a6fa51
|
upgraded to 3.5 from 3.0 that it's cmake version minimum required.
|
2024-03-19 22:00:26 +08:00 |
|
|
c873271f6e
|
little codes
|
2024-03-18 13:30:06 +08:00 |
|
|
68ff8a472c
|
few of code, but can RUN.
|
2024-03-16 14:08:55 +08:00 |
|
|
60ba3e4df2
|
improved safe.
|
2024-03-16 00:41:20 +08:00 |
|
|
35b7c9651f
|
used 3 colors in BlinnPhongDirectionLight.cpp
|
2024-03-16 00:20:27 +08:00 |
|
|
89b9735f99
|
improved sample.
|
2024-03-15 01:38:47 +08:00 |
|
|
7f744d1207
|
updated test codes.
|
2024-03-13 00:13:58 +08:00 |
|
|
b9f5c69f85
|
optimized to get normal in AutoShader
|
2024-03-12 23:29:38 +08:00 |
|
|
c469fde84a
|
adjusted order of codes in Std2DMaterialLoader.cpp and Std3DMaterialLoader.cpp
|
2024-03-12 23:29:06 +08:00 |
|
|
dd6b2f4fb3
|
add "hasInput(const char *name)" in ShaderDescriptorInfo and ShaderCreateInfoVertex classes.
|
2024-03-12 23:28:23 +08:00 |
|
|
ba8b44659b
|
resume GetNormalMatrix/GetNormal in auto shader.
|
2024-03-12 23:04:12 +08:00 |
|
|
13b2ca0575
|
fixed Viewport UBO bug.
|
2024-03-12 22:54:33 +08:00 |
|
|
9d704eb33d
|
updated comments.
|
2024-03-12 22:31:58 +08:00 |
|
|
86c3b65a42
|
fixed -normal bug in InlineGeometry.cpp
|
2024-03-12 21:53:41 +08:00 |
|
|
f6e61e70ce
|
更改了specular算法,但是有点问题。。。而且高光区有点象是VS算的一样,怀疑是NORMAL在VS算的原因。但fs没有GetLocalToWorld函数,需要尝试修复。
|
2024-03-12 00:42:32 +08:00 |
|
|
5347ac7091
|
specular OK in BlinnPhongDirectionLight sample. but direction error.
|
2024-03-10 22:45:38 +08:00 |
|
|
f56928d734
|
Fixed bug about SunLightPureColor.mtl
|
2024-03-10 01:00:42 +08:00 |
|
|
f3a59c1bb3
|
test sunlight UBO ok!
|
2024-03-10 00:35:35 +08:00 |
|
|
5188d4149c
|
added Unknow and Static in DescriptorSetType
|
2024-03-09 23:35:56 +08:00 |
|
|
d4096735f5
|
adjusted order of codes in MaterialCreateInfo.h
|
2024-03-09 23:23:34 +08:00 |
|
|
4fafd938b1
|
new function, MaterialFileData load UBO OK! to make shader OK.
|
2024-03-09 22:26:45 +08:00 |
|
|
f0848541c2
|
added a newly AddUBO() in MaterialCreateInfo
|
2024-03-09 22:25:03 +08:00 |
|
|
cc9e756ece
|
fixed Load of ubo codes.
|
2024-03-09 21:23:02 +08:00 |
|
|
cdedc81f9f
|
save codes of UBO in AccumMemoryManager
|
2024-03-09 20:48:30 +08:00 |
|
|
c229259623
|
added comments
|
2024-03-09 19:49:44 +08:00 |
|
|
2c2f11f47e
|
added little safe check of filename in MaterialFileLoader.cpp
|
2024-03-07 23:04:54 +08:00 |
|
|
c8b3ed0286
|
preparing blinnphong light sample. added codes of to load ubo.
|
2024-03-07 13:59:28 +08:00 |
|