summaryrefslogtreecommitdiff
path: root/src/examples (follow)
AgeCommit message (Collapse)Author
2015-03-18evas: Evas_3d proxy example uses cube primitives.Bogdan Devichev
Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2172 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18evas: pick example uses sphere primitives.Bogdan Devichev
Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2169 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18evas: frustum example uses sphere and cube primitives.Bogdan Devichev
Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2167 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18evas: Evas_3D - add alpha testing.Dmytro Dadyka
Reviewers: Hermet, cedric Reviewed By: cedric Subscribers: Ievgen, cedric Differential Revision: https://phab.enlightenment.org/D2046
2015-03-18evas: cube-rotate example uses cube primitives.Bogdan Devichev
Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2165 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18evas: cube2 example uses cube primitives.Bogdan Devichev
Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2164 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18evas: aabb example uses cube primitives.Bogdan Devichev
Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2161 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18evas: refactor colorpick examples.Bogdan Devichev
Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2152 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18evas: fix shadows examples to see normalized primitives.Bogdan Devichev
Reviewers: cedric, Hermet, raster View and composition will be restored after refactoring of all primitives. Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2151 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18evas: fix parallax-occlusion example camera to save view of example with ↵Bogdan Devichev
normalized cube. Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2150 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18evas: build Evas_3D examples with helper.Cedric BAIL
2015-03-18evas: Evas_3D primitives: square, sphere and cube are normalized.Bogdan Devichev
Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2149 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18evas: shooter resources is recycled and added in right way.Bogdan Devichev
Summary: - little symbols in pathes - new standard pathes for assets for big examples - deleted the largest resources - size of shooter folder less than 4 Mb now Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2131
2015-03-18evas: add evas-common.h to dist and move resources of parallax-occlusion to ↵Bogdan Devichev
comon directory. Reviewers: Hermet, raster, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2044 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-17emile: build examples after adding emile.Cedric BAIL
2015-03-16Fix a previous commit: remove binary files and garbage in src/Jean-Philippe Andre
When rebasing the commits, I have been lazy and did a git add src/ that actually added the files that were not ignored. My bad, sorry about that. The original patch was fine. Thanks sung.
2015-03-16Evas GL: change function naming and small bug fixesDongyeon Kim
Summary: Remove gles1 prefixes for functions that are also used by gles3. Refactor evgl_make_current a little bit. Destroy indirect context properly. Some log message changes and typo fixes. Test Plan: Local tests on desktop PC Reviewers: jpeg Subscribers: mythri, mer.kim, wonsik, cedric Differential Revision: https://phab.enlightenment.org/D2104
2015-03-11examples/evas: Remove no longer existing resources from distStefan Schmidt
These have been removed recently but forgotten in the distribution of automake.
2015-03-09Evas GL example: Fix usage of the config structJean-Philippe Andre
Also use depth24 as it's more commonly supported than 32 bits.
2015-03-06examples: fix bad unref's in ecore and evas.Avi Levin
Summary: recived Error that object already deleted in the following files: In evas-object-manipulation-eo.c: d.clipper and d.bg where created with eo_add ( 1 ref ) but where unrefd twice: once explicity and once when d.ee were deleted. In ecore_indler_example: ctxt->idler were again explicity unrefd and again unrefd by ecore_shutdown. @fix Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2093 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-06evas: recycling of resources (deleted mine and eagle) in Evas_3D examples.Bogdan Devichev
Summary: Unneccessary resources are deleted. In example of frustum used sweet_home. In example of colorpick used sphere primitive. Possibility to set precision of spheres deletes need in high quality mesh. For spheres used textures of wood and rock, so for good work of colorpick https://phab.enlightenment.org/D2044 should be merged firstly. Reviewers: cedric, raster, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2081 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-06evas: materials in .mtl format are deletedBogdan Devichev
Summary: Materials are not used in any loader and will not be used in nearest future. Reviewers: cedric, raster, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2080 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-04evas/examples: Resolved warning in evas-3d examplekabeer khan
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: cedric, Hermet Reviewed By: Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2088
2015-03-03evas-3d: recycling of resources for .ply import/export exampleBogdan Devichev
Summary: Smaller resources for .ply example. Test Plan: run evas-3d-ply.c Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2069
2015-03-03evas-3d: recycling of resources for mmap exampleBogdan Devichev
Summary: Models for mmap example are more than tan times smaller. Test Plan: run evas-3d-mmap-set.c Reviewers: cedric, raster, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2073
2015-03-03evas-3d: deleted some unneccesary resources and moon-space exampleBogdan Devichev
Summary: This example is deprecated. We have another (pick) to show functionality of it. Test Plan: Need merged D2044 to run pick example. Reviewers: cedric, raster, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2074
2015-02-26evas: Evas_3D - add terrain mesh.Dmytro Dadyka
Reviewers: Hermet, Oleksander, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2042 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-26evas: Evas_3D - fix coding styleDmytro Dadyka
Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2050 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-25build: Unify use of $(MKDIR_P) for creating a dir within the build systemStefan Schmidt
While we used different variation of mkdir -p all over we also had spots where we did not use the option. This is one step in trying to make our build system ready for parallel install. Using something like -j 10 even for the install should help to speed up our jenkins jobs as well as distcheck.
2015-02-23evas: textures are standardized 256*256.Bogdan Devichev
Summary: Textures for evas-3d are standardized 256*256. .tga for parallax occlusion aren't changed to save alpha channel. -50Mb for efl without obvious lost of quality Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2032 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-23eo: fix examples to follow new eo_do syntax.Cedric BAIL
2015-02-23evas: refactoring evas examples descriptions.Bogdan Devichev
Summary: Descriptions of evas examples are standardized. Added missing descriptions to examples. Deleted copy of description in evas-init-shutdown.c. Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2031 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-23gitignore: don't track generated example.Cedric BAIL
2015-02-23evas: build evas_3d_parallax_occlusion.Cedric BAIL
2015-02-23evas: some fixes to evas examples.Bogdan Devichev
Summary: Fixed : errors (connected with eo and new resources path) in evas-object-manipulation-eo.c Fixed : warning: format not a string literal and no format arguments [-Wformat-security] FIxed : unused variables in evas-images3.c are deleted Reviewers: raster, Hermet, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2025 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-23edje: updated .gitignore to ignore edje-edit-part-box example.kabeer khan
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2030 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-23evas: Evas_3D - add parallax occlusion shading.Dmytro Dadyka
Reviewers: Hermet, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2018
2015-02-20evas: resources for evas-2d examples are added to resource folder.Bogdan Devichev
Summary: Process of loading is standard now. TODOs which are added here will be done in one of the next commits soon. Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2013 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-20evas: Evas_3D - add common code for primitive shape.Dmytro Dadyka
Reviewers: Hermet, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2012 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-20evas: Evas_3D - add creation of folder for saving and usage of ↵Bogdan Devichev
PACKAGE_DATA_DIR to every example of Evas_3D. Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2003 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-18evas: Evas_3D - Makefile updated for resources ordering in evas examples.Bogdan Devichev
Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1989 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-18evas: Evas_3D - regularize resource for 3D examples.Bogdan Devichev
Summary: This commit makes folder of examples for evas more ordered. Reviewers: raster, Hermet, cedric Subscribers: artem.popov, cedric Differential Revision: https://phab.enlightenment.org/D1985 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-18evas: remove compilation warning.Cedric BAIL
2015-02-18evas: Evas_3D - improve Shooter example.perepelits.m
Summary: This example includes some previous developments to create 3d-world mechanics. Reviewers: cedric, raster, Hermet Subscribers: cedric, artem.popov Differential Revision: https://phab.enlightenment.org/D1991 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-18evas: Evas_3D - callbacks for Evas 3D.Oleksandr Shcherbina
Summary: Add class and type Evas_3D_Callback like wrapper under smart object Incapsulate Evas_3D_Callback in Evas_3D_Object Add virtual function register and unregister in Evas_3D_Object Add function evas_3d_callback_call Add callbacks clicked and collision for Evas_3D_Node @feature Reviewers: raster, Hermet, cedric Reviewed By: cedric Subscribers: artem.popov, cedric Differential Revision: https://phab.enlightenment.org/D1914 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-16evas: updated .gitignore to not track evas_3d_colorpick example.kabeer khan
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: cedric, Oleksander Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1968 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-16edje: Edje_Edit - add examples for it's API using for BOX part and itemsVitalii Vorobiov
Summary: Some little example about how and when edje_edit functions can be applied. In this example there is a box part with items in edj, and by using edje_edit program actually changes edj file directly. (adding items, changing layouts of box, changing params of items, etc). It is pushed as a reference for people who would like to do there own Edje editor. Normal application should not use that API. Reviewers: Hermet, raster, seoz, cedric Reviewed By: cedric Subscribers: cedric, reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D1969 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-13edje, eeze: compiler portability (use full ternary operator)Daniel Kolesa
2015-02-11evas: Evas_3D - iport/export of Obj format can be read even if obj-file does ↵Bogdan Devichev
not have normals or tex-coords. Summary: This commit fixed several bugs, and show what was be fixed. Bugs: - When designer save obj file in Blender, he/she can set flags (fig 1). Normals and UV coords flags was necessary for obj loader. Loader crushed when they are not set as true. It fixed by this commit. - Another loaders set default values to data which aren't in loading file, so mesh need more memory for unused data. It fixed by this commit for obj and will be fixed for another formats in future. - Saver saved incorrect data if normals or tex_coords was not set in mesh in evas. Now it fixed. - Saver failed if it save mesh without material. It fixed and in this case material file is not created now. - Also fixed some leaks and undefined behavior which valgrind shows. Example: - Example shows cases described above. Example use files saved with different flags for it. Resources: - man_mesh is replaced by several smaller file, to use them for showing new features and fixes. For example, similar to that models can be added when implement work with material for obj, work with different flags for obj loader/saver etc. (big count of man_meshes is to much memory). - texture for home is flipped, because of bug with texture in efl to see if tex_coords is incorrect. Test: - test should be rewritten in future, because another formats still use default values for normals and tex_coords. And test can not pass for all types of obj file because of standardization for any format in him. Test Plan: Test suit will be rewritten after correcting of other formats (they will set NULL to file when save an empty data (like mesh without normals)) Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1957 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-11evas: example for Evas_3D color pickOleksandr Shcherbina
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>