zombihello / lifeengine Goto Github PK
View Code? Open in Web Editor NEW3D Game Engine with architecture like Unreal Engine
License: MIT License
3D Game Engine with architecture like Unreal Engine
License: MIT License
At this time, we save packages without any compression and optimization of serialize CNames. As result we have too big a package and this is bad.
For resolve this issue we have to done next tasks:
CObjectPackage::SavePackage
and CLinkerLoad
CLinkerTables::exportMap
Пробовал запускать на всех трёх bat-никах и через MVS, и всё никак.
Вот лог:
Msg: Opened log file '../../shadercompiler.log'
Msg: CommandLine: inited with arguments 'shadercompiler.exe -backend dx11rhi -shaderslibrary dx11rhi -vertexfactories engine -srcdir platform/shaders/src '
Msg: AppFramework: user HOME-PC//User
Msg: AppFramework: Loaded module filesystem.dll
Msg: AppFramework: Loaded module engine.dll
Msg: AppFramework: Loaded module dx11rhi.dll
Msg: AppFramework: Loaded module resourcesystem.dll
Msg: AppFramework: Loaded module materialsystem.dll
Msg: AppFramework: Loaded module studiorender.dll
Msg: Dx11RHI: Found Dx11 adapter: NVIDIA GeForce RTX 3050 Laptop GPU
Msg: Dx11RHI: Adapter has 3977MB of dedicated video memory, 0MB of dedicated system memory, and 8107MB of shared system memory
Msg: ShaderMgr: Shaders library 00007FFDB1590008 loaded
Error: CShaderCacheDoc::Load: Failed to open file '//PLATFORM/shaders/cache-pc-sm5//resolve_depth.rsc' for load shader cache
Warning: ShadersLibrary: Shader cache '//PLATFORM/shaders/cache-pc-sm5//resolve_depth.rsc' for 'resolve_depth' not loaded
Warning: ShaderMgr: Shader cache for 'resolve_depth' not loaded
Msg: ShaderMgr: Loaded 0 shader caches
Msg: ShaderMgr: Shaders library 00007FFDB1566000 loaded
Error: CShaderCacheDoc::Load: Failed to open file '//PLATFORM/shaders/cache-pc-sm5//wireframe.rsc' for load shader cache
Warning: ShadersLibrary: Shader cache '//PLATFORM/shaders/cache-pc-sm5//wireframe.rsc' for 'wireframe' not loaded
Warning: ShaderMgr: Shader cache for 'wireframe' not loaded
Msg: ShaderMgr: Loaded 0 shader caches
Msg: ShaderMgr: Shaders library '//ENGINEBIN/stdshaders.dll' loaded
Error: CShaderCacheDoc::Load: Failed to open file '//PLATFORM/shaders/cache-pc-sm5//simpleelement.rsc' for load shader cache
Warning: ShadersLibrary: Shader cache '//PLATFORM/shaders/cache-pc-sm5//simpleelement.rsc' for 'simpleelement' not loaded
Warning: ShaderMgr: Shader cache for 'simpleelement' not loaded
Msg: ShaderMgr: Loaded 0 shader caches
Msg: ResourceSystem: Loaded 'materials/engine/error.ltf'
Msg: ResourceSystem: Resource 'materials/engine/error.ltf' set as error resource for 0x0 type
Warning: ShaderMgr: Shader 'simpleelement' not found
Warning: CMaterial::SetShader: Couldn't find shader 'simpleelement' for material 'materials/engine/error.lmf'!
Warning: ShaderMgr: Shader 'wireframe' not found
Error: Assertion failed: pShader [File:C:\Users\User\Desktop\lifeEngine-arch\src\materialsystem\material.cpp] [Line: 100]
Stack:
C:\Users\User\Desktop\lifeEngine-arch\src\core\platforms\windows\win_stackwalker.cpp (1141): StackWalker::ShowCallstack
C:\Users\User\Desktop\lifeEngine-arch\src\core\platforms\windows\win_platform.cpp (97): Sys_DumpCallStack
C:\Users\User\Desktop\lifeEngine-arch\src\core\core.cpp (109): Sys_FailAssertFunc
C:\Users\User\Desktop\lifeEngine-arch\src\materialsystem\material.cpp (104): CMaterial::SetShader
C:\Users\User\Desktop\lifeEngine-arch\src\materialsystem\material.cpp (32): CMaterial::Init
C:\Users\User\Desktop\lifeEngine-arch\src\materialsystem\materialsystem.cpp (300): CMaterialSystem::LoadMaterial
C:\Users\User\Desktop\lifeEngine-arch\src\resourcesystem\resourcesystem.cpp (286): CResourceSystem::FindOrLoadResource
C:\Users\User\Desktop\lifeEngine-arch\src\materialsystem\materialsystem.cpp (217): CMaterialSystem::Init
C:\Users\User\Desktop\lifeEngine-arch\src\appframework\appsystemgroup.cpp (467): CAppSystemGroup::InitSystems
C:\Users\User\Desktop\lifeEngine-arch\src\appframework\appsystemgroup.cpp (316): CAppSystemGroup::OnStartup
C:\Users\User\Desktop\lifeEngine-arch\src\appframework\appsystemgroup.cpp (56): CAppSystemGroup::Run
C:\Users\User\Desktop\lifeEngine-arch\src\tools\shadercompiler\shadercompiler.cpp (414): main
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
00007FFE09B6257D (KERNEL32): (filename not available): BaseThreadInitThunk
00007FFE0ACCAA78 (ntdll): (filename not available): RtlUserThreadStart
Initialize CName by string with number isn't correct because the number there is ignoring and it cause can't find object by FindObjectFast
Repro:
CName name1( TEXT( "Unicorn" ) );
CName name2( TEXT( "Unicorn_2" ) ); // Here bug, it will be unique name and have number is 0 (must be 2)
Need implement some functions for load and find CObjects.
Functions to implement: FindObject
LoadObject
LoadClass
Currently execution commands in the console system too ugly and it can be optimized to increase speed of work. Also need to improve CConVar and CConCmd for comfortable using
At the moment, the engine using Box2D, but it is not suitable for a 3D game.
For it we have to use NVIDIA PhysX or Jolt Physics or Bullet Physics (take one which is easier to integrate and use)
Useful post about Jolt Physics: https://nilssondev.com/posts/my-journey-with-physics
Since the new CObject system was implemented WorldEd have some bugs and they must be fixed.
Bugs:
Since was implemented hashing of objects we have to guarantee that all objects have unique name and
for it need replace CObject::SetName
to CObject::Rename
.
This function will be check for the new name is unique and update it
For script system need to integrate AngelScript into the engine and adapt it to work with the CObject system
(like in https://angelscript.hazelight.se/)
Implement helper functions for work with strings and file paths like in Source Engine (filetools.h, strtools.h, etc)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.