Skip to content

Commit

Permalink
Fix issue with curves pinning in the procedural #800 (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienblor authored Jul 12, 2022
1 parent d80689f commit 588c38c
Show file tree
Hide file tree
Showing 5 changed files with 395 additions and 0 deletions.
7 changes: 7 additions & 0 deletions testsuite/test_0239/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Curve pînning

See #800

author: sebastien.ortega

PARAMS: {'scene':'test.usda'}
159 changes: 159 additions & 0 deletions testsuite/test_0239/data/test.usda

Large diffs are not rendered by default.

228 changes: 228 additions & 0 deletions testsuite/test_0239/ref/reference.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,228 @@
00:00:00 91MB | log started Mon Jul 11 23:03:16 2022
00:00:00 91MB | Arnold 7.1.3.0 [a69ac8aa] windows clang-10.0.1 oiio-2.4.0 osl-1.12.0 vdb-7.1.1 adlsdk-6.3.1.44 clmhub-2.0.0.235 rlm-14.1.3 optix-6.6.0 2022/07/04 08:25:29
00:00:00 91MB | running on REMS4QL1726, pid=38372
00:00:00 91MB | 2 x Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz (32 cores, 64 logical) with 65154MB
00:00:00 94MB | NVIDIA driver version 472.39 (Optix 60801)
00:00:00 94MB | GPU 0: Quadro RTX 4000 @ 1545MHz (compute 7.5) with 8192MB (4787MB available) (NVLink:0)
00:00:00 94MB | Windows 10 (version 10.0, build 19044)
00:00:00 94MB | soft limit for open files is set at 2048
00:00:00 94MB |
00:00:00 112MB | [color_manager_ocio] default ocio.config found in C:\arnold\sdk\latest\bin\../ocio/configs/arnold/config.ocio
00:00:00 112MB | loading plugins from C:\arnold\arnold-usd\build\windows_x86_64\msvc_opt\usd-0.21.8_arnold-7.1.3.0\procedural ...
00:00:00 117MB | usd_proc.dll: usd uses Arnold 7.1.3.0
00:00:00 117MB | loaded 1 plugins from 1 lib(s) in 0:00.08
00:00:00 117MB | loading plugins from C:\arnold\sdk\latest\bin\..\plugins ...
00:00:00 117MB | alembic_proc.dll: alembic uses Arnold 7.1.3.0
00:00:00 117MB | cryptomatte.dll: cryptomatte uses Arnold 7.1.3.0
00:00:00 117MB | cryptomatte.dll: cryptomatte_filter uses Arnold 7.1.3.0
00:00:00 117MB | cryptomatte.dll: cryptomatte_manifest_driver uses Arnold 7.1.3.0
00:00:00 117MB | skipping already loaded plugin: C:\arnold\sdk\latest\bin\..\plugins\usd_proc.dll ...
00:00:00 117MB | loaded 4 plugins from 2 lib(s) in 0:00.00
00:00:00 117MB | [color_manager_ocio] default ocio.config found in C:\arnold\sdk\latest\bin\../ocio/configs/arnold/config.ocio
00:00:00 133MB | [kick] command: C:\arnold\sdk\latest\bin\kick test_resaved.ass -dw -r 160 120 -sm lambert -bs 16 -o testrender.tif -set driver_tiff.dither false -nocrashpopup -dp -v 6
00:00:00 133MB | loading plugins from . ...
00:00:00 133MB | no plugins loaded
00:00:00 138MB | [metadata] loading metadata file: test_resaved.ass
00:00:00 139MB | [ass] loading test_resaved.ass ...
00:00:00 140MB | [ass] read 635902 bytes, 7 nodes in 0:00.00
00:00:00 140MB | [kick] applying 2 attr value overrides
00:00:00 140MB |
00:00:00 140MB | authorizing with default license managers: rlm, network, user ...
00:00:07 146MB WARNING | rendering with watermarks because of failed authorization:
00:00:07 146MB | [rlm] error initializing license system:
00:00:07 146MB | [rlm] * Can't read license data (-102)No such file or directory (errno: 2)
00:00:07 146MB | [clm.v1] license server was not set (51)
00:00:07 146MB | [clm.v2] SERVICE (14): entitlement expired
00:00:07 146MB | environment variables:
00:00:07 146MB | ARNOLD_LICENSE_ORDER = (not set)
00:00:07 146MB | ARNOLD_LICENSE_MANAGER = (not set)
00:00:07 146MB | [rlm] solidangle_LICENSE = (not set)
00:00:07 146MB | [rlm] RLM_LICENSE = (not set)
00:00:07 146MB | [clm] ADSKFLEX_LICENSE_FILE = (not set)
00:00:07 146MB | [clm] LM_LICENSE_FILE = (not set)
00:00:07 146MB |
00:00:07 146MB | [color_manager] using color manager of type "color_manager_ocio"
00:00:07 147MB | [color_manager_ocio] using config file C:\arnold\sdk\latest\bin\../ocio/configs/arnold/config.ocio
00:00:07 147MB | [color_manager] rendering color space is "ACEScg"
00:00:07 161MB |
00:00:07 161MB | there are 1 light and 3 objects:
00:00:07 161MB | 1 persp_camera
00:00:07 161MB | 1 skydome_light
00:00:07 161MB | 2 utility
00:00:07 161MB | 1 standard_surface
00:00:07 161MB | 1 user_data_rgb
00:00:07 161MB | 1 driver_tiff
00:00:07 161MB | 1 gaussian_filter
00:00:07 161MB | 1 polymesh
00:00:07 161MB | 1 curves
00:00:07 161MB | 2 list_aggregate
00:00:07 161MB | 2 color_manager_ocio
00:00:07 161MB |
00:00:07 161MB | rendering image at 160 x 120, 8 AA samples
00:00:07 161MB | AA samples max <disabled>
00:00:07 161MB | AA sample clamp <disabled>
00:00:07 161MB | diffuse <disabled by depth>
00:00:07 161MB | specular <disabled by depth>
00:00:07 161MB | transmission samples 2 / depth 2
00:00:07 161MB | volume indirect <disabled by depth>
00:00:07 161MB | total depth 10
00:00:07 161MB | bssrdf samples 2
00:00:07 161MB | transparency depth 10
00:00:07 161MB | initializing 12 nodes
00:00:07 165MB | creating root object list ...
00:00:07 165MB | node initialization done in 0:00.00 (multithreaded)
00:00:07 165MB | updating 13 nodes
00:00:07 167MB | /lights/domelight1: skydome_light using 1 sample, 2 volume samples
00:00:07 168MB | scene bounds: (-0.493759722 -0.499556571 -0.493762672) -> (1.19070268 0.50205189 0.582548082)
00:00:07 168MB | node update done in 0:00.00 (multithreaded)
00:00:07 169MB | [aov] parsing 1 output statements ...
00:00:07 169MB | [aov] registered driver: "kick_driver" (driver_tiff)
00:00:07 169MB | [aov] * "RGBA" of type RGBA filtered by "kick_filter" (gaussian_filter)
00:00:07 169MB | [aov] done preparing 2 AOVs for 1 output to 1 driver (0 deep AOVs)
00:00:07 172MB | starting 64 bucket workers of size 16x16 ...
00:00:07 173MB | rendering
00:00:07 177MB | [accel] list_aggregate bvh4 done - 0:00.00 (wall time) - 2 prims, 1 key
00:00:07 216MB | [accel] polymesh bvh4 done - 0:00.01 (wall time) - 9400 prims, 1 key
00:00:07 230MB | [accel] curves bvh4 done - 0:00.01 (wall time) - 17883 prims, 1 key
00:00:07 245MB | 0% done - 2418 rays/pixel
00:00:07 246MB | 5% done - 118 rays/pixel
00:00:07 247MB | 10% done - 61 rays/pixel
00:00:07 248MB | 15% done - 48 rays/pixel
00:00:07 248MB | 20% done - 43 rays/pixel
00:00:07 249MB | 25% done - 78 rays/pixel
00:00:07 249MB | 30% done - 31 rays/pixel
00:00:07 250MB | 35% done - 52 rays/pixel
00:00:07 251MB | 40% done - 70 rays/pixel
00:00:07 252MB | 45% done - 43 rays/pixel
00:00:07 252MB | 50% done - 20 rays/pixel
00:00:07 253MB | 55% done - 13 rays/pixel
00:00:07 258MB | 60% done - 271 rays/pixel
00:00:07 259MB | 65% done - 69 rays/pixel
00:00:07 261MB | 70% done - 76 rays/pixel
00:00:07 263MB | 75% done - 60 rays/pixel
00:00:07 269MB | 80% done - 295 rays/pixel
00:00:07 273MB | 85% done - 126 rays/pixel
00:00:07 279MB | 90% done - 324 rays/pixel
00:00:07 281MB | 95% done - 213 rays/pixel
00:00:07 282MB | 100% done - 107 rays/pixel
00:00:07 282MB | render done in 0:00.179
00:00:07 282MB | [driver_tiff] writing file `testrender.tif'
00:00:07 267MB | render done
00:00:07 267MB |
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB | scene creation time 0:00.25 machine utilization (0.29%)
00:00:07 267MB | unaccounted 0:00.24
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB | frame time 0:07.35 machine utilization (1.94%)
00:00:07 267MB | rendering 0:00.17
00:00:07 267MB | pixel rendering 0:00.17
00:00:07 267MB | unaccounted 0:07.15
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB | top session self-times by category
00:00:07 267MB | curves::intersect (/sopimport1/curve_0) 0:00.03 (21.30%)
00:00:07 267MB | sampleNextBatch 0:00.03 (19.18%)
00:00:07 267MB | TraceCameraRay 0:00.01 (11.60%)
00:00:07 267MB | accumulateBucketSamples 0:00.01 (10.81%)
00:00:07 267MB | BVH::intersect 0:00.01 ( 8.29%)
00:00:07 267MB | /sopimport1/curve_0 0:00.00 ( 3.94%)
00:00:07 267MB | /sopimport2/mesh_0 0:00.00 ( 2.40%)
00:00:07 267MB | root 0:00.00 ( 1.94%)
00:00:07 267MB | RenderBucket 0:00.00 ( 4.34%)
00:00:07 267MB | thread blocked 0:00.00 ( 4.07%)
00:00:07 267MB | ray traversal+intersection 0:00.00 ( 3.43%)
00:00:07 267MB | surface closure (_default_arnold_shader) 0:00.00 ( 3.33%)
00:00:07 267MB | AiMalloc 0:00.00 ( 2.71%)
00:00:07 267MB | polymesh::intersect (/sopimport2/mesh_0) 0:00.00 ( 2.68%)
00:00:07 267MB | AiLightsTrace 0:00.00 ( 2.11%)
00:00:07 267MB | standard_surface (_default_arnold_shader) 0:00.00 ( 2.10%)
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB | top session self-times by node
00:00:07 267MB | curves:/sopimport1/curve_0 0:00.04 (28.56%)
00:00:07 267MB | curves::intersect 0:00.03 (21.30%)
00:00:07 267MB | BVH::intersect 0:00.00 ( 3.94%)
00:00:07 267MB | thread blocked 0:00.00 ( 2.86%)
00:00:07 267MB | sampleNextBatch 0:00.03 (19.18%)
00:00:07 267MB | TraceCameraRay 0:00.01 (11.60%)
00:00:07 267MB | standard_surface:_default_arnold_shader 0:00.01 (11.15%)
00:00:07 267MB | surface closure 0:00.00 ( 3.33%)
00:00:07 267MB | AiLightsTrace 0:00.00 ( 2.11%)
00:00:07 267MB | ray traversal+intersection 0:00.00 ( 1.50%)
00:00:07 267MB | AiMalloc 0:00.00 ( 1.05%)
00:00:07 267MB | accumulateBucketSamples 0:00.01 (10.81%)
00:00:07 267MB | polymesh:/sopimport2/mesh_0 0:00.01 ( 6.45%)
00:00:07 267MB | polymesh::intersect 0:00.00 ( 2.68%)
00:00:07 267MB | BVH::intersect 0:00.00 ( 2.40%)
00:00:07 267MB | thread blocked 0:00.00 ( 1.21%)
00:00:07 267MB | RenderBucket 0:00.00 ( 4.34%)
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB | peak CPU memory used 283.39MB
00:00:07 267MB | at startup 94.85MB
00:00:07 267MB | AOV samples 18.97MB
00:00:07 267MB | output buffers 0.33MB
00:00:07 267MB | framebuffers 0.31MB
00:00:07 267MB | node overhead 0.01MB
00:00:07 267MB | message passing 0.13MB
00:00:07 267MB | memory pools 74.05MB
00:00:07 267MB | geometry 0.59MB
00:00:07 267MB | polymesh 0.22MB
00:00:07 267MB | curves 0.37MB
00:00:07 267MB | accel structs 1.00MB
00:00:07 267MB | strings 24.25MB
00:00:07 267MB | profiler 0.08MB
00:00:07 267MB | unaccounted 68.82MB
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB | ray counts ( /pixel, /sample) (% total) (avg. hits) (max hits)
00:00:07 267MB | camera 1376720 ( 71.70, 1.00) ( 53.03%) ( 0.11) ( 1)
00:00:07 267MB | shadow 1219562 ( 63.52, 0.89) ( 46.97%) ( 0.10) ( 1)
00:00:07 267MB | total 2596282 ( 135.22, 1.89) (100.00%) ( 0.10) ( 1)
00:00:07 267MB | by ray depth: 0
00:00:07 267MB | total 100.0%
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB | shader calls ( /pixel, /sample) (% total)
00:00:07 267MB | primary 305364 ( 15.90, 0.22) (100.00%)
00:00:07 267MB | total 305364 ( 15.90, 0.22) (100.00%)
00:00:07 267MB | by ray depth: 0
00:00:07 267MB | total 100.0%
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB | geometry (% hit ) (instances) ( init mem, final mem)
00:00:07 267MB | lists 1 (100.0%) ( 0) ( 0.00, 0.00)
00:00:07 267MB | polymeshes 1 (100.0%) ( 0) ( 0.19, 0.22)
00:00:07 267MB | curves 1 (100.0%) ( 0) ( 0.37, 0.37)
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB | geometric elements ( min) ( avg.) ( max)
00:00:07 267MB | polygons 9400 ( 9400) ( 9400.0) ( 9400)
00:00:07 267MB | curves 1987 ( 1987) ( 1987.0) ( 1987)
00:00:07 267MB | curve segments 17883 ( 17883) ( 17883.0) ( 17883)
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB | triangle tessellation ( min) ( avg.) ( max) (/ element) (% total)
00:00:07 267MB | polymeshes 18800 ( 18800) ( 18800.0) ( 18800) ( 2.00) (100.00%)
00:00:07 267MB | unique triangles 18800
00:00:07 267MB | CPU memory use 0.22MB
00:00:07 267MB | vertices 0.11MB
00:00:07 267MB | vertex indices 0.06MB
00:00:07 267MB | packed normals 0.04MB
00:00:07 267MB | normal indices 0.00MB
00:00:07 267MB | uniform indices 0.02MB
00:00:07 267MB | largest polymeshes by triangle count
00:00:07 267MB | 18800 tris -- /sopimport2/mesh_0
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB | acceleration structures: (% total)
00:00:07 267MB | bvh 3 (100.00%)
00:00:07 267MB | total 3 (100.00%)
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB | number of warnings, warning type:
00:00:07 267MB | 1: rendering with watermarks because of failed authorization:
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB | performance warnings:
00:00:07 267MB WARNING | Rendering CPU utilization was only 2%. Your render may be bound by a single threaded process or I/O.
00:00:07 267MB | -----------------------------------------------------------------------------------
00:00:07 267MB |
00:00:07 267MB | releasing resources
00:00:07 169MB |
00:00:07 169MB | releasing resources
00:00:07 149MB | unloading 3 plugins
00:00:07 149MB | closing usd_proc.dll ...
00:00:07 146MB | closing alembic_proc.dll ...
00:00:07 146MB | closing cryptomatte.dll ...
00:00:07 146MB | unloading plugins done
00:00:07 146MB | Arnold shutdown
Binary file added testsuite/test_0239/ref/reference.tif
Binary file not shown.
1 change: 1 addition & 0 deletions translator/reader/read_geometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include <shape_utils.h>

#include "utils.h"
#include "../arnold_usd.h"
//-*************************************************************************

PXR_NAMESPACE_USING_DIRECTIVE
Expand Down

0 comments on commit 588c38c

Please sign in to comment.