Skip to content

Integrating Meta-All-in-One SDK #36

Open

Description

@varnit-mittal

Hi,

Could you please help me with integrating Meta-All-in-One SDK head tracker with this project. I want to calibrate the scene with my head and eyes and then I am planning to collect data in order to calculate the cognitive load using some sample surveys.

Activity

  1. TLabAltoh commented on Apr 1, 2025

    @TLabAltoh
    Owner

    Hi @varnit-mittal, thanks for the question (and sorry for the late reply). If possible, could you please share a bit more about what you want to do or any problems you might be facing ?

  2. varnit-mittal commented on Apr 1, 2025

    @varnit-mittal
    Author

    Hi @TLabAltoh, thanks for the reply, i want to integrate head trakcer so that the web-view can rotate in the direction of my head and I also want to integrate eye tracking to calculate fixation points. Right now, i am using hand tracking scene in your project.

    I would really appreciate it if you could help me out with this.

  3. TLabAltoh commented on Apr 2, 2025

    @TLabAltoh
    Owner

    Thanks for detailed info. I'm using Quest 2 and it doesn't support eye tracking so maybe I couldn't be helpful about eye tracking (As far as I know, eye tracking is only supported on the Quest Pro. Maybe you use it?). But about rotate WebView towards HMD (Head Mount Display), it could be implemented with this API.

    //
    // Note that this code was written as a sample and has not been verified for actual operation. For reference only.
    //
    
    public Transform head;   // HMD's transform
    public Transform panel;  // WebView prefab's transform
    
    void RotatePanelTowardHead() {
        // This code just rotates WebView prefab to HDM
        panel.rotation = Quaternion.LookRotation((head.position-panel.position).normalized, Vector3.up);
    }
    
    void Update() {
        // 
        RotatePanelTowardHead();
    }

    This is a very simple API, but you'll need to write your own C# script to customise the project for your use case, as this example repository doesn't cover the situation as you intended.

    Also, maybe I haven't fully understood what you want to implement with eye tracking (maybe you want to float the WebView in front of the eye or head?). If you need more support or advice, I would appreciate a diagram (or image) of what you want to implement.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions