Comments (5)
Oh,I made a stupid and careless mistake.Sorry for that,and thank you for your patience : )
from blenderproc.
Hey @WHHHHY,
you can use bproc.material.create_material_from_texture()
to create a material from an image path.
(see https://dlr-rm.github.io/BlenderProc/blenderproc.api.material.html#blenderproc.material.create_material_from_texture)
from blenderproc.
Thanks for your rapid answer first,
but when I use "bproc.material.create_material_from_texture()" to creat a material ,I think it first needs to fill a material as "add custom properties",but i don't have any materials,should I make a custom material before i use "bproc.material.create_material_from_texture()" ?
from blenderproc.
This is my code and its error.
from blenderproc.
bproc.material.create_material_from_texture
returns already a Material
you dont need to call the constructor on it again
from blenderproc.
Related Issues (20)
- coco annotation merge for multiple .blend files HOT 2
- render hdr lighting without background HOT 2
- Unsuccessful quickstart HOT 5
- how to save object distance from camera in coco annotations HOT 7
- Duplicate linked does not work correctly with hierarchy.
- Rework MeshObject material manipulation HOT 2
- 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 5
- Normalizing an imported object
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.