-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure to add package in Julia 1.0.1 #94
Comments
Sorry, I haven't updated GLAbstraction for 1.0 yet - do you need GLAbstraction directly, or does E.g. Makie work for you? Makie includes a copy of GLAbstraction with 1.0 compat! |
I looked at Makie, I'm just getting lost in where a lot of the GL low level stuff is. All I need to do is create a GL context and a few easy shaders. My project requires me to render a ton of cubes and it seems as though the way Makie sends data through is as a 1D texture. For example, if I try this in Makie lottaCubes = [(HyperRectangle(Vec3f0(rand(1:100),rand(1:100),rand(1:100)),Vec3f0(1)),
RGBAf0(rand(Float32),rand(Float32),rand(Float32),1)) for i = 1:16385]
meshes = map(GLNormalMesh, lottaCubes)
mesh(merge(meshes)) I get a glTexImage 1D width error as the maximum size for a 1D texture is 16384. It would seem then that I need to write some basic shaders and add some occlusion culling or something to be able to render more. |
Interesting, I will investigate further. I am still very new to Julia, I am coming from doing GL work in Common Lisp. Thank you for your help. |
Hi, this is a tough issue for me as well. Except, I use the vertex and fragment shader macros which aren't accommodated in Makie as far as I know... |
They are ;) GLMakie contains a full copy of GLAbstraction: |
Since GLMakie contains a functional 1.0 version of GLAbstraction, are there plans to update GLAbstraction or has all development moved over to GLMakie? |
I kind of gave GLAbstraction to @louisponet who updated things... I'm currently work on ShaderAbstractions.jl, which might become the new GLAbstraction from my perspective ;) |
I have been using the master version of this repo in projects of mine, that should work perfectly on Julia 1.x. Could you try On the development side of things, I work on OpenGL projects off and on, and I use this for all lowish-level OpenGL functionality. I add/update things as I use them since to me it doesn't make a lot of sense to create/develop an API type package without actually using it. Therefore, I'm fully open to any help, issues and suggestions on where to take this package. |
I'm away from my machine today, but I'll try this evening and reply with my results. |
@louisponet , your solution to add the master branch did the trick! Thanks! |
The text was updated successfully, but these errors were encountered: