Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

ofxInkSim: ink deposition simulator

$
0
0

Hi Karen,

actually I use this addon with my ofxPSBlend to blend ink texture with background.
https://github.com/Akira-Hayasaka/ofxPSBlend

pseudocode:

psBlend.begin();
background.draw();
psBlend.end();

fbo.begin();
ofClear(0);
inkSim.draw();
fbo.end();

int blendMode = 0;
psBlend.draw(fbo.getTextureReference(), blendMode);

ofxPSBlend takes major photoshop blend mode like Overlay or Phoenix etc. Usually I bind blendMode var to keypress event, then try to find the best result.

A


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>