载入中...
搜索中...
未找到
#include <algorithm>#include <cmath>类 | |
| struct | eve::graphics::ParallaxParams |
| CPU reference for simple offset parallax (matches the scale / height convention of parallax_map.glsl POM; used by unit tests, not the GPU path). 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::graphics |
| 卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局参数。 数据模型与渲染/交互逻辑见 CardTypes.h。 | |
函数 | |
| void | eve::graphics::parallaxOffsetUV (float u, float v, float height01, float viewTSx, float viewTSy, float viewTSz, float scale, float &ou, float &ov) |
| Single-sample offset mapping (cheap approximation of the first POM step). | |
| float | eve::graphics::silPomCoverage (float displacedU, float displacedV, float padding=0.f) |
| Silhouette POM coverage in raw mesh UV space [0,1]. | |
| float | eve::graphics::silPomCoverageSoft (float displacedU, float displacedV, float feather) |
| Soft chart coverage in [0,1] — feathers near the UV border (full SilPOM). | |
| float | eve::graphics::silPomHorizonTrim (float height01, float ndotv, float strength, float bias=0.02f) |
| View-dependent horizon trim (SPOM-style) for grazing SilPOM limbs. | |
| void | eve::graphics::ssdmScreenOffset (float height01, float viewNdcX, float viewNdcY, float scale, float &outX, float &outY) |
| Screen-space displacement offset (educational SSDM CPU reference). | |
| float | eve::graphics::ssdmCoverage (float baseU, float baseV, float offsetU, float offsetV, float padding=0.f) |
| Whether an SSDM-displaced screen sample still covers the surface footprint. | |
| void | eve::graphics::clampParallaxParams (ParallaxParams &p) |
| Clamp parallax params. | |