Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In this page, there is the interface GL3
it extends: GL, GL2ES2, GL2ES3, GL2GL3, GL3ES3, GLBase and if you search for "glBlendFunci" you can see it is part of: Methods inherited from interface com.jogamp.opengl.GL2GL3 But I dont have any glBlendFunci in my GL3 or GL2GL3.. If I search for references in JOGL, only GL4 results pop up.. This is not the first time I see a mismatch between wiki and lib, also in Math there were some mismatch regarding quaternion related functions.. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Hi
Do you use JOGL 2.3.1? Maybe there is a problem in the generation of GL* classes.
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Salut gouessej I dont know, but if I look in the properties of the jogl-all.jar, I see Size: 3,05 MB (3.206.526 Bytes) Size on hd: 3,05 MB (3.207.168 Bytes) and the last one, 2.3.1 says 3,16 MB (3.321.517 Bytes) So I updated to the 2.3.1 but nothing changed Anyway looking around, it seems glBlendFunci is really available only from GL4 http://www.g-truc.net/post-0269.html So this would make sense, so only the wiki remains wrong at this point |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Actually, you mean that the Java documentation is wrong, don't you? Yes, glBlendFunci should be available only in GL4. I'll clear my cache to be sure that there is still a problem.
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
On 04/10/2015 02:18 PM, gouessej [via jogamp] wrote:
> Actually, you mean that the Java documentation is wrong, don't you? Yes, > glBlendFunci should be available only in GL4. I'll clear my cache to be sure > that there is still a problem. <http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/opengl/GL2GL3.html#glBlendFunci%28int,%20int,%20int%29> +++ void glBlendFunci(int buf, int src, int dst) Entry point to C language function: void glBlendFunci(GLuint buf, GLenum src, GLenum dst) Part of GL_VERSION_4_0, GL_ARB_draw_buffers_blend, GL_EXT_draw_buffers_indexed, GL_OES_draw_buffers_indexed Alias for: glBlendFunciARB, glBlendFunciEXT, glBlendFunciOES +++ See the 'Part of ' line, which explains why we subsumed it, i.e. the extensions! If this makes no sense, i.e. those extensions are only available w/ a higher profile .. pls report. In this case, it might be even available via embedded extension GL_OES_draw_buffers_indexed. ~Sven |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by gouessej
On 04/10/2015 02:44 PM, Sven Gothel wrote:
> > See the 'Part of ' line, which explains why we subsumed it, > i.e. the extensions! ^^ hence it is recommended to always import/attach our source zip file to the jar file (see wiki/faq) and 'mouse over' to check whether the specific GL function is indeed a core function. Usually the subsumed functions and constants are the minority .. Yes, this is a compromise to avoid duplication! ~Sven |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by Sven Gothel
I assume that he meant that glBlendFunci is only in GL4 despite the documentation that mentions it in GL2GL3. I've just tested with an old version of JOGL and only GL4.glBlendFunci compiles, not GL2GL3.glBlendFunci.
He can safely use it if his hardware supports OpenGL 4, otherwise he should check if one of the extensions is available.
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I upgraded to GL4..
|
Free forum by Nabble | Edit this page |