Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging sirpalee/dev to master branch #974

Merged
merged 693 commits into from
Dec 17, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
693 commits
Select commit Hold shift + click to select a range
db6ddee
Merge branch 'master' into dev
sirpalee Dec 18, 2020
1f16288
Merge branch 'master' into dev
sirpalee Dec 18, 2020
1c8bb5a
Merge branch 'master' into dev
sirpalee Dec 18, 2020
0efb058
Merge branch 'master' into dev
sirpalee Dec 24, 2020
65ebe8d
Merge branch 'master' into dev
sirpalee Dec 24, 2020
2bf8037
Fixing disappearing meshes when playing back animation
sirpalee Jan 7, 2021
7e41981
Merge branch 'master' into dev
sirpalee Jan 8, 2021
ef068dc
Setting motion_start and motion_end when applying transformation matr…
sirpalee Jan 8, 2021
c84f7ed
Merge branch 'master' into dev
sirpalee Jan 11, 2021
faca94c
Merge branch 'master' into dev
sirpalee Jan 13, 2021
d8250e2
Fixing build issues using gcc-4.8.5.
sirpalee Jan 15, 2021
220446d
Merge branch 'master' into dev
sirpalee Jan 15, 2021
93ac8ab
Initial take on light and shadow linking.
sirpalee Jan 28, 2021
766ed32
Updating release notes.
sirpalee Jan 29, 2021
4785de5
Adding a base gprim class to handle shared gprim adapter functions.
sirpalee Jan 29, 2021
22cb008
Merge branch 'master' into dev
sirpalee Jan 29, 2021
8356153
Refactoring files and how delegate parameters are named. #412
sirpalee Jan 31, 2021
4243767
Forcing rprim sync if light linking have changed. #412
sirpalee Feb 1, 2021
7c45eb7
Clearing out light linking if light type changes. #412
sirpalee Feb 1, 2021
619ec96
Improved light linking handling. #412
sirpalee Feb 1, 2021
1baa285
Fixing issues related to deleting lights that used for light linking.
sirpalee Feb 1, 2021
658dca1
Merge branch 'master' into dev
sirpalee Feb 1, 2021
48f883a
Fixing an issue with light linking and interrupting renders when it m…
sirpalee Feb 3, 2021
6fcb47c
Merge branch 'master' into dev
sirpalee Feb 3, 2021
d423069
Parsing of DelegateRenderProducts. (#650)
sirpalee Feb 5, 2021
6749464
Syncing transformation for the points primitive.
sirpalee Feb 8, 2021
a159a31
Merge branch 'master' into dev
sirpalee Feb 9, 2021
3d4f451
Fixing compilation issues with USD 21.02. (#656)
sirpalee Feb 11, 2021
de6a047
Fixing the behavior of the render delegate with 21.02. (usd#656)
sirpalee Feb 15, 2021
29e4bbb
Merge branch 'master' into dev
sirpalee Feb 15, 2021
c85de6a
Merge branch 'master' into dev
sirpalee Feb 15, 2021
e8f5968
Adding support for motion blurring of the point instancer. (#653)
sirpalee Feb 16, 2021
711297a
Support multiple levels of instancers and motion blur, and initial ta…
sirpalee Feb 16, 2021
145379c
Removing #if from TF_DEFINE_PRIVATE_TOKENS.
sirpalee Feb 16, 2021
90a413f
Fixing crash in the instancer code. (#653)
sirpalee Feb 17, 2021
26374e4
Adding support for instantaneousShutter. (#653)
sirpalee Feb 17, 2021
fa9b5f9
Fixing motion end set on the instancer. (#653)
sirpalee Feb 17, 2021
240bbb9
Force re-syncing the rprims when shutter range changes. (#653)
sirpalee Feb 17, 2021
728bde2
Setting up motion_start and motion_end on the instancer. (#653)
sirpalee Feb 18, 2021
641f32e
Fixing motion blurring of instanced volumes in USD 21.02. (#653)
sirpalee Feb 18, 2021
77cee23
Merge branch 'master' into dev
sirpalee Feb 19, 2021
aa4a6b0
Converting HdInterpolationVarying primvars to vertex user data.
sirpalee Feb 22, 2021
8dd306b
Adding partial support for half/double types/arrays in utils.h. (#669)
sirpalee Feb 24, 2021
87372ee
Merge branch 'master' into dev
sirpalee Feb 24, 2021
4396147
Adding half/double support for HdArnoldInstancePrimvar. (#669)
sirpalee Feb 24, 2021
a8dee9c
Adding half/double tests for uniform, vertex and facevertex functions…
sirpalee Feb 25, 2021
1a82817
Adding half/double tests for HdArnoldSetParameter functions. (#669)
sirpalee Feb 25, 2021
bb27b31
Merge branch 'master' into dev
sirpalee Feb 25, 2021
fda2ee1
Adding support for the pause/resume api.
sirpalee Mar 1, 2021
2a31ae9
Merge branch 'master' into dev
sirpalee Mar 4, 2021
276fdff
Merge branch 'master' into dev
sirpalee Mar 4, 2021
dd3d51c
Adding new param interrupt functionality that does not repeatedly cal…
sirpalee Mar 4, 2021
72f2519
Merge branch 'master' into dev
sirpalee Mar 5, 2021
6e99b69
Merge branch 'master' into dev
sirpalee Mar 8, 2021
3589283
Renaming template parameters in _AccumulateSampleTimes.
sirpalee Mar 9, 2021
efd3c54
Fixing build issue on windows with an unused function in NDR.
sirpalee Mar 9, 2021
0a57c09
Merge branch 'master' into dev
sirpalee Mar 9, 2021
ebb2f6f
Adding shutter query functions to the render param. (#673)
sirpalee Mar 9, 2021
6c7951a
Fixing issues with crease translation.
sirpalee Mar 9, 2021
17463e6
Merge branch 'master' into dev
sirpalee Mar 9, 2021
f8b874d
Merge branch 'master' into dev
sirpalee Mar 10, 2021
0265237
Fixing merge conflicts.
sirpalee Mar 10, 2021
476787b
Adding a set of common strings to use between the different modules. …
sirpalee Mar 10, 2021
15fe005
Fixing copy-paste error in ndr cmake. (#466)
sirpalee Mar 10, 2021
d7ab790
Creating a shared function to translate Usd/Hydra creases to Arnold. …
sirpalee Mar 10, 2021
e183b9d
Adding initial take on velocity/acceleration blur for points. (#673)
sirpalee Mar 11, 2021
6122447
Merge branch 'master' into dev
sirpalee Mar 11, 2021
18cad06
Adding half support for VtValueGetFloat. (#672)
sirpalee Mar 11, 2021
699ebf5
Merge branch 'master' into dev
sirpalee Mar 11, 2021
e0f7b7c
Merge branch 'master' into dev
sirpalee Mar 12, 2021
7f54764
Renaming geometry time samples to deform keys. (#673)
sirpalee Mar 12, 2021
21e129e
Removing the c++ plugin/python lib build from schemas and installing …
sirpalee Mar 12, 2021
19f1afc
Merge branch 'master' into dev
sirpalee Mar 14, 2021
1779f39
Using USD_PATH instead of USD_LOCATION + bin in schemas/SConscript.
sirpalee Mar 15, 2021
a89d9f0
Updating schema generator cmake file for 3rd party interpreters. (#710)
sirpalee Mar 16, 2021
209e32d
Merge branch 'master' into dev
sirpalee Mar 16, 2021
c2afeb0
Adding initial native rprim adapters. (#185)
sirpalee Mar 18, 2021
d0a7251
Reformatting code.
sirpalee Mar 18, 2021
55cd956
Setting render context hint.
sirpalee Mar 18, 2021
a44f3ee
Creating a utility function to add common sources. (#715)
sirpalee Mar 19, 2021
29c444c
Changing the common src order in cmake and delaying initialization so…
sirpalee Mar 19, 2021
6de9111
Another refactoring pass over gprim adapters. (#185)
sirpalee Mar 19, 2021
868e673
Merge branch 'master' into dev
sirpalee Mar 22, 2021
caddc70
Merge branch 'master' into dev
sirpalee Mar 23, 2021
14e73db
erge branch 'master' into dev
sirpalee Mar 23, 2021
59200c2
Fixing build issues on macOS and targeting Houdini USD libraries.
sirpalee Mar 23, 2021
eed7554
Generating adapter classes for arnold shapes. (#185)
sirpalee Mar 24, 2021
169c4b6
Reading native rprims in the render delegate. (#185)
sirpalee Mar 25, 2021
bb47784
Pass the ID attribute to the shapes created in the procedural. (#724)
sirpalee Mar 25, 2021
14364cb
Supporting wrapS, wrapT, offset and bias parameters on UsdUvTexture.
sirpalee Mar 26, 2021
7c30fd8
Merge branch 'master' into dev
sirpalee Mar 26, 2021
8df09c2
Read material id for native rprims. (#185)
sirpalee Mar 29, 2021
b59a239
Change render context hint from interactive to hydra. (#711)
sirpalee Mar 29, 2021
1954341
Configure shape_adapters.cpp and usd_imaging/plugInfo.json with the n…
sirpalee Mar 30, 2021
f6c1b44
Merge branch 'master' into dev
sirpalee Mar 31, 2021
b386193
Fixing build issues with with pre 20.11 USD versions.
sirpalee Mar 31, 2021
da73564
Merge branch 'master' into dev
sirpalee Mar 31, 2021
e54c85c
Revert "Pass the ID attribute to the shapes created in the procedural…
sirpalee Mar 31, 2021
7acafdf
Passing ID attribute to the Reader. (#730)
sirpalee Mar 31, 2021
cc41021
Passing ID to all the shapes created in the reader and adding test 17…
sirpalee Mar 31, 2021
0ca680c
Renaming test 175 to 176.
sirpalee Mar 31, 2021
e89dd29
Merge branch 'master' into dev
sirpalee Mar 31, 2021
69e78e3
Fixing issues when using 20.11 with the usd imaging adapters. (#185)
sirpalee Apr 1, 2021
537fca2
Optionally adding the arnold binaries to the RPATH.
sirpalee Apr 6, 2021
a855f39
Merge branch 'master' into dev
sirpalee Apr 6, 2021
bbb649c
Merge branch 'master' into dev
sirpalee Apr 6, 2021
baec482
Simplify accessing Arnold parameters using UsdImagingPrimAdater::Get.
sirpalee Apr 12, 2021
b9fb677
Tracking material assignments to shapes and resyncing material IDs if…
sirpalee Apr 13, 2021
010d833
Merge branch 'master' into dev
sirpalee Apr 14, 2021
0c21b7b
Fixing incorrect type comparison ParseDelegateRenderProducts. (#650)
sirpalee Apr 14, 2021
5064688
More bits for deep rendering support in husk. (#650)
sirpalee Apr 15, 2021
118479a
Creating driver_deepexr and setting up AOVs. (#650)
sirpalee Apr 16, 2021
5c8b122
Disabling progressive rendering when the render delegate is used by h…
sirpalee Apr 16, 2021
97101d0
Translating layer parameters and fixing a few issues with deep EXR su…
sirpalee Apr 19, 2021
456373a
Reading parameters for driver_deepexr. (#650)
sirpalee Apr 19, 2021
64fb440
Storing only a single filter per driver_deepexr. (#650)
sirpalee Apr 19, 2021
23ae196
Removing NeedsUpdate check when setting primvars on the Point Instancer.
sirpalee Apr 21, 2021
0603fb8
Changing the capitalization of the render_context constant string.
sirpalee Apr 21, 2021
e607790
Merge branch 'master' into dev
sirpalee Apr 21, 2021
f58d4c9
Adding skeleton for a scene delegate. (#764)
sirpalee Apr 26, 2021
2e3fc19
Fixing build issues with python 38 and the new scene delegate. (#764 …
sirpalee Apr 27, 2021
39db1e5
Fixing updatePlugInfo for python 3. (#767)
sirpalee Apr 27, 2021
ab73920
Moving import from future to the beginning of the py file. (#767)
sirpalee Apr 28, 2021
a3929d8
More changes for the scene delegate.
sirpalee Apr 30, 2021
1d57e7f
Merge branch 'master' into dev.
sirpalee May 3, 2021
63e9ef8
Adding more adapter and registry related classes to scene_delegate.
sirpalee May 4, 2021
f56b0ac
Merge branch 'master' into dev
sirpalee May 4, 2021
e75c6d4
Adding USD style adapter type registration and creation on demand.
sirpalee May 4, 2021
6c41e3c
Adding delegate proxy and insertion of prims from the adapters.
sirpalee May 4, 2021
f402c6a
Adding more functions to scene delegate adapters.
sirpalee May 5, 2021
0bbae81
Merge branch 'master' into dev
sirpalee May 6, 2021
b308ed2
Merge branch 'master' into dev
sirpalee May 6, 2021
322b2bd
Returning even more parameters and adding a basic translation of pers…
sirpalee May 6, 2021
9cce738
Build the imaging module with scons and reorganizing installed headers.
sirpalee May 7, 2021
233f9cc
Merge branch 'master' into dev
sirpalee May 11, 2021
ed3b41d
Disabling the scene delegate build by default. (#764)
sirpalee May 11, 2021
8fef232
Merge branch 'master' into dev
sirpalee May 12, 2021
0f120fe
Reset disp_map instead of setting nullptr array. (#790)
sirpalee May 17, 2021
a744ae8
Merge branch 'master' into dev
sirpalee May 27, 2021
4d731e8
Adding support and a test for converting GfMatrix4d attribute to AI_T…
sirpalee May 28, 2021
919ea10
Interrupting renders before deleting render pass nodes.
sirpalee May 31, 2021
017290d
Merge branch 'master' into dev
sirpalee May 31, 2021
54a2ab7
Converting string/token/asset path primvar arrays to builtin string a…
sirpalee Jun 18, 2021
0cb7951
Adding test for converting string primvar arrays to built string arra…
sirpalee Jun 18, 2021
86f1116
Merge branch 'master' into dev
sirpalee Jun 21, 2021
5dcccb1
Merge branch 'master' into dev
sirpalee Jun 21, 2021
5328733
Fixing schemas build when there are spaces in the project folder path.
sirpalee Jun 21, 2021
3d685cf
Using a custom AOV to store hydra prim IDs instead of the built-in ID…
sirpalee Jun 22, 2021
983ac0e
Revamping visibility, sidedness and autobump_visibility support and c…
sirpalee Jun 28, 2021
151f1bd
Using AiResolveFilePath when opening files in the procedural.
sirpalee Jun 29, 2021
e7076ba
Revamping visibility, sidedness and autobump_visibility support and c…
sirpalee Jun 28, 2021
3b153ae
Merge branch 'master' into dev
sirpalee Jun 30, 2021
73872df
Passing AI_SESSION_INTERACTIVE when creating AiRenderSession and rena…
sirpalee Jun 30, 2021
86bfc51
Adding HdChangeTracker::DirtyDoubleSided to the NativeRprim initial d…
sirpalee Jul 1, 2021
f34bce1
Renaming AI_ defs to ARNOLD_.
sirpalee Jul 1, 2021
af56e05
Removing unused option.
sirpalee Jul 1, 2021
af554be
Running render tests. (#124)
sirpalee Jul 2, 2021
bdc6ec1
Generating testsuite commands for windows. (#124)
sirpalee Jul 5, 2021
fc2e754
Merge branch 'master' into dev
sirpalee Jul 5, 2021
3ee4bdf
Diffing tests, resaving scenes and generating thumbnails. (#124)
sirpalee Jul 6, 2021
979f0e4
Fixing unit test build issues on windows. (#124)
sirpalee Jul 6, 2021
491b13c
Fixing testsuite issues when targeting a static USD build. (#124)
sirpalee Jul 7, 2021
7070fa1
Using kick_params and generating test image optionally. (#124)
sirpalee Jul 7, 2021
b9e735c
Using correct file check on windows. (#124)
sirpalee Jul 7, 2021
8f4d115
Adding BUILD_BOOST_ALL_NO_LIB to the cmake configuration
sirpalee Jul 8, 2021
4b869f0
Merge branch 'master' into dev
sirpalee Jul 8, 2021
7e15c03
Adding override decorator for GetBuiltinPrimvarNames if PXR_VERSION >…
sirpalee Jul 8, 2021
dc54c6d
Merge branch 'pr/830' into dev
sirpalee Jul 8, 2021
c4d5bf5
Looking for houdini:fps and using it when interpolating positions. (#…
sirpalee Jul 12, 2021
2568403
Cleaning up the velocity based interpolation code for points. (#673)
sirpalee Jul 12, 2021
8b8b926
Merge branch 'master' into dev
sirpalee Jul 14, 2021
d6be7c8
Fixing build issue with USD 21.08 and running clang format.
sirpalee Jul 19, 2021
840abd3
Fixing the use of iteritems with python 3.
sirpalee Jul 20, 2021
b33f193
Rendering tests via usdrecord, cleaning up arnold_usd.h and replicati…
sirpalee Jul 20, 2021
ce06606
Merge branch 'master' into dev
sirpalee Jul 21, 2021
64ba8c2
Fixing usdrecord test issues on windows and avoiding the use of setx.…
sirpalee Jul 21, 2021
b8a7427
Fixing more usdrecord testsuite issues on windows (#27).
sirpalee Jul 22, 2021
478af7e
Merge branch 'master' into dev
sirpalee Jul 23, 2021
dbd8925
Adding some materialx changes. (#584)
sirpalee Jul 26, 2021
4f06268
Merge branch 'master' into dev
sirpalee Jul 26, 2021
a1b4341
Linking against MaterialX libraries if using newer USD version and pr…
sirpalee Jul 27, 2021
9b89e41
Translating connections when using HdMaterialNetwork2 and refactoring…
sirpalee Jul 27, 2021
51adc68
Adding initial materialx support to the render delegate. (#584)
sirpalee Jul 29, 2021
f373664
Not using AiArrayGetXXXFuncs anymore.
sirpalee Jul 30, 2021
42affa2
Merge branch 'master' into dev
sirpalee Jul 30, 2021
b1fca43
Merge branch 'master' into dev
sirpalee Aug 2, 2021
822a37e
Configuring plugInfo.json files in the build directory.
sirpalee Aug 2, 2021
a2178d2
Improving materialx find module. (#584)
sirpalee Aug 3, 2021
42caa50
More improvements to materialx use. (#584)
sirpalee Aug 5, 2021
df6fcb6
Validating facevarying data from primvars.
sirpalee Aug 5, 2021
f752b73
Fixing the build of master using latest Arnold release. (#849)
sirpalee Aug 9, 2021
f54b5c1
Merge branch 'master' into dev
sirpalee Aug 9, 2021
09e9b86
Checking for visibility when syncing lights.
sirpalee Aug 10, 2021
36179de
Cleaning up AiOutputIteratorGetNext changes.
sirpalee Aug 11, 2021
a39c520
Adding missing & qualifier. (#856)
sirpalee Aug 11, 2021
1f694b1
Merge branch 'master' into dev
sirpalee Aug 11, 2021
06811be
Merge branch 'master' into dev
sirpalee Aug 11, 2021
074e1e0
Improving createSchemaFile python3 compatibility.
sirpalee Aug 11, 2021
6bfc921
Changing the fallback shader to standard surface.
sirpalee Aug 12, 2021
1c6302d
Avoid updating the main driver matrices in case of camera movement.
sirpalee Aug 13, 2021
a411213
Merge branch 'master' into dev
sirpalee Aug 13, 2021
04ea481
Fixing merge issue.
sirpalee Aug 13, 2021
aa6432e
Merge branch 'master' into dev
sirpalee Aug 19, 2021
3cd1810
Merge remote-tracking branch 'origin/dev' into dev
sirpalee Aug 19, 2021
53fe197
Running clang format. (#584)
sirpalee Aug 20, 2021
b4e00f2
Merge branch 'master' into dev
sirpalee Sep 13, 2021
926fc13
Merge remote-tracking branch 'origin/dev' into dev
sirpalee Sep 13, 2021
fad939a
Fixing testsuite issues using 21.02+ and supporting new and old light…
sirpalee Sep 14, 2021
6d4866a
Checking for render tags. (#843)
sirpalee Sep 15, 2021
e0030e6
Using the light API functions and falling back to GetAttribute. (#880)
sirpalee Sep 16, 2021
03625ee
Merge branch 'master' into dev
sirpalee Sep 16, 2021
665d2f7
Tracking render tags for shapes. (#843)
sirpalee Sep 16, 2021
3a9f730
Improving render tag tracking. (#843)
sirpalee Sep 17, 2021
a7f3edb
Renaming render tag handling functions and moving the core logic to a…
sirpalee Sep 17, 2021
4d25df8
Tracking the point instancer's render tag. (#843)
sirpalee Sep 20, 2021
0ee0e73
Setting unsigned int parameters from int. (#887)
sirpalee Sep 20, 2021
32def75
Adding more tests and conversions. (#887)
sirpalee Sep 21, 2021
938694e
Merge branch 'master' into dev
sirpalee Sep 27, 2021
f71c04b
Code cleanup. (#891)
sirpalee Oct 4, 2021
2ce168c
Updating release notes for Arnold 7.0. (#897)
sirpalee Oct 25, 2021
dcaef68
Updating readme and building.md. (#897)
sirpalee Oct 25, 2021
f6a3659
Setting the returned version to default in the Sdr plugin.
sirpalee Nov 4, 2021
fb4097d
Fixing the use of AI_TYPE_INT AOVs and removing a warning when settin…
sirpalee Nov 4, 2021
099b0bf
Changing the default descriptor returned for AOVs.
sirpalee Nov 12, 2021
2b7e136
Using GetVolumeShader if native rprim is volume.
sirpalee Nov 12, 2021
bbb4ff2
Set product metadata.
sirpalee Nov 23, 2021
489a3f7
Merge branch 'master' into dev
sirpalee Nov 25, 2021
e204f21
Update changelog for the 7.0.0.1 release.
sirpalee Nov 25, 2021
b96d44c
Avoid linking against hdx for older USD versions.
sirpalee Nov 30, 2021
9b4d4b9
Adding new functions to sample indexed primvars. (#632)
sirpalee Dec 1, 2021
5201b3e
Track primvar indices. (#632)
sirpalee Dec 2, 2021
fe00048
More improvements to indexed primvar sampling. (#632)
sirpalee Dec 7, 2021
7dbb06f
Merge branch 'master' into dev
sirpalee Dec 10, 2021
c07938f
Fixing 21.11 issues.
sirpalee Dec 10, 2021
89d4d28
Fixing build issues with USD 21.11. (#957)
sirpalee Dec 10, 2021
a30e412
Empty node graph adapter class. (#661)
sirpalee Dec 10, 2021
de2650a
Adding initial implementation of arnold node graph adapter. (#661)
sirpalee Dec 10, 2021
85dffc7
Renaming material and material tracker to node graph and node graph t…
sirpalee Dec 14, 2021
e1790bf
Refactoring Material handling code. (#964)
sirpalee Dec 14, 2021
f175a63
Renaming HdArnoldMaterial and HdArnoldMaterialTracker. (#964)
sirpalee Dec 15, 2021
dad8e50
Adding material param utils from upstream USD repo. (#964)
sirpalee Dec 15, 2021
b1df850
Translate shader networks passed through ArnoldNodeGraph. (#964)
sirpalee Dec 16, 2021
e7cd268
Add a new function to query a custom terminal. (#964)
sirpalee Dec 16, 2021
3c06ef4
Merge branch 'master' into dev
sirpalee Dec 16, 2021
97f9acf
Merge branch 'master' into dev
sirpalee Dec 16, 2021
5d9eb56
Remove unusued API setup.
sirpalee Dec 16, 2021
6413f54
Fixing SDR registry issues with USD 21.11. (#964)
sirpalee Dec 17, 2021
aeb2be6
Adding documentation for the node graph adapter. (#964)
sirpalee Dec 17, 2021
cd70240
Fixing compilation and disabling ArnoldNodeGraph for pre-21.08 usd ve…
sirpalee Dec 17, 2021
2ff221e
Removing coding error.
sirpalee Dec 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixing disappearing meshes when playing back animation
Fixes #634
  • Loading branch information
sirpalee committed Jan 7, 2021
commit 2bf8037582aef71c472b8f22258ff4da9a097f50
1 change: 0 additions & 1 deletion render_delegate/mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ void HdArnoldMesh::Sync(
_vertexCounts = topology.GetFaceVertexCounts();
const auto& vertexIndices = topology.GetFaceVertexIndices();
const auto numFaces = topology.GetNumFaces();
const auto numVertexIndices = vertexIndices.size();
auto* nsidesArray = AiArrayAllocate(numFaces, 1, AI_TYPE_UINT);
auto* vidxsArray = AiArrayAllocate(vertexIndices.size(), 1, AI_TYPE_UINT);

Expand Down
30 changes: 0 additions & 30 deletions render_delegate/points.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,36 +19,6 @@

PXR_NAMESPACE_OPEN_SCOPE

namespace {

template <unsigned AT, typename T>
inline void _SetMotionBlurredPrimvar(
HdSceneDelegate* delegate, const SdfPath& id, const TfToken& primvarName, AtNode* node, const AtString& paramName)
{
constexpr size_t maxSamples = 2;
HdTimeSampleArray<VtValue, maxSamples> xf;
delegate->SamplePrimvar(id, primvarName, &xf);
if (xf.count > 0 && ARCH_LIKELY(xf.values[0].IsHolding<VtArray<T>>())) {
const auto& v0 = xf.values[0].Get<VtArray<T>>();
if (xf.count > 1 && ARCH_UNLIKELY(!xf.values[1].IsHolding<VtArray<T>>())) {
xf.count = 1;
}
auto* arr = AiArrayAllocate(v0.size(), xf.count, AT);
AiArraySetKey(arr, 0, v0.data());
if (xf.count > 1) {
const auto& v1 = xf.values[1].Get<VtArray<T>>();
if (ARCH_LIKELY(v1.size() == v0.size())) {
AiArraySetKey(arr, 1, v1.data());
} else {
AiArraySetKey(arr, 1, v0.data());
}
}
AiNodeSetArray(node, paramName, arr);
}
}

} // namespace

HdArnoldPoints::HdArnoldPoints(HdArnoldRenderDelegate* delegate, const SdfPath& id, const SdfPath& instancerId)
: HdPoints(id, instancerId), _shape(str::points, delegate, id, GetPrimId())
{
Expand Down
4 changes: 2 additions & 2 deletions render_delegate/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -912,9 +912,9 @@ size_t HdArnoldSetPositionFromPrimvar(
for (auto index = decltype(xf.count){1}; index < xf.count; index += 1) {
const auto& vi = xf.values[index].Get<VtVec3fArray>();
if (ARCH_LIKELY(vi.size() == v0.size())) {
AiArraySetKey(arr, 1, vi.data());
AiArraySetKey(arr, index, vi.data());
} else {
AiArraySetKey(arr, 1, v0.data());
AiArraySetKey(arr, index, v0.data());
}
}
AiNodeSetArray(node, paramName, arr);
Expand Down