hackerpoet / noneuclidean Goto Github PK
View Code? Open in Web Editor NEWA Non-Euclidean Rendering Engine for 3D scenes.
License: MIT License
A Non-Euclidean Rendering Engine for 3D scenes.
License: MIT License
Hi,
I am new to this so apologies if I'm just missing something simple. I keep getting the warning and error messages below no matter what I try. Do you know what I need to change? Thanks
warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
fatal error LNK1158: cannot run 'rc.exe'
Hello, I ran into these errors in Engine.cpp around line 343 to line 394. Specifically for " wc.lpszClassName = GH_CLASS;" .
Is this a VS code problem? I am not super familiar with cpp so im not sure what's the cause of this problem nor how to fix it :(
Thanks!
when I run the NonEuclidean.exe nothing happens. is there something I'm missing?
when i am building it inn visual studios this keeps poping up
Severity Code Description Project File Line Suppression State
Error LNK1104 cannot open file 'glew32s.lib' NonEuclidean
this is happening after I get glewV140 in. what should I do
Does anyone make levels ?
but when I edit values, which folder do i recompile? im assuming its Engine.cpp? im using g++
This is an "engine"and i want to make a simple room in this "engine". How would i do that?
Since it is already written using OpenGL, would it be possible to have a build for linux and Mac?
I downloaded all files with zip, changed properties for #include <GL/glew.h>, and added glew-2.1.0 to the main directory.
But, when i debug or build this solution, visual studio shows some errors
And NonEuclidean-master\NonEuclidean-master\NonEuclidean\NonEuclidean.exe also shows just black window
thank for reading
Hey, any chance helping compile this with mingw32?
Hey
I spent a few hours trying to come up with a quick WebGL port using emscripten
I managed to get it working fine without the occlusion queries by setting engine.occlusionCullingSupported to 0
Here: take a look:
https://shooshx.github.io/NonEuclidean/emscripten/page.html
That worked fine but of course the rendering was extremely slow.
Trying to turn on occlusion queries didn't produce the desire result. the portals would simply render nothing.
I was able to determine that the problem was the the occlusion queries simple never return "1"
That's because a difference between WebGL and OpenGL which is summed in this paragraph from the WebGL2 standard:
In order to ensure consistent behavior across platforms, queries' results must only be made available when the user agent's event loop is not executing a task. In other words:
A query's result must not be made available until control has returned to the user agent's main loop.
Repeatedly fetching a query's QUERY_RESULT_AVAILABLE parameter in a loop, without returning control to the user agent, must always return the same value.
In your recursive code you assume that getting GL_QUERY_RESULT will flush the rendering pipeline and get the result, as OpenGL does. WebGL however does not do that until the frame code call returns control to the browser.
So what's the chance you'll want to try to restructure your code so that Render is not explicitly recursive so it would be possible to return control between queries?
Another option I was thinking about is to try to simulate occlusion queries using glReadPixels which is synchronous. I don't expect this to be very fast though.
I have an Oculus Quest 2, and I want to try to play this game in VR. Any way to do that?
my program dont render anythink and the mouse stuck in place
I want to compile this game because i want to edit this but i have problems blocking me from compiling this game.
I have downloaded glew but how do I properly include it? I tried doing it using the the project's option window but it didn't work so how do I make it work??
Where is the executable? Can you provide a direct download link?
nothing else execpt a blackscreen
Would it be possible for you to specify a license for this project or is it intended that there is none?
idk how to build the game can anyone help me
Leave a comment
Is there any way to adjust camera sensitivity or change any of the controls? I'm checking all the files but can't seem to find a way.
It renders as a black window and my mouse cursor is centered. I installed glew AS WELL as adding the files to the same directory. Please help.
The EXE file isn't in the ZIP file, please fix.
I put a fresh copy of glew-2.2.0 into main non-Euclidean folder.
I edited VC++ Directories to be:
..\glew-2.2.0\lib\Release\x64;$(LibraryPath)
I edited C/C++ Additional Include Directories to be:
..\glew-2.2.0;%(AdditionalIncludeDirectories)
I edited
Severity Code Description Project File Line Suppression State
Error (active) E1696 cannot open source file "GL/glew.h" NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Collider.cpp 3
Error (active) E0020 identifier "glDepthFunc" is undefined NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Collider.cpp 48
Error (active) E0020 identifier "GL_ALWAYS" is undefined NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Collider.cpp 48
Error (active) E0020 identifier "glUseProgram" is undefined NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Collider.cpp 49
Error (active) E0020 identifier "glBegin" is undefined NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Collider.cpp 50
Error (active) E0020 identifier "GL_LINE_LOOP" is undefined NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Collider.cpp 50
Error (active) E0020 identifier "glColor3f" is undefined NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Collider.cpp 51
Error (active) E0020 identifier "glVertex4f" is undefined NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Collider.cpp 57
Error (active) E0020 identifier "glEnd" is undefined NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Collider.cpp 65
Error (active) E0020 identifier "GL_LESS" is undefined NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Collider.cpp 66
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Camera.cpp 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Collider.cpp 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\FrameBuffer.h 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\FrameBuffer.h 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\FrameBuffer.h 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\FrameBuffer.h 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\FrameBuffer.h 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\FrameBuffer.h 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\FrameBuffer.h 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\FrameBuffer.h 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\FrameBuffer.h 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Mesh.h 4
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Mesh.h 4
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\FrameBuffer.h 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\FrameBuffer.h 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\FrameBuffer.h 3
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Mesh.h 4
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Shader.h 2
Error C1083 Cannot open include file: 'GL/glew.h': No such file or directory NonEuclidean C:\Users\Stefan\Desktop\NonEuclidean-master\NonEuclidean\Texture.h 2
glew.h is there but is not being found.
help??
I can't find the .exe... help pls. I am kind of new to github though, so there is that.
Hey,
I loved your project and I was hoping to use it on a project of mine.
I was hoping to know if you where ever able to use it in unity or create anything similar to this in unity?
Please let me know if you found a way to make it compatible with unity?
Many thanks.
I am using pre-built exe.
The more I use it the more it takes ram. The ram usage is increasing rapidly. First level it's just takes ~50 mb per thing, The next levels starts to take hundreds (100+) ram. After few changes I got ~1GB. Last ram usage was ~1.8 GB and my laptop was frozen. I had to "hard shutdown" it (hold power button for some time).
My laptop:
64x bit Win 8.1 4gb ram.
怎么跑才不黑屏啊
I'm using a 64bit windows machine, I don't really understand how to add glew to the main directory. Can someone help?
I just wanted to leave this here, in case it helps anyone. I also tried to start the program and only got a black screen. But, I noticed in the "Shaders" folder were some log files with this message:
ERROR: 0:9: 'gl_FragColor' : identifiers starting with "gl_" are reserved
ERROR: 1 compilation errors. No code generated.
Apparently, my GLSL compiler isn't honoring the language version, or only partially doing so. The solution was to just remove the "gl_" from that variable name in the five ".frag" files that use it. Then the demo worked.
Hello folks. I'm an expert in cellular automatons i.e. conway game of life and the similar. http://www.conwaylife.com/wiki/Michael_Simkin - Some background about me.
Anyway I wonder how complex would it be to also fit inside your reality some cellular automaton? but where the longer part would actually have more squares. How would it influence the automaton? Is there even a point in doing that?
And another question how hard would it be to implement inside Roblox? https://www.roblox.com/home.
I added glew 2.1.0 to the directory and in visual studio it is letting the project build but when starting the exe it doesnt work.
Hi.
When i open the NonEuclidean.exe, it shows in the task manager using ~70mb of RAM, but the process freezes in a black screen, when i press "esc" button it closes.
Can someone help me?
Thanks.
When I try compiling level1.cpp in linux it returns an error while trying to find GL/glew.h. Is there anyway I could fix this?
Can u pls add a Win32 version or post the source code so I can compile it to Win32 manually?
Leave a comment
I am having problems compiling under MinGW g++ compiler. The application cannot locate the header file "GL/glew.h" or the <GL/wglew>. I think my problem is that I don't have OpenGL installed, my assumption was that it is included with nvidia drivers. Is there a way I can check to see if I have it downloaded already? Other than that I have the glew-2.1.0 folder in my main directory and I have updated the includes to reflect my environment.
EDIT
Solved the problem, I forgot to change the <> to quotes... But a new problem has emerged when trying to build. Here is the console
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.