Commit Graph

17 Commits

Author SHA1 Message Date
191f0944fd Handle collada libraries seperately: --disable-collada
Depends on gltf support.

Change-Id: Ief0452da3d03b0ddbca45272e5f5cd268691aeca
2014-08-07 15:42:57 +02:00
0b3a918860 Remove obsolete comment
Change-Id: I0cc592b245871187dd41e85be8c86e6e7878181b
2014-07-03 16:28:20 +02:00
9ee69cbd6f glTF export: Use plural folder names
Change-Id: If17628395ede512c00b666efc5511d9711edfb5a
2014-06-16 12:58:52 +02:00
3d300f1e86 kmz2gltf: Use LO's ZipFileAccess to unzip kmz
Instead of this hacky collada2gltf patch.

Change-Id: I9f15c4ee1c9ea1a1a64116691b12b696c1d63ac5
2014-06-13 00:23:42 +02:00
573ced4087 Extract kmz and collada converter code to a seperate function
Plus fix some problems related to temp files.
e.g. kmz converter was creating temp files next
to the input file.

Change-Id: Ib3f367fe1c4ef3cb25f5ca1c3d06b2dde78c5e45
2014-06-13 00:20:36 +02:00
b40ca0935d glTF: download *.dae and *.kmz files to the temp folder before conversion
Copy them to the same folder where the conversion output is written.

Change-Id: I38b93bf3fc427974cff7d6975151451a253b1cce
2014-05-22 19:41:01 +02:00
1dd84fc467 collada2gltf: fix URL problems
collada2gltf does not handle Windows pathes, the used COLLADABU::URI
class can't parse native Windows pathes so call COLLADA2GLTFWriter
with URL only.
Other problems:
collada2gltf uses the URL path for creating/opening files,
instead of native ones.
collada2gltf initializes _outputFilePath member in different way,
sometimes as an URL path, sometimes as a native one, but handle it
on the same way(as an URL).

Change-Id: I104182653c07e7dcf6fc5b6e32c7031d59246b84
2014-05-22 16:15:41 +02:00
663c6800ca collada2gltf: Ignore case of the extension.
Change-Id: If7f39a1a0537c561373137e6a9dcdb22b48037f0
2014-05-21 10:36:55 +02:00
d1711bb430 glTF embedding: handle missing image on a better way
Using empty tree leads to empty image url which
cause problem.

Change-Id: If815ce588fb303905035185404ede93fa424fcba
2014-05-21 15:25:08 +02:00
04232e0171 collada2gltf: output bundle path needs to be in url format
Otherwise it does not work on Windows.

It's strange though that input path has to be converted from url to
native path format. At least that was my observation.

Change-Id: Ia8d9e9719d927cab2ae4d928eb8066cab4588281
2014-05-20 02:49:37 +02:00
9ccef311aa Do not throw if there is no "images" child in json file tree.
Change-Id: I0b47ed00fecad84859ba3f1751407696878203fb
2014-05-19 09:30:14 +02:00
436f2aa820 Add kmz support to collada2gltf and use it.
Change-Id: I37cda0e326af00ef369c4415bcec1e03c91ce401
2014-05-14 21:27:17 +02:00
0bd49edc1f Use collada2gltf to open .dae files and convert them to .json.
Change-Id: Idb70da1db2516eeb6d518b39eb732a7e7d0a14ab
2014-05-13 16:34:49 +02:00
01d3044d30 More warnings related to glTF rendering
Use avmedia.opengl to be more explicit.

Change-Id: I07878c3648de2e4786bf8a5144ef0c1fbb5530f1
2014-05-13 00:09:10 +02:00
1736e5d91c Slideshow: display OpenGL window also during slideshow
Use vcl based player window initialization.

Change-Id: If5c2198fa891e1d3ad218c8b7e1495161c0d6c25
2014-04-28 17:26:35 +02:00
870ce1188e gltf: Trying to re-create the temp path fails on Windows.
Change-Id: I30a5e1f5d09458beeb06479337b83f8479d861b5
2014-04-22 01:17:11 +02:00
edb4c11b07 glTF 3D model embedding: Embed all external resources of *.json file
Store them under /Model/<json_file_name_without_extension>/
modeltools: functions for handling 3D models inside avmedia

Change-Id: Ia2bdad6064db372e1c946b6ab02c434545d1ed45
2014-04-02 12:15:49 +02:00