Matt McLin Matt-McLin
  • Joined on 2021-10-16
Matt McLin commented on pull request blender/blender#120236 2024-04-24 18:08:50 +02:00
USD import: add support for displayColor on non-Mesh USD shape prims

@makowalski Your updates look good to me, and I confirmed it works for the couple of test files.

Matt McLin commented on pull request blender/blender#120236 2024-04-16 20:04:02 +02:00
USD import: add support for displayColor on non-Mesh USD shape prims

Thank you @deadpin and @makowalski !

Michael, this is great point about animated displayColor attribute, thank you for adding this. I think it would be great to include here. Jesse, your…

Matt McLin commented on pull request blender/blender#118947 2024-03-08 21:12:41 +01:00
Fix #98572: handle the 'mirror' texture wrap mode

Nice! LGTM

Matt McLin approved blender/blender#116242 2024-01-05 21:52:35 +01:00
Fix: USD import: lazily create cache file

LGTM, and also confirmed that this fixes the problem of keeping stale cached data when re-importing a modified USD file.

Matt McLin commented on pull request blender/blender#116460 2024-01-05 00:46:02 +01:00
Fix #116317: Ensure that USD materials reside in a Prim Scope

Thanks, Jesse, looks good to me!

Matt McLin approved blender/blender#115076 2023-12-14 02:04:33 +01:00
USD: import scenegraph instances.

Looks good to me! Just a couple minor comments to consider.

Matt McLin commented on pull request blender/blender#115076 2023-12-14 02:04:32 +01:00
USD: import scenegraph instances.

Not so important to me, but just observation that now that scene instances are supported, this reads rather strange, and it may be a good idea to change the name and meaning of the underlying variable.

Matt McLin commented on pull request blender/blender#115076 2023-12-14 02:04:31 +01:00
USD: import scenegraph instances.

Changing this behavior to false is clearly the correct thing to do, but I think the wording of this could be confusing. The way it is currently worded seems to imply that the proxies are something that exists in the asset being imported, and by turning the option off, you are choosing to not import some part of the asset. Some users may be tempted to just enable all the check boxes to ensure they are getting everything, which would of course be silly in this case.

Matt McLin commented on pull request blender/blender#113267 2023-12-13 20:33:08 +01:00
USD: optionally author subdivision schema on export

@deadpin Hi Jesse, I think this means we should probably revert the factoring out into write_subdiv_and_normals, and go with our original implementation for that, as the subdiv scheme and…

Matt McLin commented on pull request blender/blender#113267 2023-12-06 21:30:37 +01:00
USD: optionally author subdivision schema on export

Hi @deadpin , our assumption here is that the Subdivision scheme will never be animated, as we are not aware of any use cases where this would be desirable. I suggest we take this as a later…

Matt McLin commented on pull request blender/blender#113267 2023-12-06 20:16:50 +01:00
USD: optionally author subdivision schema on export

Thanks for catching, I thought I had already changed this

Matt McLin commented on pull request blender/blender#113374 2023-11-27 18:17:34 +01:00
bugfix/usd_material_color_space

@deadpin While comparing to usdview is a very reasonable thing in general, I have imagined the aim for Blender's importer functionality is different than for usdview. Probably we don't want…

Matt McLin commented on pull request blender/blender#113374 2023-11-27 18:12:21 +01:00
bugfix/usd_material_color_space

@makowalski Sorry for the late replies here. @wave, Dhruv, and I discussed this PR several weeks ago and all agreed that it should move forward, specifically regarding treating the auto/non-specif…

Matt McLin closed pull request blender/blender#114181 2023-10-27 23:01:59 +02:00
USD bug fix: don't allow invalid prims to be used, avoids crash in case prim path is not valid
Matt McLin commented on pull request blender/blender#114181 2023-10-27 23:01:56 +02:00
USD bug fix: don't allow invalid prims to be used, avoids crash in case prim path is not valid

Also note that we discovered the reason Blender was failing to find a prim in our problematic asset was not due to any issue in the USD file itself, but due to Blender limiting the max USD prim…

Matt McLin commented on pull request blender/blender#114181 2023-10-27 22:58:30 +02:00
USD bug fix: don't allow invalid prims to be used, avoids crash in case prim path is not valid

Confirmed, this is already addressed in @makowalski 's earlier PR: blender/blender#113524

Matt McLin commented on pull request blender/blender#114181 2023-10-27 17:25:46 +02:00
USD bug fix: don't allow invalid prims to be used, avoids crash in case prim path is not valid

As discussed, let's hold off on this. The bool !prim check should already be calling IsValid().

Matt McLin commented on pull request blender/blender#113374 2023-10-23 20:11:06 +02:00
bugfix/usd_material_color_space

I pulled this PR and built locally, can confirm this is working well for me. I also confirmed that my asset round-tripped OK.

Matt McLin commented on pull request blender/blender#113267 2023-10-23 19:58:40 +02:00
USD: optionally author subdivision schema on export

Using the code in this PR, I exported a test asset which exposes all six combinations of UV and geometry smoothing/interpolation options, so that the resulting USD output can be compared across…

Matt McLin commented on pull request blender/blender#113267 2023-10-06 01:14:04 +02:00
USD: optionally author subdivision schema on export

@makowalski About taking evaluation mode into account for viewport vs render, that is a good catch, thanks, and thanks for the suggested code snippet. I think I just need a small change on that. …