-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Depth image for translucent objects #13
Comments
In UE4, if you use a 'Translucent' type material on a 3d model, it will skip the depth of that model and only store the depth of the pixel behind it. |
Thank you very much. I will try that workaround. |
I am still trying to take depth image of transparent object. And i heard there is one more workaround which duplicates the mesh with an opaque material currently. You can set that copy to not render in main pass and to render only in custom depth. But it seems SceneCapturer only captures objects that are rendered in main pass. If SceneCapture can capture depth image from CustomDepth pass, i think this workaround will work much better than one mentioned above. Does anyone know about anything about this? |
I do know about this. It was a bit complicated so I wanted to implement it as a new feature to make controlling which transparent object should be captured in the depth map. There is a bug in the code so you need to change the code first:
After you changed the code, go to the map: The depth feature extractor should be able to capture the depth from the DupActor and the DupActor won't appear on the RGB image. Again, as you can see, the whole process is quite manual and need to be repeated to all the objects. I have plan to make it more automated but we need more time to implement and test it. |
Thank you for walk-through. Manual work won't be problem. As I was following the steps, i wasn't able to add the DupActor to the array. I selected it is still displaying None. And i tried other actors such as SceneManager_BP or SceneCapturer_AllFeatureExtractors, they were okay. Is there any reason I can't add DR_AnnotatedActor_BP to the array? |
I was able to do it on SceneCapturer_Simple, not on SceneCapturer_AllFeatureExtractors. |
The reason you can't add some of the actors is because they belong to different sub-level. https://docs.unrealengine.com/en-US/Engine/Levels/LevelsWindow/index.html |
Hi there, I am trying to create dataset with translucent object but had no luck. In class segmentation case, I was able to bring translucent objects in image thanks to this step.
Question is what do i have to do in order to capture depth image of translucent objects in NDDS?
Here are my results so far. (Cup)
The text was updated successfully, but these errors were encountered: