Polygonjs 2.0.66
Gems, strut lattices and compute loops
·built with Jai 0.2.029
-
Breaking
geo/ConvexHull2Dis renamedgeo/ConvexHull, and it now builds 3D hulls too. A saved scene drops the old node: creategeo/ConvexHullin its place, and turnasManifoldoff to get the closed curve of before. -
Breaking
compute/SourceGeoAttributeis replaced bycompute/Buffer, and a compute network now ends in acompute/Gather. Rebuild a saved compute network that way and point thepathofgeo/Computeat the gather. -
Breaking
geo/SDFBuilderneeds an SDF object in its first input, which sets its bounds. Itssizeandcenterparams are gone: wire in ageo/SDFBoxof that size and position. -
Breaking
In SDK code, set the
t,r,sandscaleparams ofgeo/Transformand the lengths ofgeo/TransformLayoutwith decimal values, and read an object’s placement withworldObjectPosition,worldObjectQuaternionandworldObjectScale. -
New
compute/Buffer -
New
compute/Gather -
New
compute/Merge -
New
compute/ForEachBegin -
New
compute/ForEachEnd -
New
compute/ReactionDiffusion -
New
geo/Gem -
New
mat/Gem -
New
geo/Crystal -
New
geo/Sweep -
New
geo/SDFStrutLattice -
New
geo/SDFMeasure -
New
geo/FileCSV -
New
geo/AttributeMultAdd -
New
geo/MeshLaplacianAttributes -
New
code/Buffer -
New
code/IntersectionProperties -
New
code/MeshLaplacian -
New
code/SDFStrutLattice - New A Performance panel records how long each node takes to cook.
-
New
geo/ControlPanelcan set a theme for the whole panel UI: Dark, Light or Dark Orange. -
New
The SDK can be used from C and C++. Start a project with
polygon sdk new --language cor--language cpp, and the editor saves its scenes as C. - New Canvas can export a native app, as well as a web page.
- Improved A Canvas export holds only the node types its scene uses, so it is smaller.
- Improved Canvas downloads the tools a web export needs by itself, so there is nothing to install.
-
Improved
geo/ControlPanelcan sit in a column of its own beside the scene, set with its new_columnparam. The scene is drawn in the space that is left, so the panel never covers it. On a view taller than it is wide, the panel floats over the scene as before. Fold every panel of a column and it slides down to a thin strip. - Improved A control panel taller than the view scrolls, with the mouse wheel or by dragging, and is never wider than the view.
- Improved Dragging a number param moves it by the digits one pixel is worth, so small values are easy to reach.
-
Improved
New radius and orientation handles on
geo/Sphere,geo/Box,geo/Capsule,geo/Icosahedron,geo/Plane,geo/Ring,geo/Torusandgeo/Tube. -
Improved
geo/PolarTransformhas a handle for its longitude, latitude and depth. -
Improved
Rotation handles follow
rotationOrder, and a guide line takes the colour of the value it drives. - Improved Where handles overlap, the one in front is grabbed.
-
Improved
geo/SDFTPMScan wrap its cells around a cylinder or a sphere, and grade their size across a part. -
Improved
code/SDFTPMScan blend one surface type into another. -
Improved
geo/SDFCreategainedsmoothness, to round the joints of struts. -
Improved
geo/SDFBuildercan sample a texture. -
Improved
tex/Buildercan read a depth texture. -
Improved
mat/MeshSDFcan add a roughness texture, and can leave out soft shadows and ambient occlusion so it compiles faster. - Improved SDF materials compile faster, and render through an orthographic camera.
-
Improved
geo/SDFTriangulatealways outputs a manifold mesh. -
Improved
geo/Raycan hit back faces. -
Improved
geo/AttributeTransferworks on volumes. -
Improved
PLY files keep integer attributes, and
geo/AttributeCastconverts between float and integer types. -
Improved
render/Taarestarts when the scene changes, not only when the camera moves. - Improved Antialiasing and volumes work when the browser falls back to WebGL.
- Improved Wireframes draw cleanly over surfaces.
- Improved The spare params editor can show an integer menu as buttons or a dropdown.
- Improved Every param tooltip starts with its type, and a menu param lists what each entry does.
-
Improved
With several
geo/Outputnodes, Ctrl and a digit key picks the one the digit keys connect to. - Improved The geometry spreadsheet shows a node’s error, and its Object tab shows translation, rotation and scale.
- Improved The automatic network layout crosses fewer wires.
-
Fixed
geo/AttributeCopyandgeo/AttributeTransferwork withPas the source. -
Fixed
geo/PolyFillfinds the holes of a face whatever order they arrive in. - Fixed The value of a menu param driven by an expression stays within the available range.
- Fixed A texture larger than 8192 pixels a side shows an error instead of crashing.
- Fixed GPU memory no longer grows when a texture updates every frame.
- Fixed Panning a perspective camera with a pan control no longer crashes.
- Fixed The web editor loads the engine’s own polynodes.