-
Notifications
You must be signed in to change notification settings - Fork 458
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
some objects seem to disappear after adding textures #1002
Comments
Hey @freLorbeer, thanks a lot of the detailed issue description. Do you have a way to reproduce this? If yes, could you run your script using debug mode and look inside the blender UI which material has been assigned to the invisible object. One reason would be that some of the materials might contain transparent parts which could then lead to the object being transparent (depending on the UV). If you set the environment variable |
@cornerfarmer Thanks for the fast response. After opening this issue I also found some textures that are way too transparent for my use case like Rust001 So this was definitively one reason and hopefully the only one. For others who don't want to look at each texture by hand: |
Hey @freLorbeer, this makes sense, maybe we should add an option to skip transparent materials. However, one thing is still not clear to me: If you dont set |
@cornerfarmer I've already wondered about this parameter.
|
Yeah, so if you set |
Ah okay, nice to know. Can I layer the textures? For example using Rust001 on top of another texture? |
Describe the issue
Hi,
i build a pipeline that renders a photo of a scene without any textures, afterwards I add textures to all objects and the room and render another set of images.
From time to time (like any 10-20 scenes maybe) it happens that an object disappears as shown in the images.
![000426](https://private-user-images.githubusercontent.com/133883061/284616907-fa53ec02-b703-463b-9b59-ebc82bcb9d0e.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MTg3MjgsIm5iZiI6MTczOTQxODQyOCwicGF0aCI6Ii8xMzM4ODMwNjEvMjg0NjE2OTA3LWZhNTNlYzAyLWI3MDMtNDYzYi05YjU5LWViYzgyYmNiOWQwZS5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QwMzQ3MDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zOGJhZDZmOWNjNjM4YjBmZTAxZWQ3ZDI5ZmUxOWVmOWJhOGE2MWI3MzEyMTk5MDNmZjBmZjdmOGM3MzQ0ZGI5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.8RpXrRfwN-qqfFvCW5znvej1TGkxJwfDKaHUoJz_sTY)
it does not happens with the same object all the time and it does not happen in every scene. So it is super hard to reproduce the error.
Is there any hidden relation between textures and object properties that can make it like invisible?
Thanks a lot.
Here is a short code snippet to show how I exactly add the textures:
Minimal code example
Files required to run the code
No response
Expected behavior
I expect that the texture of the objects i replace and that they are visible in the rendering
but sometimes some of them disappear
BlenderProc version
2.6.1
The text was updated successfully, but these errors were encountered: