How to make a Box of Portals in your Apple Vision Pro app using RealityKit and Reality Composer Pro

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.พ. 2025

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

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

    This was so great. I'm about to start working through all your videos. I hope your channel takes off bigtime.

  • @mattclark2848
    @mattclark2848 3 หลายเดือนก่อน +1

    I love your tutorial videos. You are like Bob Ross for programmers!

    • @sarangborude8260
      @sarangborude8260  3 หลายเดือนก่อน +1

      That is really the highest appreciation of my work! I really hope to get there one day.

  • @jokosalsa
    @jokosalsa 2 หลายเดือนก่อน +1

    love your videos - please do more of them

  • @yaserghananwi
    @yaserghananwi 2 หลายเดือนก่อน

    Nice Job , Thanks

  • @onemilktwostrawslabs2078
    @onemilktwostrawslabs2078 หลายเดือนก่อน +1

    Great tutorial Sarang - many thanks!
    One question: How would you build the portal so you can actually enter that world?

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

      Put a collider in the portal doorway or maybe little closer to you and put a collider on an entity that tracks the headset position. When the two colliders collide you can simply remove your immersive world from the entity with the world component and change its parent to root content entity if the reality view. That will do the trick

  • @melissah.3322
    @melissah.3322 4 หลายเดือนก่อน

    Excellent tutorial! Thanks for making this.

  • @devantamot9259
    @devantamot9259 3 หลายเดือนก่อน

    Really great work, keep it up!

  • @zeroh_chill2966
    @zeroh_chill2966 5 หลายเดือนก่อน +2

    This is by far the best explanation i have found on how portals and skyboxes work. 7 or 8 months after apple made their 5 minute video on how to make them. So happy I caught this! Sub’d! Would like to see what you’re talking about at the end with the volume! Lastly, is it possible to apply a light to your sky so that model3D’s are always lit? I still haven’t found a good explanation of that. Currently, my models only shine bright when they’re in actual real world light. Can’t wait to see what else you have!

    • @sarangborude8260
      @sarangborude8260  5 หลายเดือนก่อน +2

      Yes it is possible to set then environment lighting.
      After you create a world with a world component, you can do the following
      let environment = try! EnvironmentResource. load (named: "name of your light texture")
      world.components [ImageBasedLightComponent.self] = init(source: •single(environment),
      intensityExponent: 6)
      world.components[ImageBasedLightReceiverComponent.self] = •init (imageBasedLight: world)
      Hope this helps

    • @zeroh_chill2966
      @zeroh_chill2966 5 หลายเดือนก่อน

      @@sarangborude8260 Hey! I'm messing with your code from GitHub! It's so awesome and I'm learning a lot! Thank you so much for sharing it! Question, I'm playing with adding my own skybox to outside of your portal box and so far it's working great. But I want to move the skybox up so it appears the portal box is sitting on the ground. I tried moving up the positive Y axis but it made it stretch weird instead of moving the whole skybox up. Is it possible to move your skybox around or do we have to stay in the center?

  • @ManjitBedi
    @ManjitBedi 5 หลายเดือนก่อน

    Another great tutorial

  • @Nealcar30489
    @Nealcar30489 5 หลายเดือนก่อน

    Amazing. Keep this up!!

  • @mannychop
    @mannychop 5 หลายเดือนก่อน

    great tutorial!

  • @toddlask
    @toddlask 5 หลายเดือนก่อน

    great stuff!

  • @marcesmack
    @marcesmack 3 หลายเดือนก่อน

    great video Sarang! Quick question, do you think we can make an environment with the quality of the Apple environments but using reality composer pro? I'm talking about a nice place, with trees, and grass, but super high quality... let me know!

    • @sarangborude8260
      @sarangborude8260  3 หลายเดือนก่อน +1

      Yes we can! Reality Composer Pro has a template to create environments. It all depends on the mesh for the terrain and the polish and resolution of the textures. If your environment objects use PBR materials and some proper environment lighting it can take you most of the way there. One missing thing is post processing effects for doing things like the fog in lake Vrangla. There is a sample project from Apple that goes into this. Check out the Destination Video Sample.

    • @marcesmack
      @marcesmack 3 หลายเดือนก่อน

      @@sarangborude8260 thanks for your quick reply! what I'm having issues is on passing from blender or UE5 into reality composer. What software do you recommend to use for importing as USD into reality composer pro? (for PBR renders) I already saw destination video as well. I've made in UE5 and also blender but its been really hard to export them properly for reality composer pro :). thanks again!

  • @chrisragsdale3789
    @chrisragsdale3789 5 หลายเดือนก่อน +1

    Great tutorial! Just curious, where did you source the cherry blossom + maple leaf images from for the particle effects? Would you mind if I make use of them for my app?
    Also FYI, portals appear to work in any RealityView, not just immersive spaces + non-volumetric windows! I'm adding a splash page that uses a portal to a plain 2D window and it appears to work just fine 🙂

    • @sarangborude8260
      @sarangborude8260  5 หลายเดือนก่อน

      I just searched them somewhere random so i will not recommend using them.

  • @waynetym
    @waynetym 4 หลายเดือนก่อน

    Thanks for sharing. I have one question. I have tried skybox AI's 3D immersive in the browser with AVP. It seems to me that in an immersive environment, the resolution is still not high enough. Is that something you also observe?

    • @sarangborude8260
      @sarangborude8260  4 หลายเดือนก่อน

      Yes that is true. You can use an AI upscaler to increase the resolution.

    • @waynetym
      @waynetym 4 หลายเดือนก่อน

      Thanks for your reply. Is the upscaler provided by skybox after subscription or we need to find from a 3rd party? I’m mostly interested in finding how fine AI generated model could be in an immersive environment.

  • @gunnerguan7484
    @gunnerguan7484 4 หลายเดือนก่อน

    Great tutorial! and really beautiful scene. I'm trying to do a portal project. But I'm not sure how to do it: when I wear the Vision Pro to cross the Portal, I cannot enter the target world, but just cross the portal screen. Do you have any solution for that? Thank you so much

    • @sarangborude8260
      @sarangborude8260  4 หลายเดือนก่อน +1

      Here is one way to do it.
      Put a collider in the portal doorway or maybe little closer to you and put a collider on an entity that tracks the headset collision. When the two colliders collide you can simply remove your immersive world from the entity with the world component and change its parent to root content entity if the reality view. That will do the trick

    • @gunnerguan7484
      @gunnerguan7484 4 หลายเดือนก่อน

      @@sarangborude8260 Genius! I will try it! Thank you so much.