Increase hologram size

Hello,

I am publishing Depthkit core captures to 8th Wall using your tutorial: Publishing Depthkit captures to 8th Wall with streaming geometry sequences

However, the captures appear quite small. Is there a way to increase the size of the hologram in 8th wall?

Thank you.

@NAL - Have you cloned one of our example 8th Wall projects? They include an input system to be able to pinch/zoom/rotate the Depthkit asset, which means the end user can determine the size and orientation of the capture.

If instead you’re looking to looking to forego the input gestures and change the initial scale of the capture, I believe you’ll have to do that in the 8th Wall JavaScript code by applying a transformation. I referenced something similar in a thread about asset rotation, but this type of 3D transformation in WebXR is outside the scope of the Depthkit workflow, and instead falls within development in 8th Wall. You may get a faster response by posting in the 8th Wall forums.

@NAL Some further information on this: The Depthkit 8th Wall examples use relative scale to size the capture appropriately for the distance it’s placed from the AR device (e.g. smaller if placed on a nearby surface like a table), but alternatively, you can reconfigure the 8th Wall project to use absolute scale instead.

@NAL Following up to see if you you were able to set the scale of your Depthkit assets in 8th Wall using absolute scale instead of relative scale. If this is still an issue, let me know - Otherwise I will close the ticket.

Hi @CoryAllen, absolute scale does not seem to work very well. I think one option that would work for my project is to use Image tracking. This would allow me to position the hologram and scale it relatively to the detected image. I found these 2 projects in 8th wall: A-Frame: Image Targets Flyer | 8th Wall | 8th Wall, and Image Target Video With Sound | 8th Wall Playground | 8th Wall, as well as a video about implementing image targets: Implementing Image Targets With Advanced Techniques (Live Learning: Session 10) (youtube.com).
Since the Depthkit hologram is not an asset (contrary to the jelly fish model and video), it is not as straightforward to make appear the hologram after image detection. I can post in the 8th wall forums, but wanted to check with you if you have any tips on how to implement this?
Thank you.

@NAL Can you describe the issue you’re having a bit more? As Cory mentioned, the 8th Wall examples we have published use relative scale, meaning that the actual scale of the object will depend a lot on what the camera is seeing. For example, if you are testing by pointing the camera on a tabletop, you’ll get a hologram that fits on top of the table. If you point the camera instead at an entire room or outside, the hologram will appear larger.

There is nothing special about how the Depthkit object works, except that it assumes that the world units are in meters. You should be able to set the scale, orientation, and position in the same way you would for any other 3D object in the scene.

As for image targets, the clip will not automatically be able to start playing unless it is muted, as this is a browser limitation. You’ll still need to use some kind of user interaction like a tap-to-place event to get it to start playing with audio.

I hope this helps, and I do encourage you to ask on the 8th wall. forums as well.