Comments (4)
At the moment, adjusting specific creature parameters requires writing/editing python code, there isnt a convinient commandline option yet. Particularly, on this line, you could add some overrides corrresponding to the keys of this dictionary, eg you could edit the line to say:
ear_fac = parts.head_detail.CatEar({'length_rad1_rad2': (0.25, 0.1, 0})
This line would fix the length, starting width and ending width to the specified values.
from infinigen.
I also have this question.
from infinigen.
Your best bet to produce samples (renders or blendfiles) of any specific asset type is to use our tools/asset_grid.py
script. Better tutorials for this are in the works, but you should be able to do the following provided the repo is installed correctly:
cd worldgen
../blender/blender --background -noaudio --python tools/asset_grid.py -- -f CarnivoreFactory -n 10 -r 1024x1024 -s 10
You should be able to swap -f CarnivoreFactory
for any subclass of AssetFactory you find in the codebase, including the other creatures defined in the assets/creatures/genomes folder.
If you want to use the code directly from a blender python script, you can do something like the following. This also allows you more control via kwargs over whether you want rigging, animation, fur, materials, etc.
from assets.creatures.genomes.fish import FishFactory
fac = FishFactory(factory_seed=0)
asset = fac.spawn_asset(0)
from infinigen.
Thank you for your answer.
And I would like to know how to generate a specified creature like a tiger and adjust the size of ears, rather than randomly generating a creature by a seed?
from infinigen.
Related Issues (20)
- What is the parameter to get topviews like Figure 11? HOT 1
- FileNotFoundError: Could not find singleroom.gin or singleroom in any of ['infinigen_examples/configs_nature']" HOT 1
- Generate camera trajectories in a box or a sphere after generating a single room
- Depth Visualization
- How to generate a scene while exporting it as a USDC file
- How to create a custom scene HOT 1
- RuntimeError: Error: No valid selected objects HOT 4
- How to update Infinigen version HOT 1
- Error of "Cannot edit hidden object" during export HOT 1
- I encountered an error while trying to export USDC
- High quality terrain doesn't look like high-quality?
- Specify the locations of creatures in the python command
- Importing a scene graph
- Curious of the future roadmap of infinigen
- Populate failed when running example fire command
- DIfferences of create_asset and create_placeholder?
- Can we generate fluid or gas in the indoor scene?
- Generate articulated object?
- Texture bug in isaac sim. HOT 1
- Get color attribute for each object HOT 1
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 infinigen.