State:New|TargetRelease:No Target|icon_bug|icon_katana|database:public|Resolution:None|BugID:79840|
Problem summary
Point clouds that only have a single point aren’t visible in the Viewer. They only become visible when there are at least two points.
The attribute updates correctly and the single point can be rendered.
Steps to reproduce
-
Launch Katana and add a LocationCreate node, adding location /root/world/geo/A.
-
Add an OpScript node, add /root/world/geo/A in the CEL statement field and add the following lua script:
local points = FloatAttribute({1,1,1,3,3,3},3)Interface.SetAttr('geometry.point.P',points)Interface.SetAttr('type',StringAttribute('pointcloud'))
-
Inspect the result in the Viewer. The points are visible.
-
Remove the second point by changing the first line of the script to
local points = FloatAttribute({1,1,1},3)
-
Result: No points are visible in the Viewer.
Reproduced by support
Katana 2.5v4, 2.5v3, 2.5v1 Windows 7
Katana 1.5 CentOS 5.6
Expected behaviour
Any number of points should be rendered correctly in the Viewer.
Actual behaviour
If there is only a single point in the Viewer it isn’t visible.