https://github.com/datajuggler/datajuggler.randomusd
RandomUSD makes it simple to duplicate objects in a USD Template file, then the newly created file can be added to any USD scene. I have built a Snow Creator that uses this project.
https://github.com/datajuggler/datajuggler.randomusd
Last synced: over 1 year ago
JSON representation
RandomUSD makes it simple to duplicate objects in a USD Template file, then the newly created file can be added to any USD scene. I have built a Snow Creator that uses this project.
- Host: GitHub
- URL: https://github.com/datajuggler/datajuggler.randomusd
- Owner: DataJuggler
- Created: 2023-12-15T03:28:04.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-31T15:19:12.000Z (over 2 years ago)
- Last Synced: 2025-01-31T11:16:28.659Z (over 1 year ago)
- Language: C#
- Size: 114 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
DataJuggler.RandomUSD uses C# to open a usda file, and duplicate a prop and randomly position it.
The only tested use this is a snow creator. I am buildiing a blazor site to make this simple to create
snow scenes, and add it to an Omniverse Scene to make it appear to snow.
You can add multiple snow scenes, and there is a property called Settings.AdditionalY, that can be used to add more snow
higher up in a scene, so you can longer duration of snow falling.
# News
12.31.2023: I added a delegate 'CallbackEvent' and the Randomize and RandomizeAsync methods not send a call back
every one percent of the Settings.ObjectsToCreate count.
12.31.2023: I added a read only property to Settings called ForcePercentReverse. It makes more sense to have ForcePercent
apply where 100 equals all objects and 0 equals none. I changed Randomize method to use ForcePercentReverse.
12.30.2023: I added a new feature for Force, and I also have a Blazor project to test this project called Snow Creator.
Repository for Snow Creator:
https://github.com/DataJuggler/SnowCreator
Live Demo: https://snowcreator.datajuggler.com
Video: https://youtu.be/onixjUjeBb8
New video for Force will be created soon.
12.16.2023: Added an Async method RandomizeAsync to the Randomizer class.
12.15.2023: Added the output filename to the RandomizationResult object returned from Randomize.