shervanator / engine Goto Github PK
View Code? Open in Web Editor NEWA basic cross-platform 3D game engine
Home Page: https://shervanator.github.io/Engine/
License: GNU General Public License v3.0
A basic cross-platform 3D game engine
Home Page: https://shervanator.github.io/Engine/
License: GNU General Public License v3.0
Would you like to wrap any pointer data members with the class template โstd::unique_ptrโ?
Update candidates:
Implement client/server code to sync entities over the network
I built this on Ubuntu and the output directory seems a bit odd
I ran:
mkdir build
cd build
cmake ..
make
cd ..
The ended up with a directory bin/bin
- it seems like it should just be bin
you should probably provide what's required with Windows build? I'm guessing vs2015 only or does it work with cygwin and mingw toolchains?
checking with the stdlibc++ flag you need to use clang???
At least provide some info what tools to use in windows.
Hi, where do I find this package? "corefoundation_lib" This looks like OSX library??
Instead of using its own concept of world space make the camera use the SceneNodes transform, this will allow attaching a camera to another SceneNode and having the camera automatically follow that object!
long time no update~~
Im looking at integrating bullet physics engine, this might be able to help with frustum culling as well
C:\Users\Vlad\Desktop\Engine\dependencies\CMakeLists.txt:17: error: The source directory C:/Users/Vlad/Desktop/Engine/dependencies/SDL does not contain a CMakeLists.txt file.
C:\Users\Vlad\Desktop\Engine\dependencies\CMakeLists.txt:24: error: The source directory C:/Users/Vlad/Desktop/Engine/dependencies/glew does not contain a CMakeLists.txt file.
C:\Users\Vlad\Desktop\Engine\dependencies\CMakeLists.txt:164: error: The source directory C:/Users/Vlad/Desktop/Engine/dependencies/assimp does not contain a CMakeLists.txt file.
I would like to see a license for this engine so that I can use it as free software. https://www.gnu.org/licenses/license-list.html
It always reports error:
Clone of '[email protected]:Perlmint/glew-cmake.git' into submodule path 'dependencies/glew' failed
......
CMake Error at dependencies/CMakeLists.txt:19 (add_subdirectory):
add_subdirectory given source "glew" which is not an existing directory.
Maybe to avoid cross platform errors, since you mentioned that you have never tried building it in Windows, perhaps a suggestion on Glew library linking as explained here..
Add glew.c to your project. Just compile it in with the rest of your source files. As long as you #define GLEW_STATIC it will work fine. Problem solved.
Even if you succeed at linking it to the library, you are then bound to one specific architecture/build/version. If you just include glew.c you will be free to build the project virtually anywhere.
http://stackoverflow.com/a/12427214/4397269
I know there's a pre-build with glew sources, so maybe just add thirdparty or dependencies folder and place it depending on platform?? or just with Windows if it is an isolated case.
Just throwing out some suggestions for cross-platform building..
I would like to report a bug in the emscripten building process. I am using emsdk 1.37.21 and osx 10.13.2. This might be emsdk + sdl related, but I think you might know how to fix it. I made it work once, but I don't remember what I did to make it work.
I instaled the emsdk 1.37.21 via emsdk-portable and activated it. Updated paths running emsdk_env.sh and sourcing emsdk_set_env.sh. After that, I ran: ./scripts/cmake-emscripten.sh -j8
Here is the output:
In file included from /Users/tolstenko/projects/Engine/src/engine/GLEWManager.cpp:6:
In file included from /Users/tolstenko/emsdk/emscripten/1.37.21/system/include/GL/glew.h:36:
/Users/tolstenko/emsdk/emscripten/1.37.21/system/include/SDL/SDL_opengl.h:5111:19: error: typedef redefinition with different types ('ptrdiff_t'
(aka 'int') vs 'khronos_intptr_t' (aka 'long'))
typedef ptrdiff_t GLintptr;
^
/Users/tolstenko/emsdk/emscripten/1.37.21/system/include/GLES2/gl2.h:78:26: note: previous definition is here
typedef khronos_intptr_t GLintptr;
^
In file included from /Users/tolstenko/projects/Engine/src/engine/GLEWManager.cpp:6:
In file included from /Users/tolstenko/emsdk/emscripten/1.37.21/system/include/GL/glew.h:36:
/Users/tolstenko/emsdk/emscripten/1.37.21/system/include/SDL/SDL_opengl.h:5112:19: error: typedef redefinition with different types ('ptrdiff_t'
(aka 'int') vs 'khronos_ssize_t' (aka 'long'))
typedef ptrdiff_t GLsizeiptr;
^
/Users/tolstenko/emsdk/emscripten/1.37.21/system/include/GLES2/gl2.h:77:25: note: previous definition is here
typedef khronos_ssize_t GLsizeiptr;
^
In file included from /Users/tolstenko/projects/Engine/src/engine/GLEWManager.cpp:6:
In file included from /Users/tolstenko/emsdk/emscripten/1.37.21/system/include/GL/glew.h:36:
/Users/tolstenko/emsdk/emscripten/1.37.21/system/include/SDL/SDL_opengl.h:5582:21: error: conflicting types for 'glShaderSource'
GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
^
/Users/tolstenko/emsdk/emscripten/1.37.21/system/include/GLES2/gl2.h:626:29: note: previous declaration is here
GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
^
In file included from /Users/tolstenko/projects/Engine/src/engine/GLEWManager.cpp:6:
In file included from /Users/tolstenko/emsdk/emscripten/1.37.21/system/include/GL/glew.h:36:
/Users/tolstenko/emsdk/emscripten/1.37.21/system/include/SDL/SDL_opengl.h:5676:25: error: typedef redefinition with different types ('void (*)(GLuint,
GLsizei, const GLchar **, const GLint *)' (aka 'void (*)(unsigned int, int, const char **, const int *)') vs 'void (*)(GLuint, GLsizei, const GLchar
*const *, const GLint *)' (aka 'void (*)(unsigned int, int, const char *const *, const int *)'))
typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
^
/Users/tolstenko/emsdk/emscripten/1.37.21/system/include/GLES2/gl2.h:483:28: note: previous definition is here
typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
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.