陈童的博客's Archivers

From everyinch on 2011-10-24 21:23:43

3D SuperFormula

SuperFormula公式的二维形式为:
<img class="aligncenter size-medium wp-image-632" title="equation1" alt="" src="http://www.everyinch.net/wp-content/uploads/2011/10/equation1-300x41.gif" width="388" height="66" />
扩展到三维形式的公式为:
<img class="aligncenter size-full wp-image-633" title="equation2" alt="" src="http://www.everyinch.net/wp-content/uploads/2011/10/equation2.gif" width="230" height="118" />
SuperFormula试图使用单一的公式对物体进行建模,它扩展了SuperEllipse的对称性,对自然形状尤其是植物有比较好的建模效果,当然也可以建模抽象的形状。使用OpenGL渲染的三维SuperFormula形状:
<img class="aligncenter size-medium wp-image-634" title="stlmodel" alt="" src="http://www.everyinch.net/wp-content/uploads/2011/10/stlmodel-300x225.jpg" width="300" height="225" />
在网页中应用SuperFormula公式来建模自然形状和抽象形状是一种比较灵活的方式,Flat着色的效果如下:
<img class="aligncenter size-medium wp-image-629" title="flat" alt="" src="http://www.everyinch.net/wp-content/uploads/2011/10/flat-300x275.jpg" width="300" height="275" />
Phong着色的效果如下:
<img class="aligncenter size-medium wp-image-630" title="phong" alt="" src="http://www.everyinch.net/wp-content/uploads/2011/10/phong-300x231.jpg" width="300" height="231" />
应用SuperFormula来可视化音频频谱的可以达到比较好的视觉效果:
<img class="aligncenter size-medium wp-image-631" title="superfoormula" alt="" src="http://www.everyinch.net/wp-content/uploads/2011/10/superfoormula-300x187.jpg" width="440" height="215" />

查看完整版本: 3D SuperFormula

From fans on 2014-01-21 20:29:26

在知网上检索到一篇你写的关于Super Formula的论文,受教了

From everyinch on 2014-01-21 20:36:35

有需要帮助的直说,留言即可

Tags: ActionScript, AS, SuperFormula, SuperShape, 频谱


©陈童的博客