Giter Site home page Giter Site logo

amengede / getintogamedev Goto Github PK

View Code? Open in Web Editor NEW
276.0 276.0 83.0 200.41 MB

Python 10.09% Batchfile 0.01% GLSL 0.06% C 32.74% C++ 55.67% CSS 0.01% HTML 0.01% JavaScript 0.02% Objective-C 0.42% CMake 0.06% Rust 0.10% Makefile 0.83% TypeScript 0.01% Assembly 0.01%

getintogamedev's People

Contributors

amengede 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

getintogamedev's Issues

vulkan/thirdParty/lib lost.

vulkan/thirdParty/lib lost.
$(ProjectDir)thirdParty\lib;$(LibraryPath)
All project can't compile succeed.

Shader compilation error

When attempting to run the code from PyOpenGL part 2, I get a ShaderCompilationError on my system:

OpenGL.GL.shaders.ShaderCompilationError: ("Shader compile failure (0): b'0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, and 3.00 ES\\n'", [b'#version 330 core\n', b'\n', b'layout (location=0) in vec3 vertexPos;\n', b'layout (location=1) in vec3 vertexColor;\n', b'\n', b'out vec3 fragmentColor;\n', b'\n', b'void main() {\n', b'\tgl_Position = vec4(vertexPos, 1.0);\n', b'\tfragmentColor = vertexColor;\n', b'}\n'], GL_VERTEX_SHADER)

The solution was to have pygame explicitly request an OpenGL 3.3 Core Profile context:

class App:
    def __init__(self):
        pg.init()
        pg.display.gl_set_attribute(pg.GL_CONTEXT_MAJOR_VERSION, 3)
        pg.display.gl_set_attribute(pg.GL_CONTEXT_MINOR_VERSION, 3)
        pg.display.gl_set_attribute(pg.GL_CONTEXT_PROFILE_MASK,
                                    pg.GL_CONTEXT_PROFILE_CORE)
        pg.display.set_mode((648, 480), pg.OPENGL | pg.DOUBLEBUF)

pg.display.set_mode((640,480), pg.OPENGL|pg.DOUBLEBUF)

license

Hi. I'm working on a project to create my own game engine. As part of my project I'm using a slightly modified version of your vulkan C++ graphics engine and would like to ask if it is alright for me to upload it as part of my project.

I look forward to hearing from you.

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.