Comments (2)
Hey @AndreyYashkin,
thanks a lot for the issue and the PR! I currently dont fully understand the use-case of the new functionality. However, at the same time, the new feature adds quite a bit of complexity to the material setter/getter and my fear is that this might lead to non-intuitive behavior.
I do understand that you would like to change the material of objects with linked data.
So what speaks against the following workflow:
-> Every time a user sets a material via obj.set_material()
the respective material slot gets set to OBJECT
This makes sure that the material is always set only for the specific object instance.
If the user wants to set a material across multiple objects, the user needs to call obj.set_material()
inside a for obj in objs
loop. But I dont think that is much of a problem.
What do you think about this solution? In my eyes this would be beneficial as it reduces the complexity quite a bit.
from blenderproc.
Sorry for the late response.
- From my perspective warping Blender functionality does not lead to any non-intuitive behavior. In contrast, you may try the same operations inside Blender without coding and get the same result. In my PR I added only additional functionality to get actual visible material which is not obvious to get using code in one case, while inside Blender you can see it with your eyes.
-
Every time a user sets a material via obj.set_material() the respective material slot gets set to OBJECT
Well, I think that it can work too.
from blenderproc.
Related Issues (20)
- BrokenPipeError during BOP dataset generation
- Code/assets to generate the rendering of falling objects in your demo video HOT 2
- Render process break down without error. HOT 2
- ModuleNotFoundError: No module named 'blenderproc' HOT 5
- Object location and rotation not rendered properly
- The position of the Python interpreter called by blenderproce.exe is an absolute path HOT 6
- Questions about Generating Full Masks with Custom Datasets HOT 2
- How to generate depth images with the same parameters as my camera Zed2i ? HOT 2
- SSL certificate verification error HOT 2
- How to use Blenderproc without producing anything in root path HOT 7
- create_bvh_tree_multi_objects creates orphan meshes
- "Free(): invalid pointer" - during BOPWriter HOT 18
- Normalizing an imported object HOT 2
- Can I load light or camera configuration from .blend file? HOT 1
- How can I get bounding box of an entity?
- I met a simple problem when running blenderproc vis hdf5 output/0.hdf5
- Render Roughness Metallic or others
- Create long distance depth map using blenderproc for synthetic training dataset HOT 2
- Generating pose labels in quaternion and translation vector
- ValueError: '000000' is not in list
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blenderproc.