線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:1382
推到 Plurk!
推到 Facebook!

Blending Demonstrator - High Polygon Count Benchma

 
axsoft
版主


發表:681
回覆:1056
積分:969
註冊:2002-03-13

發送簡訊給我
#1 引用回覆 回覆 發表時間:2002-06-13 14:15:50 IP:61.218.xxx.xxx 未訂閱
Blending Demonstrator - High Polygon Count Benchma 資料來源:http://www.dev-gallery.com/programming/opengl/index.htm Blending Demonstrator - High Polygon Count Benchma This application was submitted by James Ward. Using it, you can learn about blending parameter combinations and their results, as well as benchmark your graphics card and its ability to handle millions of vertices per frame. The source code is also provided. Lets have a look at the user interface. As you can see, there are 4 menus and 2 toolbars. Using the first toolbar you can change object's transparency (Alpha bar), point size, and resolution. The higher the resolution chosen for a particular object the more points (vertices) are used for its construction. As you can see in the previous screen shot, in the lower part of the window, 4096 points were used to draw the cube shown. Apart from these options you can also choose different objects to render to the screen, as well as pause the rotation by clicking on the pause button. The different objects are: Cube Sphere Cylinder Cube-Cylinder: Object created by subtracting a cylinder from a cube Cube-Sphere: Object created by subtracting a sphere from a cube Sphere-Cylinder: A sphere minus a cylinder 2x2 Checker 4x4 Checker 8x8 Checker: Gives a very big polygon count in big resolutions (~12.5 Million vertices) Using the second toolbar you can enable blending as well as change OpenGL's blending parameters. The pull down lists represent the source and the destination blending factor. Lots of different effects can be achieved by the correct usage of these parameters. At the bottom of the screen you can see the frame rate the application achieves (62Hz or frames per second in the example screen shot) plus the number of vertices used. Finally, several other options are available through the menu bar: File From this menu you can exit the application. Settings Here you can toggle (turn on and off) 4 different options. Smooth Points: Rounded (smooth) or square points Depth Buffer : Enables or disables OpenGL's depth buffer Slice Object : Slices an object in two pieces Hollow Volume: Removes the points inside the object resulting in far less vertices per object View Toggle the two toolbars on or off. Help Renderer: Provides information about the OpenGL driver used, extensions supported, etc... About: Information about the author, homepages, etc.. That's it for now. Have fun. Binary v1.0http://www.dev-gallery.com/files/zips/particle_blend.zip Binary v1.1http://www.dev-gallery.com/files/zips/ParticleBlend101-Binary.zip Sourcehttp://www.dev-gallery.com/files/zips/ParticleBlend101-Source.zip
系統時間:2017-10-24 6:37:44
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!