Git Product home page Git Product logo

galaxy-renderer's Introduction

galaxy-renderer's People

Contributors

beltoforion avatar blogdron avatar data-man avatar smcameron 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

galaxy-renderer's Issues

Add a LICENSE file

Please add a LICENSE file to the root of the repository, containing the text of the license under which you're releasing this code.

Without a license, stuff is under "All Rights Reserved" terms, meaning people aren't allowed to do anything beyond what the GitHub Terms of Service require you to agree to as part of uploading it.

See https://choosealicense.com/ for more.

Problem rendering in iOS

Hi

Thanks for sharing the Galaxy Renderer, it´s really nice.
I have adapted it as a background to a game I'm writing and I found that it has problems in iOS. The issue is that sometimes the point size is negative and iOS then renders it wrong.

I have added:

 gl_PointSize=max(gl_PointSize,0.0);

at the end of the vertex shader and now it works Ok. Don't know if there is a better way to correct it. Hope it helps.

I attach a screen shot of my game

acImage_2021-07-12_18-33-11

Star.cpp refers to Star.hpp, which does not seem to be in the repo

Star.cpp refers to Star.hpp, which does not seem to be in the repo

Also there are references to MathHelper.hpp in Star.cpp, which also doesn't exist.

Well, I found this trying to create a Makefile for linux, so it's possible that Star.cpp is not used at all. But now I'm at an impasse because:

c++ -std=c++17 -Iinclude -I/usr/include/SDL2 -c -o Galaxy.o Galaxy.cpp
Galaxy.cpp:7:21: fatal error: execution: No such file or directory

my C++ compiler doesn't support

#include <execution>

Along the way, I also noticed 3 instances of

#include <gl/blah.h>

That doesn't work on linux because it needs to be uppercase GL.

#include <GL/blah.h>

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.