Showcase your 3D model in the web using three.js, react three fiber, react three drei and gltfjsx!

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ย. 2024

ความคิดเห็น • 41

  • @Ibrahim-oc5ql
    @Ibrahim-oc5ql ปีที่แล้ว +2

    Straight gold! This educational content will surely push more 3D on the web

    • @threeveloper
      @threeveloper  ปีที่แล้ว

      Thanks Ibrahim, that's my goal! Glad you enjoy it 🔥

  • @tariqal-malki8401
    @tariqal-malki8401 2 ปีที่แล้ว +4

    Keep up the good work, one day you will be big, I hope the best for ya!

  • @rccowboys
    @rccowboys 2 ปีที่แล้ว +1

    AMAZING! I was looking for this exact video. Short, descriptive and to the point! Thanks! Liked & Subbed!

    • @threeveloper
      @threeveloper  2 ปีที่แล้ว +1

      Great to hear that, thanks! 🙏 More coming soon

    • @threeveloper
      @threeveloper  2 ปีที่แล้ว +1

      Hey and if I may ask, how did you find my channel? Just out of curiosity! 😁✌️

    • @rccowboys
      @rccowboys 2 ปีที่แล้ว +1

      @@threeveloper Black magic googling... hahaha.

    • @threeveloper
      @threeveloper  2 ปีที่แล้ว

      @@rccowboys amazing, thanks! 🙏

  • @amzp_dat
    @amzp_dat ปีที่แล้ว

    Thanks for this and all other videos in your channel

  • @methem7802
    @methem7802 2 ปีที่แล้ว +1

    concise and straight to the point, I dig your content keep up the good work :-)

  • @devmadan30
    @devmadan30 2 ปีที่แล้ว +1

    amazing keep it coming more tutorials with some projects

    • @threeveloper
      @threeveloper  2 ปีที่แล้ว

      Thanks! ✌️ Projects will come after I handled the basics 🙌

  • @serychristianrenaud
    @serychristianrenaud 2 ปีที่แล้ว +3

    Thanks ❤️♥️♥️♥️

    • @threeveloper
      @threeveloper  2 ปีที่แล้ว

      Haha, enjoy! This is only the beginning 🎊

  • @frandepaulo
    @frandepaulo ปีที่แล้ว +1

    i have some problems to import model 3d in video format, any tip?

    • @threeveloper
      @threeveloper  ปีที่แล้ว

      Hi @strongert1, what do you mean with importing 3d model in video format?

  • @mesmes9424
    @mesmes9424 2 ปีที่แล้ว +1

    Great video ! Thank you. Can you please consider doing the same video but adding a custom shader with model like the kiwi ?

    • @threeveloper
      @threeveloper  2 ปีที่แล้ว

      Custom shaders will be handled yes! But maybe in a bit different format :)

  • @xThree65x
    @xThree65x 2 ปีที่แล้ว +1

    Do you know if its possible to edit materials inside glb files that have been converted by gltfjsx, I would like to use a glb file that I have used with gltfjsx but assign materials to the objects inside that glb file with materials I create and can reuse. Hopefully that makes sense.

    • @threeveloper
      @threeveloper  2 ปีที่แล้ว +1

      Definitely possible! Change your material of your generated gltfjsx code by changing the material property of a mesh (sorry for bad formatting, TH-cam comment don't support code snippets) :
      or by adding the material as a child of the mesh:
      Once you did this, use the GLTFExporter from three.js (threejs.org/docs/#examples/en/exporters/GLTFExporter) to export your new model as a .glb file. You can find a great example of this here: threejs.org/examples/misc_exporter_gltf.
      It is unfortunately not possible to update your glb file real time in the background, since you don't have access to your file system from the browser. This means that you'll have to download the updated .glb file again after every change you make in the browser.

  • @JoãoSantos-r8b
    @JoãoSantos-r8b 11 หลายเดือนก่อน

    would I be able to attach an interactive screen (made with react) to a smartphone? my goal is to allow people to simulate my app directly from the browser.

    • @threeveloper
      @threeveloper  10 หลายเดือนก่อน

      I'm not sure if I understand your use case 😅 Could you elaborate?

  • @alexoviedo999
    @alexoviedo999 2 ปีที่แล้ว +1

    Great tutorial! Is file size an issue you consider with the models? If so, can you make a video on managing model file size? Thanks!

    • @threeveloper
      @threeveloper  2 ปีที่แล้ว +1

      Yeah, file size is important, since it will reduce loading time and the differences between before and after compression can be pretty big. Great idea to make a video about it, thanks! 👍

  • @ashikrabbi4300
    @ashikrabbi4300 ปีที่แล้ว +1

    Amazing work.Could you pls tell me how can i save this file as a png?

    • @threeveloper
      @threeveloper  ปีที่แล้ว +1

      Thanks Ashik! You want to have a picture of your scene? You'd need to use a separate package for that, or you can just go into fullscreen mode with f11 and take a screenshot 😉

    • @ashikrabbi4300
      @ashikrabbi4300 ปีที่แล้ว +1

      @@threeveloper which package? I am struggling to find

    • @threeveloper
      @threeveloper  ปีที่แล้ว

      @@ashikrabbi4300 here's a link to someone asking the same question. You could try out those packages :)

    • @ashikrabbi4300
      @ashikrabbi4300 ปีที่แล้ว

      @@threeveloper where?

    • @threeveloper
      @threeveloper  ปีที่แล้ว

      @@ashikrabbi4300 whoops! stackoverflow.com/a/46243263 😄

  • @thiwankahewavitharana4203
    @thiwankahewavitharana4203 ปีที่แล้ว +1

    3d model dosnt have any textures

    • @threeveloper
      @threeveloper  ปีที่แล้ว

      That depends on which 3D model you were using. Did you copy over the textures in the directory as well?

  • @Alex-jw1np
    @Alex-jw1np ปีที่แล้ว +1

    gltfxjsx is unsupported with node v18

    • @threeveloper
      @threeveloper  ปีที่แล้ว +1

      Oh that's good to know! By now it's probably more easy to use the web version anyways since it also supports types now and some other options 😉

    • @Alex-jw1np
      @Alex-jw1np ปีที่แล้ว

      @@threeveloper yes indeed

    • @jasonduboff8432
      @jasonduboff8432 ปีที่แล้ว

      @@Alex-jw1np how would you do it now? I'm trying to get my donut in the browser T_T

    • @jasonduboff8432
      @jasonduboff8432 ปีที่แล้ว

      @@threeveloper How would you go about this now? I'm a total noob. Would greatly appreciate any help!

    • @threeveloper
      @threeveloper  ปีที่แล้ว

      @@jasonduboff8432 I'd suggest you to use this website to convert the 3D model to JSX: gltf.pmnd.rs/
      Which is a little bit easier to use than running commands in the command line and it should give the same result :)
      If you have any questions, just ask them here and I'll be happy to answer them ✌️