GithubHelp home page GithubHelp logo

juandiegomontoya / gengine Goto Github PK

View Code? Open in Web Editor NEW
101.0 10.0 4.0 135 MB

C++/OpenGL 4.6 voxel game engine.

C 1.26% C++ 86.43% GLSL 12.31%
voxel-engine game-engine data-oriented-design physx opengl

gengine's Introduction

I frogor 馃惛

gengine's People

Contributors

horsesnhalo avatar juandiegomontoya avatar maxplum avatar tyamoe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gengine's Issues

Compiling problems

Hello and good morning, I loved the images you showed about your project and the capabilities it has, and I was interested in executing it, but unfortunately I got a list of errors in the console and then the window closed.

I am using Visual Studio 2019 (I didnt modify absolutely anything of the project), as I understood from the list of errors, my computer's characteristics may not be the minimum to run the program (CPU: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz 1.80 GHz GPU: Intel(R) UHD Graphics 620 RAM: 8GB), or maybe I need to add some .dlls. But I'm very interested in running it; this is what I got on the console:

C:\b\w\bc4f22ce46571d95\sw\physx\PhysXSDK\4.1\trunk\source\cudamanager\src\CudaContextManager.cpp (632) : info : nvcuda.dll not found or could not be loaded.

C:\b\w\bc4f22ce46571d95\sw\physx\PhysXSDK\4.1\trunk\source\cudamanager\src\CudaContextManager.cpp (376) : info : NVIDIA Release 411 graphics driver and above is required for GPU acceleration.

File: TexturedMesh.fs.glsl
Error compiling shader of type 35632
ERROR: 0:10: 'location qualifer' : the "location" qualifier cannot be used when a "binding" qualifier is also provided. Use "offset" instead


File: chunk_optimized.fs.glsl
Error compiling shader of type 35632
ERROR: 0:6: 'location qualifer' : the "location" qualifier cannot be used when a "binding" qualifier is also provided. Use "offset" instead
ERROR: 0:8: 'location qualifer' : the "location" qualifier cannot be used when a "binding" qualifier is also provided. Use "offset" instead


File: compact_batch.cs.glsl
Error compiling shader of type 37305
WARNING: 0:3: '#extension' :  'GL_GOOGLE_include_directive' is not supported
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:4: '' : syntax error: #line
ERROR: 0:10: '' : illegal character (") (0x22)
ERROR: 0:10: '' : illegal character (") (0x22)
ERROR: 0:11: '' : syntax error: #line
ERROR: 0:32: '' : illegal character (") (0x22)
ERROR: 0:32: '' : illegal character (") (0x22)
ERROR: 0:33: '' : syntax error: #line


File: update_particle_emitter.cs.glsl
Error compiling shader of type 37305
WARNING: 0:3: '#extension' :  'GL_GOOGLE_include_directive' is not supported
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:4: '' : syntax error: #line
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:7: '' : syntax error: #line
ERROR: 0:52: '' : illegal character (") (0x22)
ERROR: 0:52: '' : illegal character (") (0x22)
ERROR: 0:53: '' : syntax error: #line
ERROR: 0:53: '' : illegal character (") (0x2
File: update_particle.cs.glsl
Error compiling shader of type 37305
WARNING: 0:3: '#extension' :  'GL_GOOGLE_include_directive' is not supported
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:4: '' : syntax error: #line
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:7: '' : syntax error: #line
ERROR: 0:52: '' : illegal character (") (0x22)
ERROR: 0:52: '' : illegal character (") (0x22)
ERROR: 0:53: '' : syntax error: #line
ERROR: 0:53: '' : illegal character (") (0x2
File: chunk_render_cull.vs.glsl
Error compiling shader of type 35633
WARNING: 0:3: '#extension' :  'GL_GOOGLE_include_directive' is not supported
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:4: '' : syntax error: #line
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:7: '' : syntax error: #line
ERROR: 0:28: '' : illegal character (") (0x22)
ERROR: 0:28: '' : illegal character (") (0x22)
ERROR: 0:29: '' : syntax error: #line


File: particle.vs.glsl
Error compiling shader of type 35633
WARNING: 0:3: '#extension' :  'GL_GOOGLE_include_directive' is not supported
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:4: '' : syntax error: #line
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:7: '' : syntax error: #line
ERROR: 0:52: '' : illegal character (") (0x22)
ERROR: 0:52: '' : illegal character (") (0x22)
ERROR: 0:53: '' : syntax error: #line


File: tonemap.fs.glsl
Error compiling shader of type 35632
ERROR: 0:3: 'location qualifer' : the "location" qualifier cannot be used when a "binding" qualifier is also provided. Use "offset" instead
ERROR: 0:4: 'location qualifer' : the "location" qualifier cannot be used when a "binding" qualifier is also provided. Use "offset" instead


File: fog.fs.glsl
Error compiling shader of type 35632
WARNING: 0:3: '#extension' :  'GL_GOOGLE_include_directive' is not supported
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:4: '' : syntax error: #line
ERROR: 0:5: '' : illegal character (") (0x22)
ERROR: 0:5: '' : illegal character (") (0x22)
ERROR: 0:6: '' : syntax error: #line
ERROR: 0:68: '' : illegal character (") (0x22)
ERROR: 0:68: '' : illegal character (") (0x22)
ERROR: 0:69: '' : syntax error: #line
ERROR: 0:74: 'location qualifer' : the "loca
File: fxaa.fs.glsl
Error compiling shader of type 35632
ERROR: 0:23: 'location qualifer' : the "location" qualifier cannot be used when a "binding" qualifier is also provided. Use "offset" instead


File: reflections/specular_cube_trace.fs.glsl
Error compiling shader of type 35632
WARNING: 0:3: '#extension' :  'GL_GOOGLE_include_directive' is not supported
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:4: '' : syntax error: #line
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:7: '' : syntax error: incorrect expression in preprocessor directive
ERROR: 0:7: '' : syntax error: #line
ERROR: 0:69: '' : illegal character (") (0x22)
ERROR: 0:69: '' : illegal character (") (0x22)
ERRO
File: reflections/unproject_depth.fs.glsl
Error compiling shader of type 35632
WARNING: 0:3: '#extension' :  'GL_GOOGLE_include_directive' is not supported
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:4: '' : syntax error: #line
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:7: '' : syntax error: incorrect expression in preprocessor directive
ERROR: 0:7: '' : syntax error: #line
ERROR: 0:69: '' : illegal character (") (0x22)
ERROR: 0:69: '' : illegal character (") (0x22)
ERRO
File: reflections/specular_composite.fs.glsl
Error compiling shader of type 35632
WARNING: 0:3: '#extension' :  'GL_GOOGLE_include_directive' is not supported
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:3: '' : illegal character (") (0x22)
ERROR: 0:4: '' : syntax error: #line
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:6: '' : illegal character (") (0x22)
ERROR: 0:7: '' : syntax error: incorrect expression in preprocessor directive
ERROR: 0:7: '' : syntax error: #line
ERROR: 0:69: '' : illegal character (") (0x22)
ERROR: 0:69: '' : illegal character (") (0x22)
ERRO
[17:11:25:582] [default] [critical] OpenGL Debug message (1282): Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
Source: API
Type: Error
Severity: high
[17:11:25:585] [default] [critical] OpenGL Debug message (1282): Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
Source: API
Type: Error
Severity: high
[17:11:25:589] [default] [critical] OpenGL Debug message (1282): Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
Source: API
Type: Error
Severity: high
[17:11:25:591] [default] [critical] OpenGL Debug message (1282): Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
Source: API
Type: Error
Severity: high
[17:11:25:593] [default] [critical] OpenGL Debug message (1282): Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
Source: API
Type: Error
Severity: high
[17:11:25:595] [default] [critical] OpenGL Debug message (1282): Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
Source: API
Type: Error
Severity: high
[17:11:25:596] [default] [critical] OpenGL Debug message (1282): Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
Source: API
Type: Error
Severity: high
[17:11:25:597] [default] [critical] OpenGL Debug message (1282): Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
Source: API
Type: Error
Severity: high
[17:11:25:608] [default] [warning] Texture air.png does not exist, using fallback.
[17:11:25:608] [default] [warning] Texture metal.png does not exist, using fallback.
[17:11:25:609] [default] [warning] Texture sand.png does not exist, using fallback.
[17:11:25:609] [default] [warning] Texture snow.png does not exist, using fallback.
[17:11:25:610] [default] [warning] Texture dry grass.png does not exist, using fallback.
[17:11:25:610] [default] [warning] Texture Olight.png does not exist, using fallback.
[17:11:25:611] [default] [warning] Texture Rlight.png does not exist, using fallback.
[17:11:25:611] [default] [warning] Texture Glight.png does not exist, using fallback.
[17:11:25:612] [default] [warning] Texture Blight.png does not exist, using fallback.
[17:11:25:612] [default] [warning] Texture Smlight.png does not exist, using fallback.
[17:11:25:613] [default] [warning] Texture Ylight.png does not exist, using fallback.
[17:11:25:872] [default] [info] Allocating chunks took 0.0088128 seconds
[17:11:25:954] [default] [info] Generating chunks took 0.0805243 seconds
[17:11:27:394] [default] [info] Sunlight propagation took 1.4396577 seconds
[17:11:27:555] [default] [info] Generating meshes took 0.1604142 seconds
[17:11:27:559] [default] [info] Buffering meshes took 0.0029115 seconds
Constructed particle emitter on entity 4
Constructed particle emitter on entity 5
[17:11:28:222] [default] [critical] OpenGL Debug message (1282): Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
Source: API
Type: Error
Severity: high
[17:11:28:223] [default] [critical] OpenGL Debug message (1282): Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
Source: API
Type: Error
Severity: high
[17:11:28:224] [default] [critical] OpenGL Debug message (1281): Error has been generated. GL error GL_INVALID_VALUE in (null): (ID: 173538523) Generic error
Source: API
Type: Error
Severity: high
[17:11:28:225] [default] [critical] OpenGL Debug message (1282): Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error
Source: API
Type: Error
Severity: high

C:\Users\davic\Desktop\Nueva carpeta\Gengine-master\Gengine-master\build\x64\Debug\VoxelEngine.exe (proceso 4240) se cerr贸 con el c贸digo -1.
Para cerrar autom谩ticamente la consola cuando se detiene la depuraci贸n, habilite Herramientas ->Opciones ->Depuraci贸n ->Cerrar la consola autom谩ticamente al detenerse la depuraci贸n.
Presione cualquier tecla para cerrar esta ventana. . .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.