cinetec_tech Posted July 13, 2016 Posted July 13, 2016 hi: I found it's difficult to turn motion blur on. motion blur works if i turn render_motion_blur_quality 0. if i turn to high quality motion blur will not show(render_motion_blur_quality 1). is there anything else i need to do? thanks
cinetec_tech Posted July 13, 2016 Author Posted July 13, 2016 also how use the video grabber to capture images with motion blur. I tried but the captured image don't have any motion blur effects
silent Posted July 14, 2016 Posted July 14, 2016 Hi Cinetec, Motion blur is working when render_motion_blur variable is set to 1. You can use render_motion_blur_quality to adjust quality of this effect. With quality set to low (0) it will be inaccurate, but more performance friendly. High quality motion blur (1) is also working as expected and provide more accurate results with larger performance hit. Also, I can't reproduce that motion blur effect is not grabbed on screenshots from Video Grabber (please, check attached images). I've increased the speed of tracker playback in samples/tracker/nodes_00 to get strong motion blur effect. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
cinetec_tech Posted July 14, 2016 Author Posted July 14, 2016 hi Silent: Which version are you using? i tried evaulate 2.2.1-2. i couldn't get any motion blur from grabber when i use render_motion_blur_quality 1. of course i turned on motion blur when i turn motion blur quality 0 i can see motion blur effect from editor but not in grabber. when i turn motion blur quality 1 , i can't see motion blur both
silent Posted July 14, 2016 Posted July 14, 2016 Hi Cinetec, I've checked 2.3-beta release. It seems that there is a bug in 2.2.1 SDK version with VideoGrabber tool. However, there is clear difference between no motion blur and high quality motion blur: Please, keep in mind that tracker playback is speed up by ten times on this screenshots. Please, sorry for the inconvenience caused. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
cinetec_tech Posted July 14, 2016 Author Posted July 14, 2016 So what changes I need to make the 2.2.1 support motion blur capture?
cinetec_tech Posted July 14, 2016 Author Posted July 14, 2016 hi slient: i checked the code. i couldn't believe you could capture motion blur effect with this code aux_viewport->setSkipFlags(skip_flags | VIEWPORT_SKIP_VELOCITY_BUFFER | VIEWPORT_SKIP_VISUALIZER)
silent Posted July 15, 2016 Posted July 15, 2016 Hi Cinetec, aux_viewport->setSkipFlags(skip_flags | VIEWPORT_SKIP_VELOCITY_BUFFER | VIEWPORT_SKIP_VISUALIZER) This code is for engine.render.renderImage2D() method. VideoGrabber is using fully functional Viewport class to render the picture. All the logic for VideoGrabber tool you can find in data\editor\editor_video_grabber.h. You can try to remove VIEWPORT_SKIP_VELOCITY_BUFFER from the code, but you will not be able to capture single frame without a warmup (because TAA will require at least 2 frames old and new in Velocity Buffer to work). Optimally is to render up to 30 frames to get good-looking anti-aliasing. If you capturing the tracker sequence you can try to increase number of warmup frames as well. We also will try to improve this feature in the future releases to provide a solution for capturing single frame with velocity buffer enabled. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts