- Home /
Hololens/VR scaling issue (1 unit = 1m)
I've been working on a "voxel" based application whereby someone can cut shapes into a block using virtual tools. I've been following this AlexStv tutorial, and at the default world scale I've managed to produce an application that does exactly what I want.
My issue is that I ultimately want to deploy this to a Hololens, however the blocks are all produced at a dimension of 1 x 1 x 1. This is fine if the app is being used on the desktop, but it means that through a HoloLens the world is around 200m long which is impractical and just impossible to work with.
I've messed around with the scaling a bit to bring the world down to a factor of 0.005 its generated size (meaning I can fit the block on a table for example), however this breaks the cutting. I'm still trying solutions to this but I'm not having much success.
Basically what I'm asking is if there's a sort of dirty solution I can use to make the Hololens think that the virtual world is roughly 100 times smaller than it really is. I cannot find a way to make 1 unit appear as less than 1m. I've had some success visually by messing around with convergence etc. but the movement around the block is still an issue as it's still a few hundred meters across.
I can provide more info if necessary, I'm just a bit stumped with the unit scaling.
Answer by FortisVenaliter · Aug 24, 2017 at 04:47 PM
Try putting the Hololense camera controller parented under a new empty gameobject. Then scale that GameObject up 200x or so.
Note: I haven't actually worked with Hololens before, so I don't know if it will work, but I've used the same technique for similar problems.
That's exactly it, would never have thought to try that on my own. Thanks!!