Commit Graph

  • cc80fe7f39 add renderitem sort by vdm hyzboy 2024-05-29 00:55:12 +08:00
  • 55001843ea added vdm sort hyzboy 2024-05-28 23:49:28 +08:00
  • 8cdf88e2fd added VDM in Primitive/Renderable/PrimitiveDataBuffer hyzboy 2024-05-28 23:33:15 +08:00
  • ca8e36687f OK! Can RUN! full OK!...next step is to create VDMRender in MaterialRenderList hyzboy 2024-05-28 23:10:50 +08:00
  • 86ff7517d9 [WIP] optimizing VDM Support hyzboy 2024-05-28 02:21:33 +08:00
  • 742fe201ad rename and layout codes. hyzboy 2024-05-27 01:42:10 +08:00
  • 8bb97ef2de added comments hyzboy 2024-05-26 15:55:28 +08:00
  • 9947d46ab8 changed many size/count type why to equal vkCmdDraw/vkCmdDrawIndexed hyzboy 2024-05-26 15:04:44 +08:00
  • bf5e401566 [STRONG] merge VDM render OK!!! TEST OK! next step is to support VDM Render and non-VDM Render, recommend is two MaterialRenderList class. hyzboy 2024-05-26 02:25:49 +08:00
  • 0dcf004f4c renamed to VAB from VBO hyzboy 2024-05-25 22:57:29 +08:00
  • 8d3cd8d561 remove RenderablePrimitiveCreater.h, fixed auto_instance.cpp/auto_merge_material_instance.cpp examples, can RUN. hyzboy 2024-05-25 22:47:26 +08:00
  • 6740764f07 create DrawData that it split from VertexInputData hyzboy 2024-05-25 22:08:01 +08:00
  • a5e76988c7 resume Assign instead of local2world and materialinstanceId in VertexInputStream devel_30_ResumeAssignBuffer hyzboy 2024-05-25 17:58:39 +08:00
  • 08a348392d added GetVDM() in PrimitiveData classes. hyzboy 2024-05-25 13:48:15 +08:00
  • 0dfb7220b5 finish BIG VBO.Test OK!,Can RUN!..next step is merge drawcall. devel_29_BigVBO hyzboy 2024-05-25 04:11:38 +08:00
  • 4a94d78c1f preparing PrimitiveCreater to support multi primitive hyzboy 2024-05-25 03:14:26 +08:00
  • 9a4e495027 coded PrimitiveDataVDM, next step is test. hyzboy 2024-05-25 02:48:37 +08:00
  • 6de3cf789a upgraded InlineGeometry, removed RenderResource::CreatePrimitive. hyzboy 2024-05-25 01:48:15 +08:00
  • 299d3bd019 newly Primitive/PrimitiveData/PrimitiveCreater, and test OK! can RUN! hyzboy 2024-05-25 01:46:19 +08:00
  • 78b1982849 output Vendor in PhysicalDeviceCapsOutput hyzboy 2024-05-25 01:44:47 +08:00
  • 8a0215aee6 supported newly IBMap,can RUN OK!!! hyzboy 2024-05-23 14:00:23 +08:00
  • 419e0e2574 override Map/Flush/Write functions in IndexBuffer/VAB hyzboy 2024-05-23 13:59:48 +08:00
  • cfd67e1a42 [WIP] comments VDM, preparing double PrimitiveCreater hyzboy 2024-05-23 13:15:47 +08:00
  • c49feac2e6 delete primitiveData at Destory(PrimitiveData *) hyzboy 2024-05-23 12:46:45 +08:00
  • bf50333f5b Remove the excess # include hyzboy 2024-05-23 02:28:09 +08:00
  • 40ce978f85 newly PrimitiveData struct and Primitive class. Can't Run!!! next step is to support PrimitiveVDM. hyzboy 2024-05-23 02:19:40 +08:00
  • e27442a0b4 [WIP] update PrimitiveCreater/PrimitiveData, CAN'T RUN. hyzboy 2024-05-22 01:21:05 +08:00
  • ecb47dae4d moved to VKPrimitiveData.cpp from VKPrimitiveData.h hyzboy 2024-05-20 18:04:30 +08:00
  • 6892a64393 VKPrimitiveData change to C version. next step is change to pure virtual struct. hyzboy 2024-05-20 02:12:13 +08:00
  • 3af753ee36 preparing resume PrimitiveData hyzboy 2024-05-16 20:58:44 +08:00
  • f31437bf67 remove VABView hyzboy 2024-05-14 21:09:19 +08:00
  • 14fbbd6fa6 added VABView,preparing new VABViewStadnalone,VABViewVDM hyzboy 2024-05-14 00:32:49 +08:00
  • 4e6adcd765 added vab_map.Clear() in PrimitiveCreater::Finish() hyzboy 2024-05-06 00:41:01 +08:00
  • ead4ba65c1 moved RenderResource to PrimitiveCreater::Finish() hyzboy 2024-05-05 15:44:51 +08:00
  • 310cc151fa fixed uint8 indextype hyzboy 2024-05-05 15:12:14 +08:00
  • 03491dbed8 Layout codes. hyzboy 2024-05-05 04:37:04 +08:00
  • 40094a7529 renamed to vab_map from vbo_map hyzboy 2024-04-27 11:08:50 +08:00
  • 6ad3b9edb7 to set few functions to private in VKPrimitive hyzboy 2024-04-27 03:09:16 +08:00
  • 21a63f4a9b improved PrimitiveData hyzboy 2024-04-27 02:19:01 +08:00
  • 11ebb841be improved IBAccess in VKPrimitive/VKRenderable/MaterialRenderList hyzboy 2024-04-27 01:13:12 +08:00
  • ad330f3a42 renamed many values and function's name. hyzboy 2024-04-27 01:07:44 +08:00
  • bbf94767fe using IBAccess=IndexBufferAccess hyzboy 2024-04-27 00:05:25 +08:00
  • 6dba761a80 added VKPrimitiveData.h hyzboy 2024-04-26 01:17:47 +08:00
  • 5391f0f4aa Temporarily deactivate the WorldBoundingBox hyzboy 2024-04-26 01:17:30 +08:00
  • a1bf9336a3 Added RenderCmdBuffer::Draw(const VertexInputData *) hyzboy 2024-04-26 00:41:53 +08:00
  • 9c6c37c07a renamed to IndexBufferAccess from IndexBufferData hyzboy 2024-04-26 00:32:11 +08:00
  • 3bbbe18c40 use VAB instead of VBO hyzboy 2024-04-24 01:44:01 +08:00
  • d8140ae64e use VAB instead of VBO hyzboy 2024-04-24 01:38:55 +08:00
  • acb69d3bf5 use VBOAccessData instead of PrimitiveVertexBuffer, use VBOAccessMap instead of PVBMap hyzboy 2024-04-23 03:32:25 +08:00
  • f0c47cd4f1 renamed values. hyzboy 2024-04-21 01:28:45 +08:00
  • 0b1a0cadae newly PrimitiveCreater and InlineGeometry, test two samples are OK! hyzboy 2024-04-19 00:41:26 +08:00
  • 8633a18e01 supported uint8_index_type hyzboy 2024-04-19 00:40:51 +08:00
  • 2bc6246dc0 few codes of PrimitiveCreater, but can't run. hyzboy 2024-04-18 01:37:59 +08:00
  • 0a752446b0 simply feature copy/check hyzboy 2024-04-18 01:09:29 +08:00
  • c32f56fbe2 improved VulkanDeviceCreater::RequirementCheck hyzboy 2024-04-18 00:56:29 +08:00
  • b100b4b9cb added sampleRateShading/fillModeNonSolid in VulkanHardwareRequirement hyzboy 2024-04-18 00:56:02 +08:00
  • d20e9cf1e3 improved features support/check. hyzboy 2024-04-18 00:36:52 +08:00
  • 621e056315 preparing to support uint8 index hyzboy 2024-04-17 20:22:31 +08:00
  • 4fc74d38ba prepare support VDM for PrimitiveCreater hyzboy 2024-04-17 01:38:35 +08:00
  • f00cb0b815 split VertexDataManager.h/.cpp hyzboy 2024-04-17 01:20:52 +08:00
  • e1d45a7c83 added few feature in future. hyzboy 2024-04-16 23:34:17 +08:00
  • c5b8dbe8f6 match new function's name for VertexInputLayout hyzboy 2024-04-04 01:57:51 +08:00
  • 172ee7bb7b added comments hyzboy 2024-04-03 19:26:22 +08:00
  • d41530dad3 renamed to VBO instead of VAD in PrimitiveCreater hyzboy 2024-04-03 09:13:06 +08:00
  • 6efb50c977 added comments and layout codes. hyzboy 2024-04-03 00:14:09 +08:00
  • f4493b09e5 use GetVBOAccessData instead of GetVBO in Primitive. hyzboy 2024-04-03 00:12:39 +08:00
  • af8f62ddb4 move the VBOAccessData to VKVertexAttribBuffer.h from VK.h hyzboy 2024-04-03 00:12:03 +08:00
  • fff7fd3af0 renamed to VBOAccessData from Primitive::VBOData and then move to VK.h hyzboy 2024-04-02 23:51:57 +08:00
  • 2fdd7e7bd5 removed name and binding from PrimitiveCreater:: hyzboy 2024-04-02 23:39:59 +08:00
  • 4ebc8a3260 removed Primitive::GetBuffer(..) function. hyzboy 2024-04-02 23:36:34 +08:00
  • 5892b075c3 renamed to AcquirePVB from CreatePVB hyzboy 2024-04-02 23:24:39 +08:00
  • 07a478a2ac adjust position of include hyzboy 2024-04-02 22:53:13 +08:00
  • 8c51d3a52b [very strong] deleted class VertexAttribData hyzboy 2024-04-02 22:51:14 +08:00
  • c1183d351d moved CreateVertexAttribData(...) to PrimitiveCreater.cpp from VertexAttribData.cpp and then delete VertexAttribData.cpp hyzboy 2024-04-02 22:25:06 +08:00
  • d4c1dd312e renamed to "vad" from "data" in PrimitiveVertexBuffer hyzboy 2024-04-02 22:19:02 +08:00
  • 3c22b48f3c moved CreateVAD() to protected hyzboy 2024-04-02 22:15:44 +08:00
  • 02169963de improved PrimitiveCreater::CreateIBO.. functions for template hyzboy 2024-04-02 21:34:49 +08:00
  • ac81e4f8f0 first version of VertexDataManager.h hyzboy 2024-04-02 21:14:34 +08:00
  • 1d3bec4098 added VertexDataManager::Init(...) function. hyzboy 2024-04-02 19:41:47 +08:00
  • 3252d1581c removed mtl value from PrimitiveCreater hyzboy 2024-04-02 15:34:05 +08:00
  • 01bf8b3dd2 updated VertexDataManager hyzboy 2024-04-01 23:32:18 +08:00
  • 1c03e838e5 layout codes. hyzboy 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! Resume_L2W_in_VertexInput hyzboy 2024-03-26 01:51:59 +08:00
  • 0639440a13 fixed sample program. hyzboy 2024-03-26 01:33:17 +08:00
  • 8492b886c9 Layout codes hyzboy 2024-03-26 01:22:58 +08:00
  • a60ffbb7da first step OK that it's to resumed to use L2W in VertexInputStream. hyzboy 2024-03-26 01:20:20 +08:00
  • b48ef1ac30 use HGL_MATH_LIB instead of HGL_GLM_LIB devel_28_Gizmo_Move hyzboy 2024-03-25 22:55:04 +08:00
  • c363a6fa51 upgraded to 3.5 from 3.0 that it's cmake version minimum required. hyzboy 2024-03-19 22:00:26 +08:00
  • c873271f6e little codes hyzboy 2024-03-18 13:30:06 +08:00
  • 68ff8a472c few of code, but can RUN. hyzboy 2024-03-16 14:08:55 +08:00
  • 60ba3e4df2 improved safe. hyzboy 2024-03-16 00:41:20 +08:00
  • 35b7c9651f used 3 colors in BlinnPhongDirectionLight.cpp hyzboy 2024-03-16 00:20:27 +08:00
  • 89b9735f99 improved sample. devel_27_Default3DMaterial hyzboy 2024-03-15 01:38:47 +08:00
  • 7f744d1207 updated test codes. hyzboy 2024-03-13 00:13:58 +08:00
  • b9f5c69f85 optimized to get normal in AutoShader hyzboy 2024-03-12 23:29:38 +08:00
  • c469fde84a adjusted order of codes in Std2DMaterialLoader.cpp and Std3DMaterialLoader.cpp hyzboy 2024-03-12 23:29:06 +08:00
  • dd6b2f4fb3 add "hasInput(const char *name)" in ShaderDescriptorInfo and ShaderCreateInfoVertex classes. hyzboy 2024-03-12 23:28:23 +08:00
  • ba8b44659b resume GetNormalMatrix/GetNormal in auto shader. hyzboy 2024-03-12 23:04:12 +08:00
  • 13b2ca0575 fixed Viewport UBO bug. hyzboy 2024-03-12 22:54:33 +08:00
  • 9d704eb33d updated comments. hyzboy 2024-03-12 22:31:58 +08:00