aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas/model_loaders (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Eo: Partial implementation to remove eo_dodevs/felipealmeida/eo_optimisationsFelipe Magno de Almeida2015-11-014-76/+76
|
* Evas canvas3d: Move evas 3d types to evas_types.eotOleksandr Shcherbina2015-08-044-59/+59
| | | | | | | | | | | | | | | Summary: Move evas_canvas3d types from Evas_Eo.h to evas_types.eot Change enum constatnt for vertex_arrtib, material_attrib, blend_func Correct namespace for Evas.Real type Reviewers: cedric, tasn Reviewed By: tasn Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2734
* Revert "Include <Eet.h> where needed. cf:"Nicolas Aguirre2015-08-031-1/+0
| | | | This reverts commit 877338659b4176e1a77f7b6cf37f6225cca763bc.
* Include <Eet.h> where needed. cf:Florent Revest2015-08-031-0/+1
| | | | https://github.com/openembedded/meta-oe/blob/master/meta-efl/recipes-efl/efl/efl/0002-evas_3d-Add-Eet.h-includes.patch
* evas: change interface evas_3d to evas_canvas3dOleksandr Shcherbina2015-06-174-99/+99
| | | | | | | | | | | | | | Summary: Regard to https://phab.enlightenment.org/T2479 it is need for right generation Eolian files Reviewers: cedric Subscribers: cedric, tasn Differential Revision: https://phab.enlightenment.org/D2711 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas-3d: fix incorrect reading of .obj file which had an empty line before ↵Bogdan Devichev2015-02-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | data in unix encoding. Summary: For example of a bug, part of .obj file: vn 0.5536 -0.7200 -0.4185\n vn -0.5536 -0.7200 -0.4185\n \# 239 vertex normals\n \n vt 0.4998 0.2618 0.0000\n(lines like this were ignored) vt 0.5205 0.2550 0.0000\n vt 0.5249 0.2618 0.0000\n @fix Test Plan: Run colorpick example. Before and after this update. ("M15.obj" has fixed places.) Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2049 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas: remove compilation warning.Cedric BAIL2015-02-181-3/+3
|
* evas: Evas_3D - iport/export of Obj format can be read even if obj-file does ↵Bogdan Devichev2015-02-111-69/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* evas: the eet loader use eet_mmap that take an Eina_File instead of eet_open.Bogdan Devichev2014-12-231-1/+1
|
* evas: entry points to modules is Eina_File. Model_Common_Loader is deleted.Bogdan Devichev2014-12-234-23/+64
|
* evas: entry points to modules is new struct with Eina_file, not const char ↵Bogdan Devichev2014-12-234-190/+35
| | | | *file.
* evas: ply_loader and obj_loader work with Eina_File.Bogdan Devichev2014-12-232-63/+134
|
* evas: add lib/evas/common/evas_model_<action>.c. Functions are renamed ↵Bogdan Devichev2014-12-234-4/+4
| | | | similar to functions in image_save_load process.
* evas: replace and rename savers/loaders.Bogdan Devichev2014-12-234-4/+1379
|
* evas: dummies for model_saver_loader are created.Bogdan Devichev2014-12-234-0/+4