keith2018 / softglrender Goto Github PK
View Code? Open in Web Editor NEWTiny C++ Software Renderer / Rasterizer, and implements OpenGL and Vulkan renderers for comparison
License: MIT License
Tiny C++ Software Renderer / Rasterizer, and implements OpenGL and Vulkan renderers for comparison
License: MIT License
On MSYS2 MINGW64, the default generator for CMake is Ninja.
CMake configuration is fine:
$ cmake ..
-- Building for: Ninja
-- The C compiler identification is GNU 13.1.0
-- The CXX compiler identification is GNU 13.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Shared libraries disabled
-- compiling zlib from sources
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - done
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Build an import-only version of Assimp.
-- Enabled importer formats: OBJ GLTF
-- Disabled importer formats: AMF 3DS AC ASE ASSBIN B3D BVH COLLADA DXF CSM HMP IRRMESH IQM IRR LWO LWS M3D MD2 MD3 MD5 MDC MDL NFF NDO OFF OGRE OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X X3D 3MF MMD
-- Treating all warnings as errors (for assimp library only)
-- No build type selected, default to Debug
-- Found PythonInterp: C:/msys64/mingw64/bin/python3.exe (found suitable version "3.10.12", minimum required is "3")
-- spirv-tools not linked - illegal SPIRV may be generated for HLSL
-- Configuring done (1.9s)
-- Generating done (0.1s)
-- Build files have been written to: C:/msys64/home/Administrator/SoftGLRender/build
But when building with Ninja it failed:
$ ninja
ninja: error: 'third_party/glslang/glslang/libglslang.a', needed by 'C:/msys64/home/Administrator/SoftGLRender/bin/SoftGLRender.exe', missing and no known rule to make it
当primitives_的capcity等于size的时候,上面这行会导致primitives_扩容,使得外部传入的triangle引用变量的地址失效。
点与线的处理好像也有类似问题。
Stack around the variable 'texMapMode' was corrupted.
Hello, I get the following error message while git clone:
Downloading cache/IBL/07b81e737731cbb787d91c11436483f1.tex (524 KB)
Error downloading object: cache/IBL/07b81e737731cbb787d91c11436483f1.tex (6432a74): Smudge error: Error downloading cache/IBL/07b81e737731cbb787d91c11436483f1.tex (6432a74d02db0ddbee96042b5988b586b9798bf3d933d4f983990d2a9f05c651): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
I think those files should be not part of the repo? Thanks.
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.