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

Поділитися
Вставка
  • Опубліковано 3 лис 2024

КОМЕНТАРІ • 23

  • @mattclark2848
    @mattclark2848 22 години тому

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

    • @sarangborude8260
      @sarangborude8260  15 годин тому

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

  • @devantamot9259
    @devantamot9259 8 днів тому

    Really great work, keep it up!

  • @melissah.3322
    @melissah.3322 Місяць тому

    Excellent tutorial! Thanks for making this.

  • @ManjitBedi
    @ManjitBedi 2 місяці тому

    Another great tutorial

  • @mannychop
    @mannychop 2 місяці тому

    great tutorial!

  • @Nealcar30489
    @Nealcar30489 2 місяці тому

    Amazing. Keep this up!!

  • @marcesmack
    @marcesmack 6 днів тому

    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  6 днів тому +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 6 днів тому

      @@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!

  • @zeroh_chill2966
    @zeroh_chill2966 2 місяці тому +1

    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  2 місяці тому +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 2 місяці тому

      @@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?

  • @toddlask
    @toddlask 2 місяці тому

    great stuff!

  • @gunnerguan7484
    @gunnerguan7484 Місяць тому

    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  Місяць тому

      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 Місяць тому

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

  • @chrisragsdale3789
    @chrisragsdale3789 2 місяці тому +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  2 місяці тому

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

  • @waynetym
    @waynetym Місяць тому

    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  Місяць тому

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

    • @waynetym
      @waynetym Місяць тому

      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.