Giter Site home page Giter Site logo

jebgl's People

jebgl's Issues

getActiveUniform returns wrong value

What steps will reproduce the problem?
1. Call gl.getActiveUniform() with valid input
2.
3.

What is the expected output? What do you see instead?

The output should be a string value of the i'th uniform, however it returns one 
letter.

What version of the product are you using? On what operating system?

JebGL 0.1, Windows 7 32bit.

Please provide any additional information below.

After putting a few console.log's, it seems that the internal Java 
glGetActiveUniform call does not return the name like it should. In my case it 
returns "[B@32efa7", without the quotes (it's not a string).
Not only is this not a valid name, but its length member is set to 1, so the 
loop later on just gets one character.

I might be wrong about the name - this might be some encoding (base 64 
perhaps?) of the name, and then the length member is the only real problem.

Original issue reported on code.google.com by [email protected] on 19 Jun 2011 at 10:16

JebGL thinks OpenGL version is not high enough

What steps will reproduce the problem?
1. Use JebGL

What is the expected output? What do you see instead?

Whenever I try to use JebGL, it says that my computer doesn't support OpenGL 2 
(for createShader), while it does.

What version of the product are you using? On what operating system?

Again, 0.1, Windows 7 32bit.
Tried on Firefox 4 with WebGL disabled, on Internet Explorer 8.

Please provide any additional information below.

Can't really debug this one, is it a problem with JOGL?

Original issue reported on code.google.com by [email protected] on 22 Jun 2011 at 8:19

getActiveUniform and getActiveAttrib return different types then WebGL

What steps will reproduce the problem?
1. Call getActiveUniform or getActiveAttrib with valid input.

What is the expected output? What do you see instead?

WebGL returns a WebGLActiveInfo object, having "name", "size" and "type" as 
members.
JebGL returns the name directly.

Please provide any additional information below.

I see there isn't a way to retrieve the type and size of a uniform/attribute in 
WebGL beside getActive[Uniform/Attribute].
Is this fix-able through JOGL?

Original issue reported on code.google.com by [email protected] on 24 Jun 2011 at 11:49

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.