Git Product home page Git Product logo

Comments (3)

maluoi avatar maluoi commented on June 5, 2024

You can quash extra rotation to try out a Y axis only! This does tilt a small bit while you are interacting with it, which isn't ideal, but may get you pretty close to what you're looking for.

UI.WindowBegin(...
windowPose.orientation.x = 0;
windowPose.orientation.z = 0;
windowPose.orientation.Normalize();

I don't really love Y axis only rotation for Windows, but I do really like it for object placement. I have been meaning to add something like this for a while, but the quaternion quashing has worked pretty well for me so far. I'm not sure I remember seeing the tilt previously, so maybe I've made a change recently that's doing that.

from stereokit.

maluoi avatar maluoi commented on June 5, 2024

I actually would be quite interested in more specifics about what doesn't work well for the FaceUser for Windows! That's one I'd like to be basically a really good default for UI, so if I can improve it for that case, I'd love to know. Like what would you prefer to happen when the window is above or below the user's head? Would a reduced tilt suffice?

from stereokit.

paulmelis avatar paulmelis commented on June 5, 2024

I think my main problem with the window tilt is that there's no easy way to get rid of it once it's introduced.

This usually happens when developing sitting down, starting the app, then getting up and so needing to move the window up to standing height. Now there's tilt to the window and it remains that way unless I try really hard to position my head height and hand grab position to get back to a vertical window again.

Another case is during demos when successive people of different height grab the window to move it up or down. This usually introduces tilt, which might match some people's height but other's definitely won't.

from stereokit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.