Volumetrics up side down
Closed this issue · 3 comments
fishkingsin commented
implemented with artoolkitplus
but the up vector does not sync together
any hints?
timscaffidi commented
Hi, I'd be interested to see your code, can you make a post on the openFrameworks forum with your code? It is hard to tell from the video why this is happening.
fishkingsin commented
source:
https://github.com/fishkingsin/ARVolumetrics
and the forum thread:
http://forum.openframeworks.cc/index.php/topic,11770
fishkingsin commented
just found that it was the fbo upside down issue
fboRender.draw(0,0,ofGetWidth(),ofGetHeight());
replace with
fboRender.draw(0,ofGetHeight(),ofGetWidth(),-ofGetHeight());
may be it works