cmdr2 / unity-remote-obj-loader Goto Github PK
View Code? Open in Web Editor NEWRuntime .OBJ file loader for Unity3D, optimized for loading across a network
Runtime .OBJ file loader for Unity3D, optimized for loading across a network
<< unity obj loader >> Project home: https://github.com/hammmm/unity-obj-loader This project is to achieve good-enough runtime OBJ file importing for Unity3D, based on Bartek Drozdz's OBJ library v1.2. http://www.everyday3d.com/blog/index.php/2010/05/24/loading-3d-models-runtime-unity3d/ Many thanks to the original author, Bartek Drozdz for publishing the code under MIT license. - Upgraded to work with Unity 5 Shaders, while also supporting Unity 4 users. - Supports loading from local file system (file:// prefix url) as well as remotely over WWW. - Supports PNG/JPG/TGA textures. License: MIT Notes: - please put all texture files on the same directory of . obj file. - please use use this form of URL for local files. ex) file:///Users/someone/somepath/model.obj - Bump map is not correctly working. TODO: convert hight map to normal map, make tangent data. - Arbitrary polygons is not supported yet, only triangles. See https://github.com/mtschoen/unity-obj-loader/ for quad support.
Hi ,
I tried this code and it fetched the model from server an working as expected , but i want to place the fetched model in to cache data .Now every time i need to assign the url to load the load the object from server But what i need is if model is loaded at first time , it should be stored in cache data and next time i run the application the .obj file should be loaded from the cache data instead of sever.
Regards,
S.DamodharaReddy.
Thank you for sharing your project (thanks also to the other contributors).
I'm writing here because I started a similar project (AsImpL) and I hope that someone, like you or everyone else interested in my work, will use, test and maybe improve what I have done (any contribution or feedback is welcome).
I found your project and other OBJ loaders very useful, but I decided to create my own project because I need to:
These requirements to me seemed to be enough to start a new different project, instead of applying changes one of the available OBJ loaders.
I also worked on materials importing to improve the appearance of my 3D models:
On GitHub you can find my project: AsImpL.
I tried to clearly mark contributions both in the source code and in the documentation. If you notice that something is missing please let me know and provide the needed information (authors, links, etc.), I will update my project as soon as possible.
I tried it in my android application, but it seems this URL file:///Users/someone/somepath/model.obj doesn't suit android path. Is it possible, I tried some tweaks, but I can't get it to work.
OBJ.GetMaterial()
I tried this code and work perfectly on the unity editor but when I try it on webgl doesn't work, I get the models from url, when I see the console I see that it find the obj and the mtl properly but when it start meshrender it send me this:
NullReferenceException
(Filename: currently not available on il2cpp Line: -1)
What can I do?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.