Skip to content

VR Style Camera (Aframe implementation or ArrayCamera/StereoCamera from three #102

Open
@Truemedia

Description

@Truemedia

Description

I'm looking to migrate an Aframe project to tresJS to benefit from vue bindings however I'm struggling to setup the camera to work with a VR headset.

I've attempted loading the ArrayCamera and StereoGame classes built-in to threeJS and using the extend method in TresJS to be able to load them as components such as and but nothing works. I either get a blank black screen or a bluescreen with a line through it (when using the default example from the TresJS starter repo)

This is after being able to use without any issues and just swapping out the camera used. Would appreciate any ideas or info how to implement this thanks.

Suggested solution

Implement Array or StereoCamera as Tres JS native component preconfigured to work with VR.

Alternative

No response

Additional context

No response

Validations

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions