Skip to content

Commit 56ad5eb

Browse files
committed
Fixed #16. Point drawing + Configuration options + ByteBuffers thread safe
1 parent 4342bba commit 56ad5eb

File tree

13 files changed

+575
-322
lines changed

13 files changed

+575
-322
lines changed

README.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ The purpose of this application is to learn and share how to draw using OpenGL l
1111
https://en.wikipedia.org/wiki/Wavefront_.obj_file
1212

1313

14-
News (10/04/2017)
14+
News (16/04/2017)
1515
=================
1616

17+
* Fixed #16: Toogle point drawing + several improvements
1718
* Fixed #15: Toggle rotating light + fixed wireframe colors
1819
* Fixed #14: Camera movement improved
1920
* Fixed #13: Fixed parsing of vertices
@@ -62,14 +63,15 @@ Features
6263

6364
- OpenGL ES 2.0 API
6465
- OBJ format supported (wavefront)
65-
- textures
66+
- calculation of normals
67+
- transformations: scaling, rotation, translation
6668
- colors
69+
- textures
6770
- lighting
68-
- display of normals
69-
- display of bounding box
70-
- scaling, rotation
71+
- wireframe & points mode
72+
- bounding box drawing
7173
- object selection
72-
- touch support!
74+
- camera support!
7375
- tap to select object
7476
- drag to move camera
7577
- rotate with 2 fingers to rotate camera
@@ -126,6 +128,15 @@ ChangeLog
126128

127129
(f) fixed, (i) improved, (n) new feature
128130

131+
- 1.2.10 (16/04/2017)
132+
- (f) #16: Immersive mode is now configurable in the ModelActivity Intent: b.putString("immersiveMode", "false");
133+
- (f) #16: Background color configurable in the ModelActivity Intent: b.putString("backgroundColor", "0 0 0 1");
134+
- (f) #16: Fixed vertex normals generation (vertices were missing)
135+
- (f) #16: Scaling is now implemented in the ModelView Matrix with Object3DData.setScale(float[])
136+
- (f) #16: Wireframe generation is now using the source data
137+
- (n) #16: Implemented Point Drawing, like wireframe mode but only the points are drawn
138+
- (f) #16: Removed trailing slash from parameter "assetDir"
139+
- (f) #16: Access to ByteBuffers made absolute so there are thread safe (future fixes need this)
129140

130141
- 1.2.9 (11/04/2017)
131142
- (f) #15: Toggle rotating light

app/build/outputs/apk/app-release.apk

2.47 KB
Binary file not shown.

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="org.andresoviedo.dddmodel2"
4-
android:versionCode="8"
5-
android:versionName="1.2.9" >
4+
android:versionCode="9"
5+
android:versionName="1.2.10" >
66

77
<uses-sdk
88
android:minSdkVersion="8"

0 commit comments

Comments
 (0)