这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@sandsmark
Copy link
Contributor

just rebased it on master for now

TheJJ and others added 30 commits November 12, 2017 13:38
textures and shader can now be created context independently.
used for screenshots and resizing currently
the name will soon be used for wrapping shader variables
Vtec234 and others added 22 commits November 12, 2017 14:11
- added `glDrawBuffers` call when creating fbo
- moved a clear color after actually binding the fbo to clear
- added r16ui pixel format
- getting the gl_format for a pixel format now also returns the type of
  cpu-side data (i.e. GL_UNSIGNED_BYTE)
- added adjusting the GL_UNPACK_ALIGNMENT and GL_PACK_ALIGNMENT if
  necesarry
- into_data for textures uses glGetTexImage
- moved renderables to extra files renderable.h and renderable.cpp
    - renderables have a unique id and can be retrieved by knowing this
      id
    - renderables have callback function for clicking and area
      selecting them
    - renderables can specify if they write their id or not (not fully
      working)
- made some update_uniform public
- added some uniform code for textures
- basic code to test pixel perfect hitboxes
 - id extraction is now independent of endianess
 - using full 16 bits of written id value
@TheJJ
Copy link
Member

TheJJ commented Nov 13, 2017

@Vtec234 does this help you?

@TheJJ TheJJ added the lang: c++ Done in C++ code label Nov 13, 2017
@Vtec234
Copy link
Contributor

Vtec234 commented Nov 13, 2017

Big thanks for working on this! Unfortunately the renderer PR is currently incomplete, so this can't be merged into master, but I will update the PR branch here.

EDIT: Done, this can be closed.

@TheJJ TheJJ closed this Nov 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang: c++ Done in C++ code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants