brotcrunsher / brotboxengine Goto Github PK
View Code? Open in Web Editor NEWA C++ prototyping engine that is striving for an easy to use API, hiding all the dirty details so that you don't have to care.
License: Other
A C++ prototyping engine that is striving for an easy to use API, hiding all the dirty details so that you don't have to care.
License: Other
Please remove -lportaudio_static
. I cannot find a good way to install it on Manjaro or Fedora. Only the dynamically linked library -lportaudio
is in the package manager. Not all dependencies are checked in the Cmake script.
Hello,
I am developing a project that uses the BrotBoxEngine to do real-time rendering of a simulated environment. I have now run into an issue that causes the engine to fail with a NoSuchKeyCodeException once the "Fn" key on the keyboard is pressed. To provide some reference, I am developing on a Lenovo Notebook and have my Fn and Strg Keys swapped on the keyboard, but I do not know if this makes a difference.
Here is a screenshot of where the exception is thrown. I was previously using BBE 0.1.7 and have now updated to 0.1.8 for testing if the bug is still present.
The debugger will fail at this point but it seems to be because the exception is thrown:
These are the values that are passed to the above method:
Thank you,
Marius Heil
.............................
As a workaround, I was able to include:
void bbe::INTERNAL_keyCallback(GLFWwindow * window, int keyCode, int scanCode, int action, int mods)
{
if (keyCode == 0xFFFFFFFFUL) return;
in Window.cpp but this could have a number of side affects, but it looks like the keycode/scancode functionality is a bit of a mess between different vendors.
Compiler helped find the fix, rename hackstack to haystack. Probably your tests are on Windows so this gets missed in the ifdef.
[ 65%] Building CXX object CMakeFiles/BrotBoxEngine.dir/BrotBoxEngine/String.cpp.o
/Users/dkords/dev/repos/BrotBoxEngine/BrotBoxEngine/String.cpp:797:20: error: use of undeclared identifier 'hackstack'; did you mean 'haystack'?
return strcasestr(hackstack, needle) != nullptr;
^~~~~~~~~
haystack
/Users/dkords/dev/repos/BrotBoxEngine/BrotBoxEngine/String.cpp:792:52: note: 'haystack' declared here
static bool platformIndependentStrStrI(const char* haystack, const char* needle)
^
1 error generated.
Validation Error: [ VUID-vkCmdDrawIndexed-blendEnable-04727 ] Object 0: handle = 0x625f640000000058, type = VK_OBJECT_TYPE_PIPELINE; | MessageID = 0x8a06751e | vkCmdDrawIndexed: Image view's format features of the color attachment (0) of the active subpass do not contain VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT bit, but active pipeline's pAttachments[0].blendEnable is not VK_FALSE. The Vulkan spec states: If rasterization is not disabled in the bound graphics pipeline, then for each color attachment in the subpass, if the corresponding image view's format features do not contain VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the blendEnable member of the corresponding element of the pAttachments member of pColorBlendState must be VK_FALSE (https://vulkan.lunarg.com/doc/view/1.3.239.0/windows/1.3-extensions/vkspec.html#VUID-vkCmdDrawIndexed-blendEnable-04727)
`Starting Game: Neural Rocket!
Starting math
Creating window
Init render manager
Vulkan Manager: init instance
loader_get_json: Failed to open JSON file E:\Epic Games\Launcher\Portal\Extras\Overlay\EOSOverlayVkLayer-Win32.json
debugBreak() was triggered! C:\Users\mankn\Desktop\BrotBoxEngine-0.2.0\BrotBoxEngine-0.2.0\BrotBoxEngine\Vulkan\VulkanInstance.cpp(45)`
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.