Commit Graph

79 Commits

Author SHA1 Message Date
Themaister
8362e2befc Remove some useless stuff. 2013-05-17 16:16:26 +02:00
Themaister
4f08a7216b Fix GLES build. 2013-05-17 15:39:30 +02:00
Themaister
5a7dfa3199 Implement ellipsoid space. 2013-05-17 14:48:28 +02:00
Themaister
f5515c9a60 Fixups. 2013-05-17 14:30:56 +02:00
Themaister
3153bb1c4c Tweak collision detection. 2013-05-17 14:18:42 +02:00
Themaister
d59ad6cc9c Minor stuff. 2013-05-17 03:52:10 +02:00
Themaister
4d083e336f Much fancier collision detection :3 2013-05-17 03:27:08 +02:00
Themaister
c8870f376a Add some colision tests. 2013-05-16 14:19:13 +02:00
Themaister
92c1d9729c Attempt to rework collision a bit. 2013-05-16 03:34:48 +02:00
Themaister
cf4fc88229 Use anisotropic filtering. 2013-05-15 01:49:39 +02:00
Themaister
f3dc054472 Fine adjust edge detection. 2013-05-15 01:16:19 +02:00
Themaister
1fa2414454 Add normals to pyramid. 2013-05-15 00:44:28 +02:00
Themaister
3adb68448b Fixup jittery edge handling. 2013-05-15 00:00:43 +02:00
Themaister
0685303a4a Fixup gravity. 2013-05-14 19:38:46 +02:00
Themaister
145b3e1d73 Basic collision. 2013-05-14 18:05:35 +02:00
Themaister
45bf16ad8e Start adding collision detection. 2013-05-14 02:33:51 +02:00
Themaister
7729682063 FPS-style view. 2013-05-14 02:08:02 +02:00
Themaister
323a688a6e Avoid discard hack.
Breaks Lightning model, but discard breaks most models which use alpha
anyways.
2013-05-13 01:37:14 +02:00
Themaister
21b2259c17 Remove Y rotate clamp. 2013-05-13 01:06:51 +02:00
Themaister
5b50aaf8e9 Fix 32-bit TGA decode. 2013-05-13 00:59:17 +02:00
Themaister
abaf8f5d93 Can zoom out a lot more. 2013-05-13 00:57:06 +02:00
Themaister
e4e886955f Add basic TGA support.
Works with Vanille test object.
2013-05-13 00:39:46 +02:00
Themaister
ede67d6a22 Clarify RPNG changes. 2013-05-13 00:03:21 +02:00
Themaister
e49bff005c Fixup RPNG to work better for GL purposes.
Avoids having to flip Y texture coordinate.
Also avoids having to use GLES2 extension to load textures.
2013-05-12 23:58:35 +02:00
Themaister
cd1c593bd3 Use a default blank texture. 2013-05-12 21:46:08 +02:00
twinaphex
ee3fa6c3ae (OSX) Compiles and links for OSX now 2013-05-12 16:08:57 +02:00
Themaister
db83c30ede Don't bind to FB 0. 2013-05-12 15:40:05 +02:00
twinaphex
a8ea5f95ea (iOS/QNX) Fix extension for iOS library + drop CC for iOS/QNX 2013-05-12 15:35:30 +02:00
twinaphex
6228219937 (iOS) Compiles and links 2013-05-12 15:32:16 +02:00
Themaister
010a852665 Unbind explicitly if not using maps. 2013-05-12 14:47:55 +02:00
twinaphex
ac33a00a59 Add iOS header includes as well 2013-05-12 14:00:58 +02:00
Themaister
9e1e92bed0 Allow up to 1k FBO. 2013-05-12 13:48:26 +02:00
Themaister
7f6a4335b3 Add D-pad support. 2013-05-12 13:31:25 +02:00
Themaister
b822a1a7c6 Works now on Android.
Cannot do dynamic symbol lookups it seems in GLES.
2013-05-12 13:27:04 +02:00
Themaister
ab4297869d Fix GLES compile. 2013-05-12 13:31:41 +02:00
Themaister
f16b0973bb Add use of ambient texture. 2013-05-12 13:28:39 +02:00
Themaister
d663d5af9a Fixups in MTL loader.
Add specular lighting.
2013-05-12 13:20:33 +02:00
twinaphex
54e6aa5e3e Mingw now uses glext.h as well 2013-05-12 02:35:08 +02:00
Themaister
29a858db83 Fix normal in simple.obj. 2013-05-12 03:27:58 +02:00
Themaister
4a137b93c0 Add basic MTL support.
Use alpha testing. Appears to fix Lightning hair model.
2013-05-12 02:46:35 +02:00
twinaphex
347cf8e03d (Blackberry/QNX) Links now 2013-05-12 00:22:43 +02:00
twinaphex
43d6116455 Take out std::1 namespace references in .cpp files 2013-05-12 00:19:09 +02:00
twinaphex
6e08b34d37 Get rid of std::vector data() (it's C++11) - make things Blackberry-
compatible - only linking of Miniz remains
2013-05-12 00:15:17 +02:00
Themaister
82de806a81 Allow for zero-byte in shader log. 2013-05-12 02:07:17 +02:00
Themaister
763cb643fc Fix ambient lighting. 2013-05-12 01:57:11 +02:00
twinaphex
5e4860c95c Replace more namespace references to shared_ptr to std1:: 2013-05-11 23:56:30 +02:00
twinaphex
69800ea44c Add custom qnx/tr1/memory for Blackberry - wrap it up in custom
namespace 'compat' - define tr1 to this
2013-05-11 23:50:46 +02:00
Themaister
c4fe1d5dca Fixups.
std::tr1 => std1.
Start think more in terms of materials.
Make shader more modular.
2013-05-12 01:36:39 +02:00
Themaister
be9ed7a66c Use fputs instead of fprintf.
Using variable format string is insecure.
2013-05-11 22:09:16 +02:00
twinaphex
3ad0b31099 Also look for 'usemtl' in obj scripts - this way we don't have
to 'butcher up' the original obj files for now - when we support
materials better/properly we can 'gut' this
2013-05-11 21:55:44 +02:00