Comments (4)
Good point about the metadata, it will be cleaner indeed. Just a detail, we don't want to specify a relative path in the metadata, but just a boolean flag to let arnold deal with the search path as it usually does (through the global attribute options.texture_search_path)
from arnold-usd.
Issue synced internally to ARNOLD-14818
from arnold-usd.
How about storing this as metadata on the asset paths' attributes? I believe MaterialX for example does that in Houdini Solaris to specify the colorspace of a particular filepath being loaded. It's not a separate attribute but instead becomes metadata of the asset path.
As a quick example, see this screenshot:
Which looks e.g. like this in the usda file:
...
def Shader "mtlximage1"
{
uniform token info:id = "ND_image_color3"
asset inputs:file = @/path/to/my/file.exr@ (
colorSpace = "ACES - ACEScg"
)
color3f outputs:out
}
...
As such, we could e.g have attribute metadata like:
asset inputs:file = @/path/to/my/file.exr@ (
arnold_relative_path = "/path/to/search/path"
)
Potentially we could have a special string value that could indicate using a 'global' search path as opposed to needing to author a search path per attribute - if that's something we'd ever need.
from arnold-usd.
but just a boolean flag to let arnold deal with the search path as it usually does (through the global attribute options.texture_search_path)
Great, even better!
What I like about the metadata is that you can set it per attribute, instead of per prim.
from arnold-usd.
Related Issues (20)
- Hydra delegate does not render motion blur after you move camera HOT 10
- HtoAConvertPrimVdbToArnold not found on Windows HOT 1
- Write arnold options as UsdRenderSettings prim HOT 1
- Moving the camera triggers an update of the scene in the render delegate. HOT 6
- PointInstancer invisibleIDs not supported for lights HOT 1
- BasisCurves disappearing on update HOT 4
- Add usdImaging Adapter for ArnoldOptions HOT 1
- Procedural does not render motion blur for primvar.velocities HOT 2
- Using custom USD asset resolver plugin with kick HOT 5
- "mtl" should be a Scope primitive HOT 1
- Shaders output attribute doesn't match the registry HOT 1
- kick does not abort render or display ERROR log messages when usd file has arnold:global:log:verbosity HOT 1
- Support UDIM and relative paths on mtlx image shaders HOT 1
- Improve memory handling of VtArrays HOT 1
- Writer should author USD cylinder lights instead of Arnold ones HOT 1
- Arnold MtlX Standard Surface not translating correctly HOT 1
- Compilation issues with cmake and arnold-usd 7.3.1 HOT 1
- Incorrect world matrix for custom nodes that are not xformables HOT 1
- Tests failing sporadically with invalid Cache ID HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arnold-usd.