Giter VIP home page Giter VIP logo

Comments (6)

kaisalmen avatar kaisalmen commented on August 11, 2024 1

@geoff-harper does it make sense to add a simple react example directly in this repo? Could you contribute this? Then I could take care of the Loader stuff.
Btw, I have just finished overhauling the examples, because I wanted to be able to verify everything works when they are statically served and not only via the vite dev server.

from wwobjloader.

geoff-harper avatar geoff-harper commented on August 11, 2024 1

It all looks great, thanks again for all the work you've put in. Im looking forward to giving 5.0.0 a go

from wwobjloader.

kaisalmen avatar kaisalmen commented on August 11, 2024

@geoff-harper alignment makes sense, I agree. OBJLoader2 already extends Loader from three, but I didn't check for a while if there are alignment/type problems. This should be corrected and aligned before 5.0.0 is released.
Would you like to contribute something?

from wwobjloader.

geoff-harper avatar geoff-harper commented on August 11, 2024

If it's simply adjusting types and adding some network stuff I can take a swing and open a PR. I later noticed that I also wasn't getting an index attribute for some reason when using the useLoader hook, but it's fine if I do it more manually. I need to investigate that a bit more but I might need some direction since I'd imagine it's a more underlying issue

from wwobjloader.

geoff-harper avatar geoff-harper commented on August 11, 2024

Yeah I can do that. If it's a React example then I'll use @react-three/fiber since it's quickly become the standard wrapper for using the two together

from wwobjloader.

kaisalmen avatar kaisalmen commented on August 11, 2024

loadAsync is now working. I added it to the options example.

from wwobjloader.

Related Issues (20)

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.