[PYTHON] Let's introduce Bento Toolset.

What kind of person is Bento?

tumblr_inline_o8o9vnuiC31qeupiw_540.png

--Bento is Houdini Toolset from Open Source (MIT License) that I publish on GitHub. -The source code can be downloaded for each release, and if you download and connect the Houdini path, you can use the tool in Houdini immediately. It has become. --Because it is published on GitHub, you can freely fork it, send a pull request, manage it yourself, and participate in the development space shared by everyone.

What can you do?

Currently, the following tools are built into Bento.

Shelf Tools

ss_shelf_tool_0002.png

Cache Dependency(cCDP)

--Create a File Cache SOP under the selected node, and create a Geometry ROP that reflects the parameters of the File Cache SOP on the ROP Network while setting the dependency. -Here also explains. --Click the image to jump to the video preview destination.

Screenshot from 2015-09-20 23-24-50.png

Create Delayed Load Procedural(cDLP)

--By selecting a cache file such as a BGEO file, a Delayed Load Procedural SHOP with the cache file input and a Geometry Network with the cache file input are created.

スクリーンショット 2016-12-08 10.26.22.png

Python Panel

Cache Manager --Disk I / O nodes can be listed in a tree view. --The cache can be replaced on the panel. (Right click menu) --Nodes can be sorted by Read / Write. --For supported nodes, see here.

ss_cache_manager_0001.png

Script

Color Node Script

--A script that colors when you create a node. --Click here for a color scheme sample (https://github.com/takavfx/Bento/blob/develop/docs/color-nodes.md). -I wrote it in DFTALK, but the hip file becomes chaotic and it is difficult for others to read it. A script to reduce the cost.

Installation method

  1. Download the latest source code from the "** releases **" page of Bento's repository page on GitHub.

  2. Save the unzipped file to any location. -(Example) / Users / takanori / GitHub / Bento

  3. Go to the Houdini user config location and open the houdini.env file. The save destination of houdini.env for each OS is the following path.

  1. Add the path to the houdini.env file as shown below.   - (win) BentoPackagePath;& -(Mac / Linux) BentoPackagePath: & (; is also possible)

Like this ↓

houdini.env


#
# Houdini Environment Settings
#
# The contents of this file are read into the environment
# at startup.  They will override any existing entries in
# the environment.
#
# The syntax is one entry per line as follows:
#    VAR = VALUE
#
# Values may be quoted
#    VAR = "VALUE"
#
# Values may be empty
#    VAR =
#

# Example:
#
# HOUDINI_NO_SPLASH = 1

HOUDINI_PATH = /Users/takanori/GitHub/Bento:&

How can I participate in the development?

Necessary knowledge (generally)

language

version control

Bento on GitHub

GitHub

branch

スクリーンショット 2016-12-07 4.55.40.png

directory

Bento basically conforms to Houdini's directory structure because I want you to use it just by connecting HOUDINI_PATH. Below is an example.

Reference procedure

If you don't understand the terms, refer to the "Necessary knowledge (generally)" link above. It's easier and it's explained carefully.

The client uses GitKraken. A Git client like this.

スクリーンショット 2016-12-07 6.29.59.png

[Purpose] I want to develop a color-nodes when creating a node.

  1. Clone the repository from GitHub.
  1. Switch to the master branch. *Screenshot 2016-12-08 2.53.08.png

  2. Click the arrow button (Open Git Flow button) of Git Flow on the left menu. *Screenshot 2016-12-08 1.40.38.png

  3. Click Start> Feature

  4. Enter feature / parm-preset, select ** Current Branch ** with the radio button, and click Start feature. *Screenshot 2016-12-08 1.39.35.png

  5. A new branch is created and switched to that new branch. *Screenshot 2016-12-08 2.52.06.png

  6. Create an OnCreated.py file under Bento / scripts and write the script. save. *Screenshot 2016-12-08 1.42.01.png

  7. Write the document in Bento / doc. Create a file such as ** color-nodes.md ** and write it in markdown.

  8. Commit. (Frequently!)

  1. Push to GitHub. (Frequently!) *Screenshot 2016-12-08 6.03.11.png

  2. Repeat 7-8 until it has some shape.

  3. Make a Pull Request to the develop branch on GitHub (if your code is complete). *Screenshot 2016-12-08 5.00.18.png

  4. Pull Request is allowed. That is, the changes in color-nodes are applied to the develop branch.

  5. Once tested with develop and ready to publish, send a Pull Request to merge the develop branch into the master branch.

  6. Affected by the master branch if allowed.

  7. Once tagged in the master branch and the release notes are written on GitHub, officially go to "** releases **" on GitHub. The version is registered and published.

Summary

There are still some things I'm making, and there are some improvement plans for the ones I've already made, but I hope everyone can participate and make a good Toolset.

Recommended Posts

Let's introduce Bento Toolset.
Let's introduce Custom prefix! !!