Comments (4)
Framebuffer channels are parameters of type DATA_TYPE
and will be enumerated via anariGetObjectInfo
with parameter
of type PARAMETER_LIST
. This is not sufficient?
Actually there is currently no way to get the valid pixelType
of Frame channels when requesting that channel (setting the parameter), for that we should extend the value
info like below.
.Info of parameters for introspection.
Name | Type | Required | Description |
---|---|---|---|
value | STRING_LIST / TYPE_LIST |
No | list of accepted strings for "enum" parameters that only recognize specific strings, or list of accepted values for DATA_TYPE parameters |
from anari-docs.
Framebuffer channels are parameters of type DATA_TYPE and will be enumerated via anariGetObjectInfo with parameterof type PARAMETER_LIST. This is not sufficient?
Part of the problem is that there's no good way to distinguish parameters which are intended to be used as a FB channel. If an implementation provides extensions with additional FB channels, there isn't an obvious connection between a parameter and it being a valid channel.
We need the ability to discern how this connection to parameters and mappable channel names occurs, and there should be text stating the convention used to connect them.
I propose that we use a channel.[name]
as the parameter name, where [name]
is the matching name used to map it. There should at least be non-normative text that states that this is the convention and that extensions ought to strongly follow it.
from anari-docs.
Summary of consensus from today's WG call:
- We need to add the
value
info parameter forSTRING_LIST
/TYPE_LIST
info queries as outlined by @johguenther (this was a gap that needs filled regardless). - We want to add the
channel
query toANARIFrame
, providing a list of available channels by the implementation. These channels are the names which can be passed directly toanariMapFrame()
. ANARIFrame
parameters for controlling various frame channels should all be prefixed with"channel."
to both clearly state their relationship to mappable channels and prevent naming collisions with other parameters.- We want language that states the
[grouping].[name]
naming convention is a rule for arrays/buffers (both input and output).
from anari-docs.
closed via #39
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
- Move strided arrays to a separate extension
- Add stride for mapped direct array parameters
- 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.