Ep. 012 // Asynchronously Load a 3D Model Using RealityKit and Combine

Поділитися
Вставка
  • Опубліковано 4 лют 2021
  • ** Access Source Code on Patreon: / 60611407 **
    Welcome to our RealityKit + SwiftUI Course! In this course, you’ll learn how to build an AR furniture app for iPhone and iPad.
    In this video, we’ll go over how to asynchronously load a 3D model using Apple’s RealityKit and Combine framework.
    This video is part of the RealityKit + SwiftUI Course playlist: • RealityKit + SwiftUI C...
    ***
    Links
    loadModelAsync: developer.apple.com/documenta...
    LoadRequest: developer.apple.com/documenta...
    Publisher: developer.apple.com/documenta...
    Connect a Publisher to a Subscriber: developer.apple.com/documenta...
    --LEGAL DISCLAIMER--
    This course and all corresponding materials (e.g. source code) are provided on an “AS IS” basis, without warranty of any kind, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement.
    #RealityKit, #ARKit, #SwiftUI

КОМЕНТАРІ • 17

  • @luisalejandroseguraburgos8487
    @luisalejandroseguraburgos8487 3 роки тому +1

    Hello Ryan!, this course is really good and helpful, just wondering when are planning to upload the rest of the videos, regards.

  • @MSHOCKER2
    @MSHOCKER2 3 роки тому

    Main thread is where all UI is happening. You don't want the UI to not be as responsive and reactive. Put sync methods on a background thread until they complete. Great video series.

    • @realityschool
      @realityschool  3 роки тому

      That is exactly right, Marc! Thanks for watching. I’m currently working on more videos so more topics coming very soon 👍🏼
      Best,
      Ryan

  • @fragae4683
    @fragae4683 3 роки тому +1

    Benefited a lot, thank you for sharing.

  • @raghuvallikkat3384
    @raghuvallikkat3384 3 роки тому

    very nice. I learned a lot from your videos .Will you be able to cover, how do we capture a 3D mesh with LiDAR camera and save as an .obj file also?

  • @athikhun576
    @athikhun576 2 роки тому

    If I must say this course is one of the best channels on UA-cam. Will you also teach how to add different lightings such as pointLight spotLight?

    • @realityschool
      @realityschool  2 роки тому +1

      Thank you! I’m preparing for another season of content so def added lighting to the list of topics.
      Best,
      Ryan

    • @athikhun576
      @athikhun576 2 роки тому

      @@realityschool Thank you for your reply! I look forward to watching the new season.

  • @strckture5981
    @strckture5981 3 роки тому

    Hi,
    this course is really great. Thanks for sharing all of it! :)
    I'm new to AR Apps - Can somebody maybe explain to me what I need to change when I'm loading .reality files instead of .usdz?

    • @realityschool
      @realityschool  3 роки тому +1

      You can load a reality file using Entity.load(named:) or Entity.loadAsync(named:). loadModel or loadModelAsync only work on USDZ files. You can read more about loading files here: developer.apple.com/documentation/realitykit/entity/stored_entities/loading_entities_from_a_file
      If you are creating your AR assets in Reality Composer, you can also export them to USDZ instead of Reality.
      Hope that helps!

    • @strckture5981
      @strckture5981 3 роки тому

      @@realityschool Thanks that helps a lot!

  • @NotoriousGarage
    @NotoriousGarage 3 роки тому

    I am working on a location based ar using project dent package and I was combining UIKit with swiftui but I ponder can I pull the project with swiftui only ?

    • @realityschool
      @realityschool  3 роки тому

      I believe so but I’m not sure if it’s worth a rewrite.
      Since last year, all my AR projects have been SwiftUI. From time to time I do use UIKit concepts for features that are not yet available in SwiftUI. For example, when working with gestures or some delegates.
      Hope that helps!
      Best,
      Ryan

  • @disclosure4603
    @disclosure4603 3 роки тому +1

    when are you releasing your next video? im impatient to continue 😅

    • @realityschool
      @realityschool  3 роки тому +1

      The next video will be up next week! As we are nearing completion, the videos are more complex and take about 1-2 weeks to make. Rest assured content is in the making!! 🙌🏼
      Best,
      Ryan

    • @disclosure4603
      @disclosure4603 3 роки тому

      @@realityschool good good 😎 🙏