Michael Kowalski makowalski
  • Joined on 2020-09-17
Michael Kowalski commented on pull request blender/blender#129994 2024-11-22 05:38:48 +01:00
WIP: USD: Add :object_name / :data_name metadata on import

I think we could extend the USD import hook API to provide access to the dictionaries through the USDSceneImportContext provided as an argument to the on_import() function. As you point out,…

Michael Kowalski commented on pull request blender/blender#129994 2024-11-21 21:50:54 +01:00
WIP: USD: Add :object_name / :data_name metadata on import

Maybe we should store the UsdPrim / Object

Michael Kowalski approved blender/blender#129881 2024-11-20 19:13:40 +01:00
USD: Add support for animated point instancers

I did some additional testing with example USDs exported from Houdini and the code works great! Thank you for this!

Michael Kowalski commented on pull request blender/blender#129881 2024-11-19 19:56:11 +01:00
USD: Add support for animated point instancers

The code looks good in my initial review. I'll finish the review and testing tomorrow morning.

Michael Kowalski commented on pull request blender/blender#129994 2024-11-19 17:31:11 +01:00
WIP: USD: Add :object_name / :data_name metadata on import

Since the tokens are declared static in this header file, I wonder if they should be inline static. I'm not sure if this is strictly necessary, but just a thought in terms of best practices.

Michael Kowalski approved blender/blender#129996 2024-11-19 16:47:06 +01:00
USD: Allow to merge transform and shape on export

These changes look good to me as well. Thank you!

Michael Kowalski approved blender/blender#129995 2024-11-12 22:06:02 +01:00
USD: Add option to merge shape with parent xform during import

This looks good to me as well. Thank you for this feature!

Michael Kowalski approved blender/blender#128909 2024-11-04 18:40:01 +01:00
USD: enable material displacement support

The changes look good!

Michael Kowalski commented on pull request blender/blender#128909 2024-10-31 16:04:44 +01:00
USD: enable material displacement support

These changes look good on a high level and work well in the tests. I'll take a closer look at the details and hope to finish my review in the next day or two.

Michael Kowalski approved blender/blender#128907 2024-10-29 14:46:18 +01:00
USD: support animated volumes

The changes look good!

Michael Kowalski approved blender/blender#129181 2024-10-25 14:42:42 +02:00
USD: make use of our valid() api for consistent validation

This looks good and is much cleaner now. Thank you!

Michael Kowalski commented on pull request blender/blender#128897 2024-10-15 18:34:57 +02:00
fix instancing in USD export

I think there may be issues when exporting parented meshes. For example, if you export the attached mesh_hierarchy_instance.blend with instancing enabled to USDA, it looks like `/root/proto/Pla…

Michael Kowalski commented on pull request blender/blender#128897 2024-10-15 18:18:30 +02:00
fix instancing in USD export

Okay, I think I was misunderstanding what you were doing. My comments were based on the design I originally had in mind, and you are doing something different. My apologies. Let me close my…

Michael Kowalski commented on pull request blender/blender#128897 2024-10-15 17:54:16 +02:00
fix instancing in USD export

I deleted my last comment regarding the scene hierarchy, as I believe this was a local issue for me.

Michael Kowalski commented on pull request blender/blender#128897 2024-10-15 01:27:39 +02:00
fix instancing in USD export

You would need to add this line

Michael Kowalski commented on pull request blender/blender#128897 2024-10-15 01:21:58 +02:00
fix instancing in USD export

While testing, I've tried to use this with the example file provided at #126470 with the 2 instances in that file rotated (to give them transforms). When I Export with this PR in place, it seems…

Michael Kowalski suggested changes for blender/blender#128897 2024-10-15 01:20:11 +02:00
fix instancing in USD export

First of all, thank you so much for tackling this! Nice work!

Michael Kowalski commented on pull request blender/blender#128897 2024-10-15 01:20:10 +02:00
fix instancing in USD export

Actually, we want to define the ref_path prim being referenced below, like this:

Michael Kowalski commented on pull request blender/blender#128897 2024-10-15 01:20:09 +02:00
fix instancing in USD export

If you restore the original USDAbstractWriter::mark_as_instance() function you could replace this if clause with the following (though I haven't tested this):

Michael Kowalski commented on pull request blender/blender#128897 2024-10-15 01:20:08 +02:00
fix instancing in USD export

It looks like you replaced this function with a comparable block of code in usd_writer_transform::do_write() but I wonder if this is necessary. For one thing, the new code introduces an error (see my comment below) but also the original function performs additional error checking.