Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mark Kilgard

Pages: [1]
1
A few notes...

Use the latest 280.19 beta drivers for best results.  Get them from:

  http://www.nvidia.com/object/win7-winvista-64bit-280.19-beta-driver.html
  http://www.nvidia.com/object/winxp-280.19-beta-driver.html

For those who want to "try out" the GPU-accelerated path rendering:
1)  get the 280.19 or later driver installed (if you already have 275.xx installed that works too)
2)  download the Windows demos from http://developer.download.nvidia.com/assets/gamedev/files/NVprDEMOs.zip
3)  run any of the 14 demos; the nvpr_svg is the most elaborate demo

Hints about using nvpr_svg:
0)  see the ReadMe_nvpr_svg.txt file for complete details
1)  space bar animates the current scene, rotating & zooming, with a frames/second
2)  the 'f' and 'F' keys advance through SVG scenes (you can also pick them from the pop-up menu, right click for it)
3)  you can pan/zoom/rotate the scene; left click and drag zoom/rotates (up/down zooms in/out; left/right rotates clockwise/counter-clockwise), middle click & drag pans (Ctrl+middle click & drag does a "slow" drag to see antialiasing quality)
4)  'C' (capital C) toggles "warp" points that let you projectively warp any scene; left click and drag the warp points
5)  'c' (lowercase C) toggles the control points that you can also drag around with the mouse; showing the control points for the scene gives you some idea of the path complexity ('i' prints scene statistics)
6)  The "Antialiasing..." pop-up menu item lets you control samples per pixel; you need the 280.11 driver for this to work right (oops, a driver bug got fixed... expect a crash on 275.xx drivers)
7)  Use the 'n' key toggles a "comparison" window that lets you compare the NV_path_rendering speed to Cairo, Skia, Qt, and Direct2D (on Windows Vista/7 systems).  Once the window appears, there's a pop-up menu to select between different renderers.  The space bar animates the current window (GPU-accelerated or alternative) and both report frames/second numbers.

For non-Windows users, the task is a little more involved since you have to build the demos from the NVprSDK source code found at:

  http://developer.download.nvidia.com/assets/gamedev/files/NVprSDK.zip

You'll need a C++ compiler, GNU make, and the Cg Toolkit to compile the demos.  See the ReadMe.txt for details.  But you'll get the same demos as in NVprSDK.  Windows programmers can likewise build the demos from source code.  They'll need the DirectX SDK (for nvpr_svg's Direct2D support) and the Cg Toolkit.  Windows programmers can build from the provided Visual Studio 2008 or 2010 projects.

I hope this helps.

- Mark

Pages: [1]