home.social

#matcap — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #matcap, aggregated by home.social.

  1. Several cross products and a few dot products later, I have what appears to be a proper camera space coordinates setup for rendering #matcap textures. If the stakes are about as low as the computing power, I might still use the magic number approach for realtime implementations for reduced calculation load. 😅

    Blender file can be downloaded here: github.com/jeinselen/Blender-N

  2. Technical art support question! How do you calculate #matcap mapping?

    I used a cross product of the surface normal and view vector on a Unity project a few years ago, and it works in #Blender…but the perspective distortion ends up cropping some of the edges. I hacked together a slightly improved version that uses magic numbers and the Z component, but that can't be correct. 😅

    Attached images: matcap source, #blender3d material nodes setup (with hacky fix selected), and render.

  3. RT Ksenia Kondrashova
    #genuary16 as an excuse to publish this one
    Cheap way to turn @threejs primitive to disco ball
    - instanced planes w/ matcap material
    - positions & normals taken from original geometry merged vertices
    Hosted on @CodePen
    #genuary #threejs #matcap #codepen
    codepen.io/ksenia-k/pen/ZEjJxW

    :sys_twitter: twitter.com/uuuuuulala/status/