brdf_blinn_phong — SPECULAR reflectance op

• Data kinds: normalmap → image2d

• Call: import fullseye as fs; fs.ledger.brdf_blinn_phong(normals, light=(0.0, 0.0, 1.0), view=(0.0, 0.0, 1.0), shininess=32.0) (implementation को सीधे call करना हो तो import specularity; specularity.brdf_blinn_phong(normals, light=(0.0, 0.0, 1.0), view=(0.0, 0.0, 1.0), shininess=32.0), registry से लेना हो तो opsspecular.get("brdf_blinn_phong"))

उपयोग

Blinn का half-vector specular lobe। → (H, W), [0, 1] में।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

max(n.h, 0) ** shininess where h is the unit bisector of the light and view directions (Blinn 1977), zeroed wherever the surface faces away from either. Exactly 1 where the normal *is* the half-vector — the mirror condition — and it falls monotonically from there.

Unnormalised on purpose. The classical Blinn-Phong lobe does not integrate to a fixed value; its peak is 1 and its energy grows as the exponent shrinks. It is a shading model, useful because its peak location is exact and because it is a *different* lobe shape from brdf_microfacet — a separation routine that only works on one of the two is fitting the lobe, not the model. For an energy-consistent lobe use brdf_microfacet.

Reciprocal in light and view to machine precision (measured exactly 0.0 maximum difference in tests/test_specularity.py), because the half-vector is symmetric and the visibility test covers both sides.

Raises ValueError: *normals* is not an (H, W, 3) field or contains a zero-length normal; *light* / *view* are not non-zero 3-vectors; *shininess* is negative, non-finite, a string or a bool; light and view are exactly opposite.

उपयोग की विस्तृत guide

• specular_photometric family guide

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• specular_photometric — py -3.11 examples/specular_photometric.py

वे अगले ops जिनसे type जुड़ता है (image2d को input के रूप में लेते हैं)

polarization_render

इसी category के (reflectance)

brdf_microfacet · dichromatic_render


*Provenance: specularity.py — SPECULAR operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.