ay_preferences Struct Reference

User preferences.

#include <ayam.h>

Data Fields

int list_types
 show object types in tree view?
int mark_hidden
 mark hidden objecs in tree view (with a !)?
int single_window
 is the GUI in single window mode?
int single_view
 is the GUI in single view mode?
int scopemanagement
 explicit or implicit management?
int edit_snaps_to_grid
 edit points first snaps them to the grid?
int snap3d
 snap points to the grid in 3D?
int selfacepoints
 synchronize point selection after face selection?
int allow_warp
 allow warping the mouse while snapping?
double object_pick_epsilon
 object picking accuracy
double pick_epsilon
 control point picking accuracy
int lazynotify
 control notification
int completenotify
 control complete notification
int undo_levels
 number of undo levels, -1 turns undo off
int globalmark
 maintain a global mark?
int createat
 create objects at 0 - world origin, 1 - the mark, 2 - camera aim point
int createin
 create objects in world CS, 1 - view CS, 2 - camera CS
int rationalstyle
 display style of rational points (0 - euclidean, 1 - homogeneous)
int normalizetrafos
 normalize (round) trafos?
int normalizemark
 normalize (round) the mark?
int normalizedigits
 digits to preserve when normalizing (6 - 15)
int resolveinstances
 resolve all instances for RIB export?
int checklights
 check/correct light sources for RIB export?
int ristandard
 only issue RI standard compliant requests
int use_sm
 use shadow maps?
int defaultmat
 default material: 0 no, 1 matte, 2 "default"
int writeident
 write object names as RI comments?
int excludehidden
 exclude hidden objects from RIB export?
int smchangeshaders
 rename light shader names for shadow maps?
int pvrenameshader
 rename shader names for primitive variables ?
int mopsiresetdisplaymode
 reset display mode for Mops import?
int mopsiresettolerance
 reset tolerance for Mops import?
double guiscale
 GUI scaling factor (1.0 - 3.0).
int useguiscale
 adapt drawing to gui scale
double handle_size
 size of points
int use_materialcolor
 shade objects in color taken from material?
double linewidth
 width of lines
double sellinewidth
 width of selected lines
double aalinewidth
 width of anti-aliased lines
double aasellinewidth
 width of selected anti-aliased lines
double aafudge
 correction offset for anti-aliased lines
int sdmode
 silhouette detection mode (0 off, 1 z, 2 color, 3 both)
double selbndfactor
 additional width of selected boundary curves
int cullfaces
 enable culling of back faces in OpenGL?
char onerror
 what to do if errors occur? 0 stop, 1 continue
char errorlevel
 what to output to the console? 0 nothing - 3 all
int writelog
 write error messages to a log file?
char * logfile
 file name of log file
int wrib_sm
 is RIB export writing a shadow map?
int wrib_em
 is RIB export writing a environment map?
int wrib_archives
 is RIB export writing an archive?
double glu_sampling_tolerance
 drawing/shading quality
int np_display_mode
 display mode for NURBS surfaces
int nc_display_mode
 display mode for NURBS curves
double glu_sampling_tolerance_a
 drawing/shading quality (in action)
int np_display_mode_a
 display mode for NURBS surfaces (in action)
int nc_display_mode_a
 display mode for NURBS curves (in action)
int glu_cache_float
 unused
int glu_avoid_pwlcurve
 use gluNurbsCurve() for polygonal trims?
int stess_qf
 quality factor derived from GLU sampling tolerance
int smethod
 default sampling mode/quality for NURBS -> PolyMesh conversion
double sparamu
 sampling parameter for U dimension
double sparamv
 sampling parameter for V dimension
int warnunknowntag
 control warnings about unknown tag types
int warnpnts
 control warnings about missing point selection
double polyoffset0
 offset draw & shade
double polyoffset1
 parameter 2 for glPolygonOffset
int save_rootviews
 save root & views with the currently open scene?
int pprev_open
 is a permanent preview window open?
char * pprender
 permanent preview render command template
int conv_reset_display
 should conversion reset the display_mode/sampling_tolerance?
int conv_keep_caps
 should conversion keep caps via CP tags?
int conv_keep_bevels
 should conversion keep bevels via BP tags?
char * texcoordname
 default name for texture coordinate PV tags
char * normalname
 default name for vertex normal PV tags
char * tangentname
 default name for vertex tangent PV tags
char * colorname
 default name for vertex color PV tags
char * opacityname
 default name for vertex opacity PV tags
unsigned int * converttags
 tags to keep/copy upon provide/conversion
int converttagslen
 number of tag types in converttags
int disablefailedscripts
 disable scripts after errors
ay_view_objectcreateview
 view to create objects "in" (see createin)

double bgr
 background color
double bgg
 background color
double bgb
 background color

double obr
 object color
double obg
 object color
double obb
 object color

double ser
 selection color
double seg
 selection color
double seb
 selection color

double grr
 grid color
double grg
 grid color
double grb
 grid color

double tpr
 tagged points color
double tpg
 tagged points color
double tpb
 tagged points color

double shr
 default shade color
double shg
 default shade color
double shb
 default shade color

double lir
 default light color
double lig
 default light color
double lib
 default light color

double sxr
 default drag selection rectangle color (XOR)
double sxg
 default drag selection rectangle color (XOR)
double sxb
 default drag selection rectangle color (XOR)

The documentation for this struct was generated from the following file:
Generated on Thu Jan 2 15:24:24 2025 for Ayam by  doxygen 1.6.3