gilbertomcarrera / min3d

Automatically exported from code.google.com/p/min3d
0 stars 0 forks source link

Loading from /assets or http instead of just /res? #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, great to have this! I got code running on my Droid in a day :)

A question -- I have a lot of 3D assets. Doing them all through res does not 
scale well because of limitations in Android /res (like having to rename to 
_obj and no sub-directories). But more generally it would be much more flexible 
to be able to load weren't packaged with the app, e.g. over http or the local 
file system.

Any suggestion for how to abstract Parser for this? I think the interesting 
cases are loading from /assets (or generally file) or from http. My first 
thought was to add an abstraction for the home "directory" which is passed to 
Parser, and could provide services to create urls for child assets.

Original issue reported on code.google.com by mwk%huch...@gtempaccount.com on 14 Apr 2011 at 9:16