Skip to content
EntityQ7546464· pop 5· linked from 3 articles

Smoothstep

Sign in to save

thumb|A plot of the smoothstep(x) and smootherstep(x) functions, using 0 as the left edge and 1 as the right edge

Wikidata facts

Show 1 more fact
maintained by WikiProject
WikiProject Mathematics

via Wikidata · CC0

Article · 日本語

SmoothstepはさまざまなコンピュータグラフィックスAPIやゲームエンジンで使用される特定の補間手法である。これは、入力された重みに基づいて、2つの値を補間する関数である。 MSDNとOpenGLの両方で、を使用して実装するように要求されている。 次のような実装例がAMDにより提供されている。 float smoothstep (float edge0, float edge1, float x){ // Scale, bias and saturate x to 0..1 range x = saturate((x - edge0) / (edge1 - edge0)); // Evaluate polynomial return x*x*(3-2*x);}

Abstract from DBpedia / Wikipedia · CC BY-SA

Available in 5 languages

via Wikidata sitelinks · CC0