source: nanovis/trunk/config.h @ 5064

Last change on this file since 5064 was 3875, checked in by ldelgass, 11 years ago

Add config.h option USE_ARB_PROGRAMS, which will use ARB_vertex/fragment_program
extensions as the Cg compile target instead of NV_vertex_program3 and
NV_fragment_program2. Note that glyph texture style rendering in flows will not
work if this define is set (however, the default style is line arrows which will
work).

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * ----------------------------------------------------------------------
4 * Nanovis: Visualization of Nanoelectronics Data
5 *
6 * ======================================================================
7 *  AUTHOR:  Wei Qiao <qiaow@purdue.edu>
8 *           Purdue Rendering and Perceptualization Lab (PURPL)
9 *
10 *  Copyright (c) 2004-2013  HUBzero Foundation, LLC
11 *
12 *  See the file "license.terms" for information on usage and
13 *  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
14 * ======================================================================
15 */
16
17#ifndef CONFIG_H__
18#define CONFIG_H__
19
20/*
21 * GeForce 6 series and above cards support non-power-of-two texture
22 * dimensions.  If using a 5 series card, disable this define
23 */
24#define HAVE_NPOT_TEXTURES
25
26/*
27 * GeForce 6 series and above cards support 16- or 32-bit float filtering
28 * and blending.  If using a 5 series card, disable this define
29 */
30#define HAVE_FLOAT_TEXTURES
31
32/*
33 * GeForce 8 series cards support 32-bit float filtering and blending.
34 * If using a 6 or 7 series card, enable this define to use 16-bit float
35 * textures and blending
36 */
37#define USE_HALF_FLOAT
38
39/*
40 * If defined, use ARB_vertex_program and ARB_fragment_program as Cg
41 * profile target, otherwise NV_vertex_program3 and NV_fragment_program2
42 * are required
43 */
44//#define USE_ARB_PROGRAMS
45
46/*
47 * Keep statistics
48 */
49#define KEEPSTATS
50
51/*
52 * Controls whether DX data is downsampled.
53 */
54//#define DOWNSAMPLE_DATA
55
56/*
57 * Determines if Sobel filter is applied to gradients when loading a
58 * volume
59 */
60//#define FILTER_GRADIENTS
61
62#endif
Note: See TracBrowser for help on using the repository browser.