Comments (6)
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.
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.
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.
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.
Good job, it works perfectly.
Original comment by [email protected]
on 28 Jun 2011 at 6:59
from jebgl.
Great :)
Original comment by [email protected]
on 28 Jun 2011 at 7:01
- Changed state: Done
from jebgl.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jebgl.