Possible to modify Eye Distance at runtime?

This forum is currently in read-only mode.
  • The title says it all. Is there any way to modify EyeDistance dynamically at runtime, or at least on layout change? I'm working on a multi-resolution project utilizing depth extensively and I need the variable Eye Distance to keep the FOV constant across resolutions.

    Thanks in advance.

  • There is no way to do that as far as I know, but you can set depth of the objects, which is basicly the same thing(but it probably will be a pain).

  • Sadly it looks like you'll need to create an event for each object or family manually, and have them all rely on one Global Variable as Pecek suggested

  • That's what I was affraid of. Setting depth individually won't work though - I'm using 3DObjects as well as Sprites, so they'd have to not only be placed at a correct depth, but also "skewed" (if rotated to non-right angles), to fake a constant view cone - something Construct cannot do. I've tried non-equal layer zoom valutes too, but that didn't work.

    Thanks for your help.

  • I didnt tested it so much, but looks like it's working(I hope so, python support is broken if you use 3d objects, I had to make it with events).

    dl.dropbox.com/u/2721498/2stroke/Construct/forum%20help/aspectratio.cap

    Let me know if its working for you or if you have any questions.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Yup. That was one of the first ideas I tried - I even tested it with a 3DBox as well - works fine as long as you do not alter the pitch/roll/yaw values, which I sadly need to do...

    I'll either live with the changing FOV or just render the view at the highest supported res and downscale it, though it's a huge waste of resources...

    Thank you for your help.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)