Skip to content

feat: new action on SOP template to evaluate bsdf - #163

Open
etiennearnal wants to merge 19 commits into
mainfrom
feat/sop-action
Open

feat: new action on SOP template to evaluate bsdf#163
etiennearnal wants to merge 19 commits into
mainfrom
feat/sop-action

Conversation

@etiennearnal

Copy link
Copy Markdown
Member

Add action in SOP templates: SOPTemplateActions::EvaluateBSDF to compute the BSDF (Bi-directional Scattering Distribution Function) for a given SOPTemplate and given impact definitions (angles, wavelength, etc.).

@etiennearnal etiennearnal self-assigned this May 22, 2026
@etiennearnal etiennearnal added the enhancement New feature or request label May 22, 2026
Add EvaluateBSDFSlice RPC to sweep one variable (theta_in, phi_in,
theta_out, phi_out, wavelength) over an equispaced range while keeping
the others fixed. Returns per-sample evaluation results reusing the
existing EvaluationResult structure.
Add RPC action to evaluate reflectance, transmittance and absorbance (RTA)
Both global and directional
Replace per-metric RPCs (EvaluateGlobalRTA, EvaluateDirectionalRTA) with:
- EvaluateAllMetrics: evaluate all metrics with kernel defaults
- EvaluateMetrics: evaluate custom selection via optional MetricsConfig
@Gfourneau-AS
Gfourneau-AS marked this pull request as ready for review June 17, 2026 13:44

@echambla echambla left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me. Thank you @Gfourneau-AS for your contribution.
Please wait for the overall approval before merging this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants