summaryrefslogtreecommitdiff
path: root/src/modules/evas/model_loaders/obj (follow)
AgeCommit message (Collapse)Author
2017-12-13efl: drop deprecated Encoding key from desktop filesRoss Vandegrift
Summary: The Encoding key is no longer required, all desktop files are assumed to be UTF-8 encoded. See details at: https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html Fix various typos and misspellings lintian, Debian's package checker, uses strings to check for common typos in compiled binaries. This change fixes the ones it identified in 1.20.6. Reviewers: cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5584 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-08-02evas model loader - restructure code to silence warningCarsten Haitzler (Rasterman)
keep our build quiet warnings-wise and change the code to be so... so we see real warnings. not a bug... just a warning.
2016-12-06all: use void if we really want to make sure we do not accept parametersStefan Schmidt
In C we need this to make clear that we really do not accept parameters. Found by the smatch source code matcher. I had run and fixed this before but it seems to creep in again over time.
2016-08-15Eo: Finish the renaming of Eo to the EFL.Tom Hacohen
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
2016-03-03Fix more wrong migration to Eo4.Tom Hacohen
The if wasn't using {} so one of the statements was out of the scope of the condition. There was some misindented code.
2016-03-03Automatic migration to Eo4.Tom Hacohen
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
2015-08-04Evas canvas3d: Move evas 3d types to evas_types.eotOleksandr Shcherbina
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
2015-06-17evas: change interface evas_3d to evas_canvas3dOleksandr Shcherbina
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>
2015-02-26evas-3d: fix incorrect reading of .obj file which had an empty line before ↵Bogdan Devichev
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>
2015-02-18evas: remove compilation warning.Cedric BAIL
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>
2014-12-23evas: entry points to modules is Eina_File. Model_Common_Loader is deleted.Bogdan Devichev
2014-12-23evas: entry points to modules is new struct with Eina_file, not const char ↵Bogdan Devichev
*file.
2014-12-23evas: ply_loader and obj_loader work with Eina_File.Bogdan Devichev
2014-12-23evas: add lib/evas/common/evas_model_<action>.c. Functions are renamed ↵Bogdan Devichev
similar to functions in image_save_load process.
2014-12-23evas: replace and rename savers/loaders.Bogdan Devichev
2014-12-23evas: dummies for model_saver_loader are created.Bogdan Devichev