Skip to content

Releases

v1.0.0-rc.3

v1.0.0-rc.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Dec 13:14
Immutable release. Only release title and notes can be modified.
d2b3c3f

Added

  • Blender: the add-on preference Node Dropped on a Wire. Merge (the default, as before) joins
    the node beside the wire's chunk through a Merge; Insert puts it in the wire, A -> node -> B,
    as Blender's own nodes do, for a node that works on what comes down the wire.
  • optional_requirements in a chunk's config(): packages only some cooks need. They are
    not installed when the chunk loads; the cook that needs them calls
    chunk.require_packages(node, [...]), which asks (or installs) as a missing requirement
    does. See "Packages only some cooks need" in docs/chunk-requirements.md.
  • Blender: Frame Stage, in the 3D view's View menu and the USDChunks Stage panel, fits the
    view to the USD stage the add-on draws: the picked prims (Ctrl+Click), or all of it when
    none are picked. Home and Frame Selected see only Blender's own objects, so a stage could
    not be framed.
  • MaterialX Shader has File Colour Space on a node that reads a texture file (image,
    tiledimage): the colour space the file is read in, srgb_texture for a colour map or
    raw for a normal or roughness map, written as the file input's colorSpace.
  • chunk.preview_cook(node): True while a handle is dragged in the scene, so a slow chunk
    below it (an IK bake over every frame) can cook a cheaper preview that keeps up with the
    mouse. The framework cooks it again, in full, when the drag ends. See "Cook a preview while
    a handle is dragged" in docs/fast-chunks.md.

Fixed

  • Undo no longer crashes Blender after grouping. Undoing a group (Ctrl+G, Tab in, Ctrl+Z,
    then Ctrl+Z in the 3D view) could crash in USD ("Concurrent changes to layer(s)") and load
    chunks twice: the chunks the undo took out or brought back were deleted, loaded and cooked
    while USD was still handing the change round. An undo or redo now restores in one batch,
    and the chunk system reacts once it is in. An undo that a chunk's cook complained about
    no longer leaves the undo history a step behind.

  • Blender: renaming a node with F2 renames its chunk. Only the node's label changed, so the
    old name came back on the next rebuild and the saved network kept it.

  • Blender: Tab inside a group with no group selected goes back out, as Tab does in a
    Blender node group. It said "select a chunkgroup to dive into"; Ctrl+Tab still works.

  • Blender: undoing a group while inside it takes the editor back up to the graph that holds
    it. The editor stayed inside the removed group, empty, with the chunks out of sight one
    level up.

  • Blender: with two node editors showing two networks, you can work in either. Selecting a
    node, Shift+A or X in one makes its network the live one. Before, only the network opened
    last was live: X in the other editor said "nothing to delete", its nodes showed
    "", or, when the networks shared chunk names, the other network's params.

  • A network a script builds and saves opens with its Output at the end of the chain. The
    Output was placed beside its chunk before the save laid the network out, so it opened at
    the far left with a long wire looping back to it, and the chain started after it.

  • A colour or vector in a list row is saved with the file. A Wedge's Colour row lost its Min
    and Max Colour on save (the rows' arrays knew only numbers, text and booleans), so a
    usdchunks sweep sampled the whole colour cube instead of the range it was given.

  • Opening a second network in a session no longer asks to install packages that are
    installed. The package cache was emptied on every stage reload and never listed again, so
    a chunk loading for the first time read numpy as missing: Blender asked to install the
    numpy it ships, and the dialog took the keyboard, so X and Ctrl+Z did nothing.

  • URDF Import asks to install trimesh and pycollada only for a robot with a DAE, OBJ or glTF
    mesh. Adding it asked for both every time, though a robot of STL meshes reads neither.

  • Blender: a chunk added with Shift+A lands under the mouse and follows it until you click,
    as Blender's own Add does (Esc leaves it where it landed). The first chunk added to a new
    network landed away from the mouse.

  • Blender: the node editor's sidebar (Node > Properties) lists a chunk's params in the
    chunk's own order, each group a folding panel with its name. It listed every button
    first and the fields after, away from the buttons that use them, with no group headers.

  • Blender: a Vector param (Duplicate Prim's Translate, Rotate, Scale and Pivot, Transform's
    Aim Point, UV Texture's st) shows as number fields, X/Y/Z for an XYZ vector. It showed
    as a colour swatch, clamped to 0-1, and a two- or four-long vector had no field at all.

  • Blender: a new Blender Import imports nothing until you pick a collection. It started on
    Scene Collection, so adding it imported the whole scene at once and hid the camera and
    the lights in Blender with it. Saved imports keep the collection they had.

  • Blender: chunks a script adds to a new network (an agent, the MCP, the Scene API) show as
    nodes. The editor stayed at the top level, where the network's group was one ""
    node and none of the work; it now opens the group, as Shift+A does.

  • Blender: hovering a chunk's button shows what it does -- the button's own tooltip, or
    which button of which chunk it is. It showed a note about how Blender dispatches clicks.

  • Blender: a network opened (or started with New) from a script -- an agent, the MCP, a
    startup script -- survives undo. The first Ctrl+Z after an edit, or changing a value in
    Adjust Last Operation (which undoes and redoes), went back to before the open and the
    whole network was gone: Blender pushes no undo step for a scripted operator call, so
    Open and New Chunk Network now push their own.

  • Duplicate Prim's copies are in the scene when the destination is under a new folder
    (/World/cones/left): the folder was left undefined, so the copies were too, and no
    renderer, physics engine or child list saw them. Copies of a typeless prim (the folder a Mesh
    chunk makes above its shape) are now placed one offset apart; their offsets were ignored, so
    every copy stood on the source.

  • A script can wire one MaterialX node's output into another's input with an expression
    naming the output: base_color=f"@{cc.name}.out@" puts a Color Correct between a
    texture and a Standard Surface. It warned "Expression ref not found", since outputs are
    ports and not params, and the surface kept its plain value.

  • scene.create.<chunk>(None, ...) starts a chain, as leaving the input out does, instead of
    failing with 'NoneType' object has no attribute 'get_dag_node'.

  • A list param's rows set from a script (rows=[{"min": (0, 1, 0)}]) give a vector its values; they
    were silently left at their defaults.

  • usdchunks list (and anything searching the chunk catalog) finds MaterialX nodes by what
    they do: "tint", "brighten texture" or "colour correction" find Color Correct, "desaturate"
    HSV Adjust. Their definitions carry no documentation, so only a node's own name found it.
    Entries whose label is shared (MaterialX's Mix and Multiply, which are also shading-layer and
    Math Ops entries) are listed under their module with their presets instead of left out, and
    "hide part of an asset" or "set an attribute" find Mute Prim and Property Editor.
    "colour" and "color" (and "grey" and "gray") now find each other.

  • Render: render products named for a frame (frame.####.exr, frame.{frame}.exr) get one
    file a frame. FrameRecorder writes a product to its name as it stands, so a frame range
    wrote every frame over one file called frame.####.exr -- while Render's Output listed
    frame.0001.exr, frame.0002.exr, ... as written.

  • Setting a vector param (a script's .value = (x, y, z), a translate handle's drag) cooks
    what it drives once, not once per component plus once more.

  • Editing a MaterialX Shader's vector input (a float3 such as a multiply's in2) in a
    reopened network stuck only partly: its first changed component went back to the saved
    value, by script or in the UI. Vectors a chunk makes at load are now bound to their saved
    value as the load restores them.

  • A vector param's wire that waits for a chunk further down the file no longer warns
    while the file loads; it is retried, as a scalar's is, and warns if still missing.

  • In usdview, the current frame reached chunks as a Usd.TimeCode instead of a number.

  • Pose Articulation and the RBD Solver read an articulation with a closed loop whose closing
    joint has physics:excludeFromArticulation set (a four-bar linkage, a closed chain) as the
    open chain it closes. Before, the closing joint gave a link a second parent, and with no
    root left the mechanism was skipped.

  • A text field in the Params tab, such as a ChunkGroup's Description, can be made taller:
    drag the bar under it. It stayed at the few lines its param asked for, so a long
    description was read through a slot.

  • usdview's free camera follows a change to the stage's up axis, such as one a Stage Settings
    chunk makes. It kept tumbling around the axis it read when the file opened, so a scene
    turned Z-up still orbited around Y until it was opened again. The camera keeps its place
    and stands upright on the new axis.

  • A chunk that stops writing a prim (a Move Points whose group came out empty, a chunk turned
    to do nothing) no longer cooks every chunk below it again. The parent overs that went with
    the prim (over World) counted as a change to /World, above everything; in a 109-chunk
    modelling network one such edit cooked 66 chunks in 1.2 s, now the 20 that read it in 0.35 s.

  • usdchunks run net.usda Chunk.active=false leaves that chunk out of the run, as D does in the
    graph (a disabled chunk is saved as active = false). It printed Param not found and cooked
    the chunk anyway. Chunk.active=true brings back a chunk saved disabled.

  • A param takes a numpy number (`np.flo...

Read more

v1.0.0-rc.2

v1.0.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Nov 13:26
Immutable release. Only release title and notes can be modified.
6d4f36a

Added

  • Vine has a Growth % slider: how far the vines have grown, from the roots to fully grown.
    Every vine is cut at the same moment, so a low value is a young vine. Changing it does
    not grow the vine again. Each curve point also carries a growth primvar, 0 at the roots
    to 1 at the last tip, so a shader can animate the vine growing.
  • Vine grows over every mesh picked in Surface Mesh, or matched by a pattern like
    /World/Walls/*, and crosses from one to the next where they touch. It read only the
    first. Roots, Min Branch, Smoothing and Max Points are sliders now; saved values load as
    they were.
  • Vine leaves alternate left and right of the stem (Spread), instead of all sitting on top
    of it and hiding it. Bare Base % leaves the oldest part of each vine without leaves, as
    on mature ivy. The leaf points carry the same growth primvar as the curves. Set Spread
    to 0 for the old placement.
  • Vine can hang tendrils off its tips (Hanging group: Hang %, Hang Length %). They fall
    under gravity, drape over the painted mesh instead of passing through it, and stop at
    the lowest point of the surface. Off by default.
  • Vine can write its growth as an animation (Animation group: Animate Growth, Start Frame,
    End Frame): nothing at the start, Growth % at the end, one time sample per frame. Each
    frame is what Growth % draws at that point. A 100-frame animation on a 131k-triangle
    rock takes 0.6 s.
  • Curves to Mesh sweeps animated curves into an animated mesh: every time sample of the
    curves is swept and written at that time. A Vine with Animate Growth on now grows as a
    mesh too. A growth primvar on the curves is carried onto the mesh, one value per point.
  • Leaves grow in with an animated vine. With Animate Growth on, Vine's leaf points are the
    grown vine's leaves, each from the frame the vine reaches it, with a stable id; Scatter
    Points hides each leaf instance until its point exists (invisibleIds). Before, every
    leaf showed from the first frame.
  • examples/scripts/ivy_wall.py and a Vines page in the docs: ivy on a stone wall, painted,
    grown, swept to a mesh, shaded and lit, ready to render in a renderer that draws no curves
    (Aurora). animate=True grows it over 48 frames.
  • Vine's leaves point away from their stem and are smaller toward each growing tip (Tip Leaf
    Size). The leaf points carry a direction and a scale primvar; Scatter Points points
    the Up Along Surface axis along a painted point's direction, when it has one, and
    multiplies its scale by the painted scale.

Changed

  • Vine cooks faster and grows the same vines. Changing Thickness, Taper, Lift, Smoothing,
    Form, the leaf settings or the colours no longer grows the vine again: on a
    131k-triangle rock, 830 ms → 80 ms. A full grow with a fine step: 3.9 s → 1.2 s.
  • Breaking: Vine grows winding, branching stems by default instead of evenly spaced
    parallel ones. A new Meander slider swings them from side to side in long curves, and
    the defaults changed: Meander 0.8, Climb 0.15, Density 0.2, Influence 24, Kill Distance
    5. A saved Vine left at the old defaults grows the new way. To keep the old look, set
    Meander 0, Climb 0.35, Density 0.5, Influence 12 and Kill Distance 2.
  • Curves to Mesh sweeps vines faster and makes the same mesh: every strand goes through
    one array pass instead of one at a time. A 20,000-point vine (793 strands): 290 ms →
    80 ms.
  • Breaking: Curves to Mesh hides the curves it sweeps (Hide Curves, on by default), so a
    renderer that draws curves (Storm, V-Ray) no longer shows the vine twice. Turn Hide Curves
    off to keep them showing. Sides and Segments are sliders now.

Fixed

  • Blender: after installing a chunk's packages, the status bar names the package and how
    many chunks cooked again ("Installed scipy; 4 chunk(s) recooked"). It said "0 chunk node
    type(s) now available", which read like a failure.
  • Blender: the dialog that offers to install a chunk's packages names the packages without
    their version ranges, and the nodes in the open network that wait for them: "OK to
    install scipy for scatter_points (Bushes, Ferns, Grass, Trees)?". It showed
    scipy>=1.11,<2 and the module name only. The sidebar's Missing dependencies box too.
  • Blender: with USD_CHUNK_AUTO_INSTALL=1, a chunk's missing packages install in the
    background, with progress in the status bar, and the chunks recook after. pip ran while
    the network opened and froze Blender for the whole download, with nothing on screen
    (biome example: open 22 s → 2.7 s). A host can take an install over the same way with
    the new SceneSender.install_later().
  • Installing a chunk's packages no longer installs again what the host Python already has.
    Installing scipy for Scatter Points in Blender also put a second numpy into the
    dependency dir; now pip is asked first what is really missing, and only that is
    installed (the folder: 189 MB → 134 MB). With a pip older than 22.2 it installs as
    before.
  • Vine no longer runs into Max Points on curved surfaces. A node whose attractors sat
    behind it sprouted a short stub every growth step, 50 to 80 from one node, and the stubs
    used up the points before the paint was covered. A node now grows at most four branches.
    Vines on rocks and other curved meshes cover more and cook faster (a dense rock:
    3 s → 1.1 s); the same seed grows a slightly different vine than before.
  • Vine no longer roots its vines on the underside of what it grows on. A brush stroke along
    the foot of a wall also paints its bottom face, buried in the ground; that was the lowest
    paint, so the vines started there and grew out of sight. Asking for more roots than fit
    no longer starts two vines on the same point.
  • Curves to Mesh always writes its mesh, empty when there is nothing to sweep. Before
    anything was painted for a Vine above it, it wrote nothing, so a material bound to the
    Mesh output warned and did not bind. Curves of different types picked together (linear
    and cubic) are each swept as what they are; all were swept as the last one's type.

v1.0.0-rc.1

v1.0.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Nov 08:54
Immutable release. Only release title and notes can be modified.
2dba78b

Changed

  • Cooks in a network with big layers are faster. Each cook checked whether it read
    anything another branch writes by walking every other chunk's layer; what a layer writes
    is now kept until that layer changes. Building a 300-chunk village from a script: 24.8 s
    → 16.1 s; opening it with every chunk cooking: 9.9 s → 7.3 s.
  • Chunks that write into the session layer (MaterialX Shader) cook faster in big networks.
    After each such cook, the next one compared the whole session layer with its own copy and
    found nothing to change. A 300-node MaterialX network: build 16.2 s → 13.9 s, open with
    every chunk cooking 11.9 s → 9.3 s.

Fixed

  • A version tag now makes a GitHub release with the Blender add-on zip attached. Two
    workflows each tried to make the release for the same tag and both failed, so
    v1.0.0-rc got no release and no zip.
  • A param a chunk disabled before its panel was opened (a slider greyed out because a
    switch is off) now shows greyed out. Sliders, checkboxes and menus showed live until the
    state next changed, and a disabled slider's handle now dims so it reads as off.