mtschoen / android-gl Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/android-gl
Automatically exported from code.google.com/p/android-gl
There's not ant build file for those of use who don't use the Eclipse plugin.
I attached one I made for the project, you just have the change the path to
the android SDK.
These tutorials are great, thanks for the work.
Brian
Original issue reported on code.google.com by [email protected]
on 19 Nov 2007 at 2:37
Attachments:
Thank you very much for sharing the codes. It tooks me a lot of time to
understand it, and I found a problem in the rotateY function. I have corrected
the code, as shown at below:
public static void rotateY(float[] v, float angle, float[] out) {
float[][] R = new float[4][4];
R[0][0] = (float)Math.cos(angle);
R[0][2] = (float)-Math.sin(angle);
R[2][0] = (float)Math.sin(angle);
R[2][2] = (float)Math.cos(angle);
R[1][1] = R[3][3] = 1;
multiply(R, v, out);
}
public static void rotateX(float[] v, float angle, float[] out) {
float[][] R = new float[4][4];
R[1][1] = (float)Math.cos(angle);
R[1][2] = (float)-Math.sin(angle);
R[2][1] = (float)Math.sin(angle);
R[2][2] = (float)Math.cos(angle);
R[0][0] = R[3][3] = 1;
multiply(R, v, out);
}
Original issue reported on code.google.com by [email protected]
on 29 Mar 2014 at 4:47
Hi.
edu.union.GLTutorialBase_r28
at line 333:
Thread.sleep(System.currentTimeMillis()-time);
I think that this is a correct code.
Thread.sleep(delta - (System.currentTimeMillis() - time));
Original issue reported on code.google.com by [email protected]
on 12 Jun 2009 at 4:56
Problem occurs at next lines of code:
this.frameCount = model.getAnimation(0).getEndFrame();
this.frameCount = 16;
this.vertices = new float[frameCount][];
this.normals = new float[frameCount][];
for (int i = 0; i < frameCount; ++i) {
loadMesh(model.getFrame(i).getMesh(), i);
}
So my model doesn't have animation frames but look at here:
this.frameCount = model.getAnimation(0).getEndFrame(); //returns 1
this.frameCount = 16;
and app will crash at line:
loadMesh(model.getFrame(i).getMesh(), i);
with index out of boudns
Please manage this.
Original issue reported on code.google.com by [email protected]
on 5 Feb 2010 at 9:34
I'm extending your project to an app I'm building for the univ. and I'm
having a lot of trouble adding buttons and other views before or after the
main program. I'd really appreciate a bit of help
thanks
Guy
Original issue reported on code.google.com by [email protected]
on 25 Aug 2009 at 10:46
Hello,
I am not a robot, but I suppose for the purpose of this visit I might as
well be. I just wanted to drop by real quick to check if you are at all
familiar with the jMonkeyEngine project. It seems our projects might have a
thing or two in common.
http://jmonkeyengine.com/blog/blog/2010/02/10/android-support-confirmed-
for-jme3/
http://www.jmonkeyengine.com/forum/index.php?topic=13176.0
http://www.jmonkeyengine.com/forum/index.php?topic=13217.0
We are on the lookout for an Android developer to help us bring jME3's
preliminary Android implementation to a mature, fully functional state.
http://docs.google.com/View?id=dhkt6vsf_251c54bg9hp
Maybe you could be that developer? or, maybe you know someone who might be.
Naturally we'd also appreciate having more testers or plain Android-savvy
people around in our community. Any reason at all for you to contact us,
feel free! Contact information can be found in the docs link above.
Thanks for your time,
~ Erlend Sogge Heggen
Original issue reported on code.google.com by [email protected]
on 27 Apr 2010 at 6:15
Animation is needed for the tutorials to display the graphical animation
capabilities of the Android OpenGL ES API.
As a first task I'll add it to the Tutorial 8 as an example, and then
improve it in the future in a common base class that will call some kind of
update handler that will update the scene and then redraw the scene.
Original issue reported on code.google.com by [email protected]
on 19 Nov 2007 at 2:52
What steps will reproduce the problem?
1. Import the projects into Eclipse
2.
3.
What is the expected output? What do you see instead?
Projects don't build. The path to the android jar has to be fixed.
What version of the product are you using? On what operating system?
Ubuntu 9.04, Eclipse 3.4.1, Android 1.0, 1.5, 1.6, 2.0
Please provide any additional information below.
Android has come a long way particularly with its OpenGL ES support.
Namespaces have changed so alot of refactoring has to happen in order for
these projects to work on more recent Android versions.
The .classpath file specifies a really old version of Android (m3) and
hardcoded to the user direc
/Users/bburns/Desktop/android_sdk_darwin_m3-rc22a/android.jar
Original issue reported on code.google.com by [email protected]
on 10 Dec 2009 at 12:56
The method readInt :
public int readInt()
throws IOException
{
int b1 = is.read();
int b2 = is.read();
int b3 = is.read();
int b4 = is.read();
return (b4 << 24)
+ ((b3 << 24) >>> 8)
+ ((b2 << 24) >>> 16)
+ ((b1 << 24) >>> 24);
}
can be replace by :
public int readInt() throws IOException {
return this.readInt();
}
Original issue reported on code.google.com by [email protected]
on 25 May 2009 at 8:38
What steps will reproduce the problem?
1. Download the sample.
2. Create a new project from source.
3. Experience problems.
What is the expected output? What do you see instead?
A sample should work.. If it's meant to demonstrate, then it ought to at
least do that.
What version of the product are you using? On what operating system?
? Does that really matter? I followed your directions on the web..
Please provide any additional information below.
dan - [email protected]
Original issue reported on code.google.com by [email protected]
on 9 Dec 2009 at 5:03
Read unsignedShort() return an Java short type.
But unsigned short can't be stored to an signed short .
Read unsignedShort() need to be return an "char" Java type.
Original issue reported on code.google.com by [email protected]
on 25 May 2009 at 8:37
Many time on class LittleEndianInputStream we can show this check :
int b1 = is.read();
if (b1 < 0)
b1 += 256;
But java.io.InputStream.read() return an int between 0 to 255 !
byte b = (byte) is.read(); => return an byte between -127 .. 128
BUT
int b = is.read(); => return an byte between 0 .. 256
Original issue reported on code.google.com by [email protected]
on 25 May 2009 at 8:26
I would expect a smoother animation. what i see on the screen doesn't make
sence. It is animated, but with no logic...
Original issue reported on code.google.com by [email protected]
on 17 Nov 2008 at 2:07
In tutorial 8 (Textures) if I replace
current bitmpap (R.drawables.icon) with
a bitmap that has several parallel black&white
lines I see that texture is not perspective
projected. Is it a limitation of opengl es
or it can be fixed?
Original issue reported on code.google.com by [email protected]
on 10 Nov 2008 at 9:57
If you give a sample how to load an .obj file and how to draw it will be
perfect.
Thanks
Original issue reported on code.google.com by [email protected]
on 30 Apr 2010 at 12:24
I successfully built the project on Eclipse 3.5(Android 1.6 and later) by the
following steps.
1. Export from SVN.
2. Copy "default.properties" file from other Android Project.
3. Delete R.java from "/src/edu/union/" directory.
4. Edit the "/res/layout/main.xml" file from <TextView id="@+id/text" to
<TextView android:id="@+id/text".
5. Import the projects into Eclipse.
6. Build and the error "android requires .class compatibility set to 5.0"
occurred.
In that case, see and fix your project here https://groups.google.com/group/android-developers/browse_thread/thread/9580edf1ed579e4c?hl=ja .
7. Try building again and it should work successfully.
I attach the succeeded project.
Original issue reported on code.google.com by okuokuoku
on 6 Dec 2010 at 9:24
Attachments:
Did you have a version of this tutorial wich work with the new SDK M5
Thank you for your job
K. Haeffner
Original issue reported on code.google.com by [email protected]
on 29 Jul 2008 at 1:11
When I first down loaded ModelRender 0.2 the animation we very jerky. I
found that the problem was it was interpolating.
Here was my fix. Let me know what you think.
Original issue reported on code.google.com by [email protected]
on 30 Dec 2009 at 3:56
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.