Giter VIP home page Giter VIP logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
And as usual, bad documentation annoys me.
I can't find anywhere all the functions inside the JOGL Applet class. I figured 
it would consist of the GL ES 2 class, but it just doesn't want to recognize 
some functions.

I have no idea what these calls take/return in the applet, but I believe this 
should do the trick (to add in getActiveUniform and similar calls in 
getActiveAttrib):

var uniform = this.JebApp.glGetUniform(program.id, 
this.JebApp.glGetUniformLocation(program.id, out));
var data = this.JebApp.glGetUniformiv(program.id, uniform);

Original comment by [email protected] on 25 Jun 2011 at 12:51

from jebgl.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
I'm afraid the source code is the documentation at the moment. The project has 
been online for two weeks, and it coding was started less than two months ago.

I'll have a look at the getActive* problems.

Original comment by [email protected] on 25 Jun 2011 at 6:37

  • Changed state: Accepted

from jebgl.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
Oh don't get me wrong, I don't mean your code.
I can't see the signatures of all the functions in the JOGLAppletLauncher class.
I figured it'll be some form of the GL ES 2 class from Java, but it says 
glGetUniformiv doesn't exist, so I have no idea what is there.
Of course the Java people (Sun? Oracle? Someone?) have zero documentation, as 
usual.

Original comment by [email protected] on 25 Jun 2011 at 7:35

from jebgl.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
It should be fixed now. Can you try the new files (http://jebgl.com/jebgl.js 
and http://jebgl.com/jebgl.jar)?

Original comment by [email protected] on 28 Jun 2011 at 1:15

  • Changed state: Fixed

from jebgl.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
Good job, it works perfectly.

Original comment by [email protected] on 28 Jun 2011 at 6:59

from jebgl.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
Great :)

Original comment by [email protected] on 28 Jun 2011 at 7:01

  • Changed state: Done

from jebgl.

Related Issues (3)

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.