You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all let me thank you for your wonderfull work. I needed some engine to generate 2D shots of 3D scene in offscreen mode. This is being done for pupose to generate some synthetic images for CNN training. Your render passes for this purpose perfect. But there is one question: how to get the rendering is complete before to do a capture ?
For example if to modify code of OffscreenEngineDelegate.cpp for a single image capture with delay like as follows:
the program will capture what is on screen in 20 msec (auto captureDelay = 20;). And on my PC 20 msec is enough to get the image, if this value is less than 20 msec I get image with background only. With more slower hardware such delay has to be bigger as I checked.
This situation rises a question when one may do the capture ? or, in other words, how to get if the rendering is completed ?
The text was updated successfully, but these errors were encountered:
Hey @sprokuda, thanks for your issue. Unfortunately, Qt3D doesn't offer this functionality :/ It's what's been bugging me for quite some time, too. Qt3D handles taking screen shots internally and claims in the docs that the render capture node will be executed where it is located (e.g. when you put in a framegraph branch before a branch drawing objects it's supposed to capture the rendering before the objects are drawn). But unfortunately, this is not the case and I've made the same experience as you: You sometimes need two to three capture requests until the full image is rendered. The only thing I can think of is to add a delay that is long enough (maybe like 0.5 sec) since usually time is not of the essence when taking screenshots and everyone can live with 0.5s delay.
Anyways, nice to hear that you are doing machine learning :) Have you checked out my tool called 6D-PAT? It's for annotating 3D models with 3D translation + rotation on 2D images. I thought I'd mention this, maybe it comes in handy at some point.
First of all let me thank you for your wonderfull work. I needed some engine to generate 2D shots of 3D scene in offscreen mode. This is being done for pupose to generate some synthetic images for CNN training. Your render passes for this purpose perfect. But there is one question: how to get the rendering is complete before to do a capture ?
For example if to modify code of OffscreenEngineDelegate.cpp for a single image capture with delay like as follows:
the program will capture what is on screen in 20 msec (auto captureDelay = 20;). And on my PC 20 msec is enough to get the image, if this value is less than 20 msec I get image with background only. With more slower hardware such delay has to be bigger as I checked.
This situation rises a question when one may do the capture ? or, in other words, how to get if the rendering is completed ?
The text was updated successfully, but these errors were encountered: