3D Content in iOS & visionOS apps with Spline (Xcode & SwiftUI)

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 67

  • @seanallen
    @seanallen  9 месяцев назад +9

    Check out Spline at spline.design

    • @perrygupta
      @perrygupta 8 месяцев назад +1

      i was trying using spline. i had someone made design for me on fiverr but scaletofit was not working, now i know how it will work. thank you for the video.

    • @TE_-.-
      @TE_-.- 8 месяцев назад

      When I do the key combination, spotlight comes up. but not a bar like that. 😭

    • @seanallen
      @seanallen  8 месяцев назад

      Happy to help!

  • @perrygupta
    @perrygupta 8 месяцев назад +26

    Spline if you are reading this comment, create a marketplace for 3d objects please.

  • @Krn7777w
    @Krn7777w 8 месяцев назад +8

    Thank you! I’d love to see more visionOS and 3D content from you.

    • @seanallen
      @seanallen  8 месяцев назад +3

      More on the way!

    • @Krn7777w
      @Krn7777w 8 месяцев назад +1

      @@seanallen thank you! You’re awesome!😎

  • @deepstriker
    @deepstriker 9 месяцев назад +8

    It's like you are reading my mind Sean, was interested in adding this into one of my apps soon. Appreciate the constant uploads. Cheers

    • @seanallen
      @seanallen  9 месяцев назад

      Happy to help! Give it a try. I really enjoyed playing around with it.

  • @brianclear363
    @brianclear363 9 месяцев назад +3

    yes I saw this recently and though it was good halfway house to bring 3d into 2D apps. For devs who dont have time to learn unity. The api to control the animation from Swift still needs work but they have a lot of upcoming changes so theyre investing a lot of time in iOS/visionOS etc.

    • @seanallen
      @seanallen  9 месяцев назад

      I agree, it was a lot simpler to learn than I expected (not saying I'm a pro at it, but I felt good with it after a day of tinkering). I'm a big fan and think this will be very nice for volumes and spaces in visionOS.

  • @romachamp10
    @romachamp10 8 месяцев назад +1

    Really helpful! Thanks for keeping us updated about new technologies in Apple ecosystem world!

    • @seanallen
      @seanallen  8 месяцев назад

      Happy to help!

  • @mario_luis_dev
    @mario_luis_dev 8 месяцев назад +1

    Spline is awesome indeed. Great video as always Sean!

  • @Decatilinae
    @Decatilinae 9 месяцев назад +2

    Thanks for sharing...hope to see more videos like this showing another use case with Slipe, especially with Vision OS

    • @seanallen
      @seanallen  9 месяцев назад +1

      I appreciate that feedback - I think a visionOS video would be cool too

  • @duyhuynhnguyentuan6266
    @duyhuynhnguyentuan6266 8 месяцев назад +1

    For anyone having the "Spline scene file is in an unknown format."", just create a new spline project and copy all the content to it. Create new "camera" object in the viewport if needed

  • @oldrepublikan
    @oldrepublikan 9 месяцев назад +4

    Thank you Sean.

  • @mahmudcikrik9796
    @mahmudcikrik9796 8 месяцев назад +1

    Hi Sean, thanks for the tutorial. 3D objects look very cool. I'm thinking of using it in my app, but I have doubts about performance. Does it affect battery consumption much? Or maybe there are other problems that we didn't anticipate?

    • @seanallen
      @seanallen  8 месяцев назад

      I'm not sure about battery performance, but Spline uses the latest metal renderers for optimal performance. Sure, no 3D content would be more performant than having 3D content, but if you're gonna have it, Spline seems very well optimized.
      Maybe @splinetool can chime in.

  • @bryceellis112
    @bryceellis112 8 месяцев назад +1

    Wow so cool. I’ll have to check Spline out
    I do wonder how this would work in a watchOS app - just out of curiosity mostly

    • @seanallen
      @seanallen  8 месяцев назад +1

      I don't believe watchOS is supported at this time.

  • @DonnyWalsdev
    @DonnyWalsdev 8 месяцев назад +1

    Definitely going to have to give this a go!
    😍

    • @seanallen
      @seanallen  8 месяцев назад

      Would love to hear what you think, Donny

  • @w0mblemania
    @w0mblemania 8 месяцев назад +1

    Very interesting, Sean.
    A couple of questions:
    - I noticed you resized the asset in the editor, rather than dynamically resize it in SwiftUI. That doesn' seem like it's going to scale across different devices. Is it possible to do the scene scaling, to fit the SwiftUI scene, in SwiftUI?
    - do we get callbacks for when the scene is loaded? So we can do nice transitions when the scene appears, instead of just plonking it onscreen after it's loaded.
    Cheers.

    • @splinetool
      @splinetool 8 месяцев назад +1

      Hi! Auto-zoom support for orthographic cameras is coming very soon. This already works with perspective cameras (the video is using orthographic camera).
      Callbacks for when the scene is loaded will also be supported soon 🙌

    • @seanallen
      @seanallen  8 месяцев назад

      Good to know!

  • @RyuuzakiJulio
    @RyuuzakiJulio 6 месяцев назад

    Looks beautiful but, how about without a 3rd party plugin?

  • @themediaphilechannel
    @themediaphilechannel 9 месяцев назад +2

    Thank you so much for sharing this!!

    • @seanallen
      @seanallen  9 месяцев назад +1

      Glad you liked it!

  • @houdini9067
    @houdini9067 Месяц назад

    Great video as always! However, does anybody know how to get rid of this frame selection that happens at 8:41. I positioned my model correctly and know i want to leave this framing view and the programm just won't let me.

  • @JasonMitchellAZ
    @JasonMitchellAZ 9 месяцев назад +2

    This looks cool. Thanks for the intro video!

    • @seanallen
      @seanallen  9 месяцев назад +1

      Give it a shot. It was a ton of fun to play around with and gave me a bunch of ideas.

  • @adamsmith4938
    @adamsmith4938 5 месяцев назад +1

    Uploaded spline-iOS package but still saying No such module ‘SplineRuntime’ , probably works with Apple Silicon only 7:32

  • @iknowcoati
    @iknowcoati 9 месяцев назад +1

    Amazing!!! This is a dream come true since RealityKit's Model3D and RealityView aren't supported on iOS, and Scenekit 3D models aren't supported on visionOS.
    If I understand correctly, you currently wouldn't be able to build this app on visionOS yet - but spline is working towards that feature, is that right?

    • @seanallen
      @seanallen  9 месяцев назад +1

      They are currently working on a lot of visionOS stuff. You can see some of their roadmap in the documentation on their site. But you can also export 3D stuff as a USDZ file from Spline, which you can use in visionOS.

    • @iknowcoati
      @iknowcoati 9 месяцев назад +2

      Hell yeah, thanks Sean this is incredibly helpful

    • @splinetool
      @splinetool 8 месяцев назад +2

      Hi! Actually we recently enable 3d embeds for VisionOS as well (including all content types: Windows, Volumes, and Inmersive views). The embedding approach is the same as the one for iOS. You just need to copy the embed code into your SwiftUI code for VisionOS.

    • @iknowcoati
      @iknowcoati 8 месяцев назад +1

      ​@@splinetoolNO WAY!!! My life just got so much better. I might cry a little

    • @seanallen
      @seanallen  8 месяцев назад

      @@splinetool very nice!

  • @samtr4439
    @samtr4439 9 месяцев назад +1

    Thanks, Sean.

    • @seanallen
      @seanallen  9 месяцев назад +1

      Glad you liked it

  • @Echaront
    @Echaront 8 месяцев назад +1

    Great video Sean! I did try it but my simulator and preview in Xcode keep giving me this error: "Spline scene file is in an unknown format." I tried to load my Spline scene both locally and remotely. No success.

    • @Echaront
      @Echaront 8 месяцев назад

      UPDATE: It keeps giving that error with every single scene (from the Spline online library) I try to work. I am on Xcode 15.2 and my app is targeting iOS 17.0

    • @seanallen
      @seanallen  8 месяцев назад

      I got this error and I needed to make sure I was using my newly created "camera" object (the camera we added for the animation) as the "viewport" (over on the right panel). And not the "personal camera". That fixed it for me.

    • @Echaront
      @Echaront 8 месяцев назад

      @@seanallen Thanks! I still get the error with a new camera. Creating a whole new scene and copy-paste the content solved the issue for me!

    • @devclones8937
      @devclones8937 8 месяцев назад

      this worked for me thank you!@@seanallen

  • @seregashteiman5459
    @seregashteiman5459 8 месяцев назад

    Can I have problems with the copyright holder if I upload works from the spline to my application?

  • @williambrandin1396
    @williambrandin1396 9 месяцев назад

    This is so cool, thank you!

    • @seanallen
      @seanallen  9 месяцев назад

      Glad you like it!

  • @kianavila1698
    @kianavila1698 8 месяцев назад +2

    That's great 😍

    • @seanallen
      @seanallen  8 месяцев назад

      Glad you liked it!

  • @onlydstn
    @onlydstn 8 месяцев назад +1

    When I try to recreate this, I get "Spline scene file is in an unknown format." inside of where the 3D model should be displayed. any solution for this?

    • @KalebZ_Tech
      @KalebZ_Tech 8 месяцев назад

      I am getting the same error and I haven't found a solution yet.

    • @duyhuynhnguyentuan6266
      @duyhuynhnguyentuan6266 8 месяцев назад

      me too

    • @Echaront
      @Echaront 8 месяцев назад

      @@KalebZ_Tech To resolve the issue you need to create a completely new scene and then copy and paste all the content from an existing onee. This should help in resolving the problem. However, even if it works perfectly fine in the preview, there is still a possibility that may crash on the simulator or device.

    • @seanallen
      @seanallen  8 месяцев назад

      I got this error and I needed to make sure I was using my newly created "camera" object as the "viewport" (over on the right panel). And not the "personal camera". That fixed it for me.

    • @무민-g1x
      @무민-g1x 8 месяцев назад

      @@seanallen Thanks for your up-to-date episode first, but I got same issue when I did as you said before (using newly created "camera" object) I hope anyone can help us later.

  • @TE_-.-
    @TE_-.- 8 месяцев назад

    how did you open this bar? which short cut is that? 6:01

  • @mujtabakhan1992
    @mujtabakhan1992 8 месяцев назад

    Showing me error "Spline scene file is in an unknown format."

    • @seanallen
      @seanallen  8 месяцев назад

      A few people have ran into this. I'm not sure of the issue. Maybe @splinetool can chime in?

  • @ikeybhatnagar9569
    @ikeybhatnagar9569 7 месяцев назад

    😒 *promosm*