Coder Social home page Coder Social logo

Comments (4)

dnaka91 avatar dnaka91 commented on August 19, 2024

Here is a small screenshot of how that effect looks like. It is currently an outer stroke and wiggles too much, thus sometimes moving to far away from the camera source and creating gaps. Or even sometimes moving too much inside (but that's probably fixable by adjusting the strength of the noise displacement accordingly).

The goal is to avoid those gaps and make the animated frame always fully overlay the edge of the camera source without any gaps

image

from obs-stroke-glow-shadow.

FiniteSingularity avatar FiniteSingularity commented on August 19, 2024

Ahh, that makes sense. Alternatively, would it make sense to allow a single instance of the source or filter to draw both an inside and outside effect? That way it would be one solid source, that could be filtered together. (Please let me know if I'm incorrectly interpreting what you want to do)

As a workaround (until something like this is implemented) you could try the following:

  1. Create an inner glow source of your facecam.
  2. Create an outer glow source of your facecam.
  3. Put both sources in a group.
  4. Apply the noise displacement to the group.

you could also do this by putting the two glow sources in a scene, and applying the noise displace to the scene.

from obs-stroke-glow-shadow.

dnaka91 avatar dnaka91 commented on August 19, 2024

Thanks for the quick answer. I already tried doing that but the inner stroke works differently and doesn't allow me to create it without any space between the outer stroke.

  • With an offset of 0 it simply fills/covers the whole source.
  • With an offset of 1 I have some little space between outer and inner stroke. Looks nice too but not quite what I want.

This is outer + inner stroke, but due to the inner stroke only working properly with a non-zero offset, I end up with this space between the strokes:
image

from obs-stroke-glow-shadow.

FiniteSingularity avatar FiniteSingularity commented on August 19, 2024

Got it. This is a known (by me) bug that will be fixed when I update the rendering pipeline to the new version I wrote for the other three plugins (the line). Zero offset on inner stroke shouldn't be filling the entire source, so I'll look into that as well.

I'm currently working on a release for the Advanced Masks plugin, and will likely look at least at a bug-fix release for stroke-glow-shadow this week at some point, which at least should get you up and running with the currently non-working workaround. Then I'll add the option to do both inner and outer effects in a single pass for the next feature release.

from obs-stroke-glow-shadow.

Related Issues (16)

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.