Comments (3)
Hi @wangg12 ! :-)
Objects are dropped onto the plane, maybe the title of the example is a bit misleading. For some objects the probability of staying upright is really small (however I certainly saw the duck and can upright before). If the goal is to generate a dataset for pose estimation with a bias towards upright objects, you could (1) select the initial poses to be upright before falling (rot_sampler in the config) (2) lower the dropping height (3) use the on_surface_sampler for placing the objects onto the plane before activating physics (4) reduce cube size --> physics --> increase cube size --> physics.
I guess (3) could make most sense to you?
from blenderproc.
@wangg12 What do you mean by "standing"?
If I understood it correctly, then I would say that they are not supposed to.
{
"module": "object.ObjectPoseSampler",
"config":{
"objects_to_sample": {
"provider": "getter.Entity",
"conditions": {
"cp_physics": True
}
},
"pos_sampler":{
"provider":"sampler.Uniform3d",
"max":[0.2, 0.2, 0.6],
"min":[-0.2, -0.2, 0.2]
},
"rot_sampler":{
"provider":"sampler.UniformSO3"
}
}
},
{
"module": "object.PhysicsPositioning",
"config": {
"min_simulation_time": 3,
"max_simulation_time": 10,
"check_object_interval": 1,
"solver_iters": 25,
"steps_per_sec": 100
}
},
These two modules are responsible for physics positioning and the resulting object pose depends on the outcome of running these two modules.
object.ObjectPoseSampler
samples poses for objects in a bounding box;object.PhysicsPositioning
toggles a somewhat realistic physics animation - objects fall down.
If you want to preserve the orientation of the object right after loading and just place them on the ground, then you may need to make some mods to the config file for sure. From the top of my head I would say that maybe trymanipulators.EntityManipulator
and just move the objects manually (or maybe look at theobject.OnSurfaceSampler
+sampler.UpperRegionSampler
).
from blenderproc.
For "standing", I mean the bottom of the object should be on the ground. I was just wondering, for the example in this repo, is it possible to get such standing poses for these objects? If so, what's the probability? In my observation, almost all of my rendered images didn't show such cases.
from blenderproc.
Related Issues (20)
- About run <main_lm_upright.py> HOT 2
- Is there a way to see in the blender viewport what blenderproc commands are doing? HOT 2
- Blender 3.3's hair system has a curves data type, so BlendLoader.py needs to update it's valid_object_types list. HOT 1
- Couldn't download matterport3d HOT 2
- RuntimeError: The automatic installation of the freeimage library failed on Mac M1 HOT 2
- Crash on scene cleanup due to Python 2 remnant HOT 1
- [BUG] Uncorrect warinings in bproc.writer.write_bop
- sample poses on surface for 2 different object in 2 different manner HOT 4
- weird collision between distractor ycb objects
- Best practice for rendering a large datasets with multi rendering + avoid reading/writing COCO everytime HOT 1
- Visual debug alternative using VS Code extension "Blender Development"?
- Function bproc.object.sample_poses() seems not to work with child objects HOT 5
- Incorrect object pose rendering when .obj files are used for bop_based dataset HOT 2
- Is there a way of rendering an asset as invisible to the camera but visible to the bproc.writer.write_coco_annotations? HOT 1
- Eager render data
- Not what I see in Blender HOT 1
- Regarding object 3D vertices in meters (8 corners and 1 centroid) extraction and project them to 2D image plane (pixel cordinate) HOT 1
- blenderproc quickstart on Mac M2 raises error. HOT 2
- Wrong Matrix Inversion HOT 4
- how to use rigidbody to fix the collision problem of ycb distractors with themselves as well as object of interest?
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.