Coder Social home page Coder Social logo

Comments (4)

MeineZ avatar MeineZ commented on June 14, 2024 1

The wireframe is closer to match the correct wireframe, but the fix is a hack right now. It is 'fixed' by multiplying the depth value by 0.5, the closer it gets to a depth value of 0. So, when the depth value is 0.0 it's multiplied by 0.5 and the closer it gets to 1.0 to less the 0.5 factor is applied to it.

float depthScalar = 1.0 - (depth.r * ((1.0 - depth.r) * 0.5));

The Maya viewport next to the 'fixed' Wisp viewport
The Maya viewport next to the 'fixed' Wisp viewport

Zoomed in on tiny errors that are still there
Zoomed in on tiny errors that are still there

Zoomed in on tiny errors that are still there
Zoomed in on tiny errors that are still there

from wispformaya.

MeineZ avatar MeineZ commented on June 14, 2024

The wireframe aligns the models correctly now. The small error is still there, but the outline is correctly surrounding the model now.

See PR #53

Screenshot from Gyazo

from wispformaya.

MeineZ avatar MeineZ commented on June 14, 2024

I noticed that this formula actually shouldn't even work, if you think about it.. The current formula results in the following plot.

Screenshot from Gyazo

from wispformaya.

VZout avatar VZout commented on June 14, 2024

https://i.imgur.com/Ax06oAg.png

from wispformaya.

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.