Comments (2)
Thanks for the feedback! Some of the issues have already been reported (and #6) and fixed (plus #12), but we indeed need to update the documents in https://github.com/KhronosGroup/ANARI-Registry/blob/main/specs/1.0-provisional/ to reflect those changes.
I'll add ANARI_SPATIAL_FIELD
.
Is it expected or useful to use anariGetObjectParameters
for objects without subtype – their parameters are known per spec? Then using NULL
for objectSubtype
could be an option, otherwise we could disallow the call for those object types (similarly as for anariGetObjectSubtypes
).
The parameter introspection indeed has gaps: for non-trivial (nested) types like you describe and also for type aliases (when different types with the same name are allowed). We have some ideas for the latter, but generically supporting the first is hard.
from anari-docs.
Oh, I missed this repository so I didn't know about the ones that have already been fixed. Oops.
In my opinion/use case, I think it's useful to have anariGetObjectParameters
work for objects without subtypes. I specifically want to be able to enumerate the entire API so I can do some code generation on my side. My reasoning is that there are already some parts of the spec that aren't fully implemented in the example library/device (for example, lights) so going through the introspection methods means that I'll always get the most up-to-date information for the current library.
from anari-docs.
Related Issues (20)
- Per-instance materials HOT 5
- Uniform geometry attributes
- The double use of primitiveID HOT 1
- Incorrect table caption in section 5.10.5. (Transform sampler) HOT 1
- Define implicit iso-surface Geometry
- The ANARI_KHR_GEOMETRY_GLYPH extension for glyphs/oriented shapes HOT 3
- Two-sided Surface extension HOT 3
- Device target spec version property
- Massive spatial fields HOT 3
- Compressed Texture Formats
- Add visibility parameter to Surface
- Add colormap sampler
- Combine transferFunction1D color + opacity arrays HOT 1
- Confusing description of transform sampler HOT 1
- Unclear/missing description of primitive sampler HOT 1
- depth of field own extension?
- Generate latest spec via GitHub actions
- Sampler Transform Offset
- Combine `intensityDistribution` and `intensity` for lights? HOT 2
- Add anariUnsetAllParameters() API function 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 anari-docs.