marovira / atlas Goto Github PK
View Code? Open in Web Editor NEWA graphics framework for educational and prototyping projects.
License: BSD 3-Clause "New" or "Revised" License
A graphics framework for educational and prototyping projects.
License: BSD 3-Clause "New" or "Revised" License
Primarily talking about https://github.com/marovira/atlas/blob/master/source/atlas/utils/Mesh.cpp#L228. Here the if statement says if we have textures, but no attrib index for them, than we return. However, if we have no textures and we don't specify an index for textures (we want to render without textures), than we don't hit that code within the if statement and crash on an index out of error. Same applies for the normal check above
The compiler (at least in the lab) does not like the call to std::abs() in the areEqual method (line 37) in core/Float.hpp. It would like a simple 'abs()' (no std::)
Issues with Clang and c++11 come from line 58 in CMakeLists.txt:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
should be
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++")
Atlas fails to compile with texture support on the lab machines.
Hey @marovira,
Just wanted to let you know that if you cloned the marovira/atlas repo in a folder name with spaces and you try to run the make command then it will get this build error,
[ 99%] Generating HTML documentation
error: tag HTML_HEADER: header file `/home/poanchen/Downloads/folderwithspaces/atlas/external/glfw/docs/header.html' does not exist
external/glfw/docs/CMakeFiles/docs.dir/build.make:57: recipe for target 'external/glfw/docs/CMakeFiles/docs' failed
make[2]: *** [external/glfw/docs/CMakeFiles/docs] Error 1
CMakeFiles/Makefile2:1248: recipe for target 'external/glfw/docs/CMakeFiles/docs.dir/all' failed
make[1]: *** [external/glfw/docs/CMakeFiles/docs.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Things that I did:
I looked into the problem and it WAS NOT a bug in your repo. It was an edge case that was not covered in glfw/glfw. As the Doxyfile generation does not handle paths with spaces in them. As a result, I ended up creating an issue with them and they have resolved the issue quickly and it is now fixed/closed in their repo. The issue link is glfw/glfw#1081. I am not sure what the action should you take but just wanted to let you know this. (as long as your folder name does not contains spaces then the make process will pass, so the workaround is make sure the folder name does not contains any spaces)
Thank you!
Cheers,
Baron
atlas/include/atlas/core/Constants.hpp
Line 83 in f1b5ff4
In the case that comments are written above a version declaration for a GLSL shader, the parser does not work as expected.
For example,
// Author: Noah Serr
#version 450 core
...
will not parse correctly.
Add the support for multiple scenes in the application class.
Line 36 in a1029cb
Should be if (APPLE OR WIN32
). Capitalization of OR seems to fix a build issue on Mac OS
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.