几何形体
Implicit
Pros:
• compact description (e.g., a function)
• certain queries easy (inside object, distance to surface)
• good for ray-to-surface intersection (more later)
• for simple shapes, exact description / no sampling error
• easy to handle changes in topology (e.g., fluid)
Cons:
• difficult to model complex shapes
Explicit
No “Best” Representation, Each choice best suited to a different task/type of geometry
More Implicit Representations in Computer Graphics
一条由四个点(其实是任意≥3个点)定义的曲线:
Evaluating Bézier Curves (de Casteljau Algorithm)
例子:(quadratic Bezier)
计算方法: