USD Export - New Curves/Hair Support #102376
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#102376
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the USD exporter only supports the
Curve
type, which is part of the legacyOB_CURVES_LEGACY
curves system.The new
Curves
type, which is the basis of the new hair system, is currently not supported by the USD exporter.In Blender:
After USD export:
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @SonnyCampbell_Unity
USD - New Curves/Hair Supportto USD Export - New Curves/Hair SupportAdded subscriber: @HooglyBoogly
Added subscriber: @lichtwerk
Added subscriber: @codeloadgame
How far is this from being merged? @SonnyCampbell_Unity
We are very interested in exporting Curves objects in usd.
@Lucas-Morante This change should be included in the next release at latest, and I have resolved the outstanding review feedback, so hopefully it should be merged relatively soon. If you have specific use cases for it I would love to get some feedback when it's available.
I have been testing with the head model above, as well as some more simple test cases, but I have been limited to best-guessing how it will be used. There could very well be cases with production quality assets that I have missed, so if you come across any issues that would be really useful feedback.
Hi, @SonnyCampbell_Unity I had some time to test it. I found a couple of things that didn't work for me. But its looking nice 👏
I'm missing st/uv on the curves. Ideally, we would have the same uvs in the curves and in the scalp geometry (geo from where the hair grows). I don't see any uvs stored in the curves - I have the uv maps option enabled on export.
the shape of the curves at the root/tip its not the same as in blender.
changing the
basis:catmullRom
tobasis:bspline
works for me but idk if there is something else going on.@Lucas-Morante thanks so much, this is really helpful for me to follow up on. Are you able to share the blend file you are using at all? That way I can replicate exactly what you are seeing and do some investigation on it?
@SonnyCampbell_Unity i was testing in this scene
https://www.blender.org/download/demo/geometry-nodes/hair_nodes-female_hair_styles.blend
Hey @Lucas-Morante I've created a PR for issue number 2 you mentioned above: #108183
This will set the correct attribute on the curve so that the curve should display correctly in usdview, and I've validated with a colleague that the output usd is correct. However I believe there is a bug in the display of usdview that doesn't correctly render the curve endpoints in this specifc case so I'm going to raise a bug on the USD github to find out if it's an issue in usdview or if there is something else that I've missed in the export. Issue here: https://github.com/PixarAnimationStudios/USD/issues/2445
I'll start looking at the UV export this week :)
I'll go ahead and close this, since I think the implementation is finished.