47 Commits

Author SHA1 Message Date
Stephen Hines
10efb53234 Switch to "tests" instead of "optional" for build.
Change-Id: Iaea3819c18be34b5c3864015316b67397c928f2d
2012-07-02 16:40:48 -07:00
Alex Sakhartchouk
b23b58ad34 Enable AA in scenegraph. Minor shader work in sample.
Change-Id: Ifa81d2b19901002f901f25ac9dce5a4ca09fa363
2012-02-29 09:06:10 -08:00
Alex Sakhartchouk
3c8eed3bdc Adding a few more howto elements to scenegraph example.
Change-Id: I29f025ce6ecf3a8090a8365991de40af72b4e78f
2012-02-23 10:12:45 -08:00
Alex Sakhartchouk
d2dc983896 Simplifying programmatic creation.
Change-Id: I792f96b5ed47d3c78976d57259074c9ae402575b
2012-02-22 11:59:12 -08:00
Alex Sakhartchouk
9cc290038c Properly pipe texture names through.
Change-Id: I3e44c2757acee90539869c32771626cd0f770a25
2012-02-22 09:06:03 -08:00
Alex Sakhartchouk
57fc7109e4 Adding a very simple all-code scenegraph example.
Change-Id: I776f8d8d0d3873c84141637d3479501ea92bac12
2012-02-21 16:26:38 -08:00
Alex Sakhartchouk
c71343acc4 Adding better default behaviour for programmatically created objects.
Change-Id: I24078b27f9ddf7f36855eaf223cd4211f459bc78
2012-02-21 11:32:59 -08:00
Alex Sakhartchouk
071e54d7a3 Making sure stranded objects are not left behind.
Change-Id: If678d9dbf818e256862cfc0949015c2a4172bebd
2012-02-17 16:30:36 -08:00
Alex Sakhartchouk
a9eb319965 Making a graceful fallback for missing textures.
Change-Id: Ib628d8344ab9bdd5f82c61a599c42a4c7ca3052e
2012-02-07 16:25:25 -08:00
Alex Sakhartchouk
e8bb420a68 Streamlining texture creation.
Adding render target textureas.
Adding texture params for shaders.
Making it easier to bind root script.

Change-Id: I96dfc6ffba8bb7391d03a84682c43c82387e0be3
2012-02-06 19:13:47 -08:00
Alex Sakhartchouk
6f31c36a3d Fixes to simplify programmatic creation.
Change-Id: Ief2c794b0c50ce8016737628b9a7348574590039
2012-02-03 15:52:04 -08:00
Alex Sakhartchouk
5c15b765fe Adding float param time stamp. Cleanup, robustness.
Change-Id: I99148cf0566f0825739968bf1c7fbca021ef144e
2012-02-02 15:28:44 -08:00
Alex Sakhartchouk
e31264694e Cleanup.
Change-Id: Iee30f741f99846b3e19346fa1f2fb6ee0c88f4c0
2012-02-01 18:41:35 -08:00
Alex Sakhartchouk
0c9523357f Making sure that parameter updates are properly propagated to RS.
Cleanup of param creation code.

Change-Id: I882b5230783250167f4269964165971a1caf9962
2012-02-01 14:06:27 -08:00
Alex Sakhartchouk
f684c01b7a Optimize camera updates from java. Remove duplicate constants.
Change-Id: I4302abc06b1afbfdbbf2f7749d3caa7294c982d1
2012-01-31 15:22:59 -08:00
Alex Sakhartchouk
452889a296 Better debugging for shader params.
Change-Id: Ib083e456e53226539d16599b4a2b4d89e5082439
2012-01-31 14:48:20 -08:00
Alex Sakhartchouk
e92c78ccd0 Adding a time stamp to transforms to reduce update frequency.
Change-Id: Ief4a9c61886feed03b11c913fbee14613d990dc4
2012-01-31 13:23:13 -08:00
Alex Sakhartchouk
5de922962a Fixing possible pne.
Change-Id: I4a8071374a72c0ca2639dc033d06d17e0a0466f7
2012-01-30 14:05:39 -08:00
Alex Sakhartchouk
e93db17a14 Making the SceneGraph more robust to make sure data is propagated to RS.
Caching RS name allocations.

Change-Id: I5e7a17a9ac76f81548145ae78665da322ec51271
2012-01-30 12:03:06 -08:00
Alex Sakhartchouk
4bda82de0b Better constant names, removed unused code, general cleanup.
Change-Id: Iebf6d6c930c146e83d6963674d63ee322e831f3e
2012-01-27 15:00:34 -08:00
Alex Sakhartchouk
a18d676ede Material name cleanup. Minor refactoring.
Change-Id: I2e0cba9267c61729eefe8bf0d3c29bf0892ba940
2012-01-26 16:29:52 -08:00
Alex Sakhartchouk
d4cb9c587c Separating scenegraph from the app that uses it.
Change-Id: I326d3e9804ae2433e8963105442c4a0b8f8f9a6f
2012-01-26 15:51:19 -08:00
Alex Sakhartchouk
99b93819f1 Adding shader textures and removing specialized code.
Change-Id: Ie42928f9f7c1cee51ee2e0206b75e8239b75960a
2012-01-25 17:59:14 -08:00
Alex Sakhartchouk
1e69f42fa2 Adding accidentally removed init block.
Change-Id: I66790a1c405e682d9ddd1beb36544844562e02c0
2012-01-25 15:24:57 -08:00
Alex Sakhartchouk
5121da171e Changing blur passes to use new shader structure.
Change-Id: I8590cc7bfb0ae5b5b55a574852c4c86c3a914ce0
2012-01-25 14:34:54 -08:00
Alex Sakhartchouk
3c5ebd1e8d Refactoring out some params code.
Change-Id: Ie4268faeefd6858057c242bea98aceb3800cef75
2012-01-20 15:02:00 -08:00
Alex Sakhartchouk
4fd35d8f49 Many optimizations of rendering path.
Adding ability to split up per shader and per object updates.
Added cubemaps as scenegraph objects.

Change-Id: I7877658c35ad1407444e1e092c7634b46d745691
2012-01-20 14:16:50 -08:00
Alex Sakhartchouk
516054bf53 Making sure that renderpass objects get properly updated.
Change-Id: Id6228230abc87a48414d6704ca89189971f935a1
2012-01-18 14:53:34 -08:00
Alex Sakhartchouk
ce047cb47b Fixing blur passes. Refactoring.
Change-Id: Ie511e7738e2cf259231f48250421b5e340d38565
2012-01-17 17:35:31 -08:00
Alex Sakhartchouk
61440e8a8b Finishing light linking.
Change-Id: I5d76115410bf0b9a7ea882e57242a0b0bba6ddcc
2012-01-17 09:49:44 -08:00
Alex Sakhartchouk
ee1031d1a2 Moving common function to the right place.
Change-Id: I18cc985ae023aa727f49c2815e5009d43e2acb4b
2012-01-12 13:52:08 -08:00
Alex Sakhartchouk
e57b341552 Cleanup and refactoring.
Change-Id: I663981416a2f12c627b562eb998255526445235e
2012-01-11 17:26:18 -08:00
Alex Sakhartchouk
be5bdeb947 More general texture handling. Some cleanup.
Change-Id: Ia1b14dcb922bda62f380e419281d6e027ad86ecd
2012-01-11 16:13:02 -08:00
Alex Sakhartchouk
fdccec9c21 Now utilizing ability to bind constants.
Fixing small copy/paste typo.

Change-Id: I8ca993f3e894214b710bea019dfd65822a4cd88f
2012-01-10 14:30:34 -08:00
Alex Sakhartchouk
dd1da45115 Adding shader parameter linking.
Change-Id: Ia5f0b6b7e935102bc2d5055875faeec209ae2b41
2012-01-10 09:28:16 -08:00
Alex Sakhartchouk
61cd943514 Cleanup based on comments.
Change-Id: I2d261b3cd240b890001dcc7d2a849cfdc34328bf
2012-01-05 14:55:11 -08:00
Alex Sakhartchouk
875a538d5d Adding light script to scenegraph.
Patching up the collada parser to handle data from different converters.

Change-Id: Ibac4d3cd8e7af65b67ad3ad5023e26af075a20bb
2012-01-04 09:46:50 -08:00
Alex Sakhartchouk
f92189d2ae Refactor some common code and make detecting sdcard paths more robust.
Change-Id: I6555f6b82e94f8eee0400eddaaffc0442d5e1c41
2011-12-16 10:44:03 -08:00
Alex Sakhartchouk
f5d8ac7cc3 Element getters.
Change-Id: Ibe570464557eeecad108b4d3cb8f02fad13943de
2011-12-16 09:44:26 -08:00
Alex Sakhartchouk
b98f6d3466 Refactoring shader creation.
Change-Id: I140aeb0a6a8185441d49b3a1af8144c6a46dd419
2011-12-14 18:09:45 -08:00
Alex Sakhartchouk
18f6419bfe Adding default scene to assets.
Change-Id: Iec48cb53cd5c2902aa64dd02d23724f607f9114c
2011-12-14 17:10:04 -08:00
Alex Sakhartchouk
1168868e76 make loading assets more robust
Change-Id: I9a2b7be8e8522264f8f2de04b43dbe5ec98bc24a
2011-12-14 15:07:17 -08:00
Alex Sakhartchouk
684267525b Rename some elements to be more in line with rest of framework.
Change-Id: Icb007bafca9c76959eee2e8134b1d7c592ca885c
2011-12-13 17:02:52 -08:00
Alex Sakhartchouk
b6e9dad782 Properly detecting blending case.
Change-Id: I9963e50928f17610c509d00780714aea0cb00613
2011-12-13 15:22:34 -08:00
Alex Sakhartchouk
006ecdcf16 Refactored blur pass code out and added comments.
Change-Id: I99b0480a23c0b604d02db7d819182c35dd53e693
2011-12-12 14:52:25 -08:00
Alex Sakhartchouk
3fc86ec3d0 Renaming some classes to clarify what is what.
Change-Id: Iaee63ffd96bc269e46bc052d333ba1a5e848bd13
2011-12-09 12:38:26 -08:00
Alex Sakhartchouk
a7a211b8a6 Sample scene graph
Change-Id: I65b210b770121ac02c5857b48d2ec0d053133dd6
2011-12-08 11:39:14 -08:00