question

Patryk avatar image
0 Likes"
Patryk asked Phil BoBo answered

VR goggles HTC VIVE COSMOS. a billboard seen twice

I recently tested the HTC VIVE COSMOS VR Goggles. Everything works only when FPS or some billboard in the model are displayed, it is seen twice. There is no such effect in the riff S goggles. Is it possible to eliminate it?

FlexSim 22.2.0
vrbilbordhtc
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Phil BoBo avatar image
0 Likes"
Phil BoBo answered

You shouldn't use billboard objects at all when designing a model for VR.

In general, you should avoid requiring the user’s eyes to make rapid and frequent adjustments in distance, such as switching focus between a distant object and nearby HUD element. Instead, consider having your interface elements as intuitive and immersive parts of the 3D world. See Oculus Rift Best Practices Guide for VR Development and Minimum Age (roadtovr.com)

If you really want something drawn in front of the user's face, position it relative to the headset in 3D space rather than trying to stick it onto the screen:

if (stick(-1, STICK_VR_STATUS)) {
       Array billboardRot = stick(-1, STICK_VR_HAND_WORLD_ROTATION);
       Array billboardPos = stick(-1, STICK_VR_HAND_OFFSET_POSITION, 0, [0,0,-2]);
       setcenter(BillboardObject, billboardPos[1], billboardPos[2], billboardPos[3]);
       setrot(BillboardObject, 90 + billboardRot[1], billboardRot[2], billboardRot[3]);
}

The FPS counter is useful for debugging your framerate during model development, but you should turn it off when actually experiencing the VR model. Because it is simply a debugging tool, it isn't particularly important how it is displayed, only that it can be seen during development.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.