GithubHelp home page GithubHelp logo

noneuclidean's People

Contributors

dinamicdigital avatar hackerpoet 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  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

noneuclidean's Issues

Compilation Error

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'

Not loading in

This isn't working. I pressed everything. Not loading in. Just a inescapable black program.

Frown

wont run

when I run the NonEuclidean.exe nothing happens. is there something I'm missing?

link 1104

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

Linux and Mac Build

Since it is already written using OpenGL, would it be possible to have a build for linux and Mac?

When i debug or build, it shows just black window and some errors

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

image
image
in Camera.cpp

image
image
in GL.h

And NonEuclidean-master\NonEuclidean-master\NonEuclidean\NonEuclidean.exe also shows just black window

thank for reading

WebGL port

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.

How do I compile this?

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??

License

Would it be possible for you to specify a license for this project or is it intended that there is none?

program doesn't render anything

When lanunched with Intel UHD Graphics 620 (integrated):
image

When launched with NVIDIA GeForce 940MX:
image

I have Windows 10 64bit

Rendering issues

In all of the test areas, there are rendering issues. Mostly just a bunch of random shapes appearing
Screenshot (430)

No collisions on some objects

The tunnel seems to be the only object with collisions, however others (like the bunny and tea pot) dont have and you can walk right through them.
image

Rendering problums

So when i load the Engine it seems to have a rendering problem i don't know whats causing it My computers sepces are:

Win10(64 bit)
Amd A8-741 APU with AMD radeon R5
8GB of ram
(its a laptop)

i've also included an image of what it looks like

1-nee

Textures not loading

I added glew to the main directory. Textures look like this. I have opengl and everything installed on my computer.
image

visual studio 2019 compilation errors

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??

How do I run this?

I can't find the .exe... help pls. I am kind of new to github though, so there is that.

unity compatibility

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.

Memory leak

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.

黑屏

怎么跑才不黑屏啊

How to Add Glew correctly

I'm using a 64bit windows machine, I don't really understand how to add glew to the main directory. Can someone help?

Black Screen (Resolved)

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.

Cellular Automatons?

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.

Lighting mistake in demo 3

There are 2 spots in demo 3 where the illusion falls apart due to the lighting, I added screenshots of where this happens.

NonEuclideanDemo 07_07_2020 14_11_15
NonEuclideanDemo 07_07_2020 14_11_46

Black screen

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.

GL folder non-existent

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?

Win32 pls

Can u pls add a Win32 version or post the source code so I can compile it to Win32 manually?

Building my own .exe

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
engineErr

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.