Giter Club home page Giter Club logo

unity-remote-obj-loader's People

Contributors

cmdr2 avatar hammmm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

unity-remote-obj-loader's Issues

android path

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.

Asynchronous Importer and run-time Loader for Unity

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:

  • load models in an asynchronous way (without "freezing" the scene during loading)
  • load more models concurrently
  • show the loading progress on a UI
  • import the loaded models as assets into Unity projects
  • prepare the loader to be extended with different file formats

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:

  • bump map
    • bump map is converted into a normal map
    • computation of normal maps and tangents
  • specular map
    • specular map is converted to glossness map (metallic texture)
  • reflection map
    • reflection map is replaced with the ambient reflection
      (skybox or reflection probes, if available)
  • opacity map
    • diffuse and opacity maps are blended together in the albedo texture
  • flag to use an Unlit shader for materials with the lighting rendered to the diffuse texture
    Some options are available for vertices pre-scaling and vertical axis conversion.

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.

image

Issue with loaded model

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.

WebGl EXPORT

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.