Main Page
From GMLwiki
The official homepage of the GML: http://www.generative-modeling.org
GML Library Summary (Version 165)
Keep this under your pillow :-)
Tutorials
|
GML Reference
OpenSG related |
Quick Reference
BRep
baseface brep-statistics checkR connectedvertices dist_ptface dist_ptmesh dist_pttriangle edgedirection edgemate faceCCW faceCW facedegree facemidpoint facenormal faceplane faceplanedist findbackwall getsharpness hasrings intersect_faceplane isBaseface isValidEdge issharp killEF killEV killEmakeR killFmakeRH killVEFS makeEF makeEV makeEVone makeEkillR makeFkillRH makeVEFS minfacedist moveE moveF moveV nextring pointinface popsharpness pushsharpness rayintersect rayintersectinface rayintersecttwice sameEdge sameFace sameVertex setsharpness sharpE sharpF sharpV smoothF temptypeV tess-export tess-export-clear tesselate valence vertexCCW vertexCW vertexpos
BRepMacro
brep-eulerop-set-state brep-eulerop-state clearmacro currentmacro deleteallmacros deletemacro edge2macro endmacro get-currentmacro getmacrobox getmacrochildsphere loadmesh macroischild macroisdirectchild macroisdirectparent macroisparent macrosetLOD newmacro redomacro redomacrodepth savemesh undomacro unloadmesh
BallAndStick
bns-arrow bns-ball bns-clear bns-clear-mesh bns-mesh bns-poly bns-polygon bns-remove bns-stick bns-style-arrow bns-style-ball bns-style-mesh bns-style-stick
Core
aload append array array-get arrayappend arrayremove begin bind break catch catch-error clear cleartomark copy count counttomark currentdict cvlit cvx def dict dictfromarray dup eappend echo edef end eput eq exch exec exit flatten for forall forx ge get gt if ifelse ifpop index keys known le length load loop lt map ne pop pop-back pop-front pops put repeat resetinterpreter reverse roll slice sort-number-permutation subarray throw tokenformat tokensize twoforall twomap type undef values where
CoreMath
aNormal abs acos add and asin atan atan2 ceiling clamp cos cross determinant dist div exp floor getX getY getZ inv ln log mod mul neg normalize not or pi planemul pow putX putY putZ random round sin sqrt sub tan trunc vector2 vector3
Eventhandling
applet-clear cbrepstaticquality find-picked-object get-camera get-near-farplane-fov io-callback io-show-frustum io-show-macros iobackgroundtexture iocapturemouse iogetkey iopickray ioremove ioremoveall iorenderhook iorenderpatch iospacemouse macrosetLODparam opengl-rendermode opengl-transparency renderstringconst rendertextconst screenshot tesselationcolor test-polygon-order
GMLApplet
get-camera opengl-camera opengl-fov with-navigation
GMLXML
dictfromxgml xml-clear xml-root xml-to-string xml-to-string-pretty xml-dump xml-child xml-parent xml-prev xml-next xml-remove xml-element-append xml-element-before xml-element-after xml-text-append xml-text-before xml-text-after xml-node-name xml-node-name-eq xml-known xml-validnode
Geometry
angle_2vec angle_3pt angle_3ptpoly anglenormal_2vec bspline17 circle circle_dir circleseg coordAbs_3pt coordabs_2vec coordsame_2vec coordsame_3pt dist_ptplane dist_ptseg eigensystem3x3 endmove_2pt endmul_2pt halfwayCCW_2vec intersectSTPQ_2line intersectST_2line intersect_2circleseg intersect_2line intersect_2plane intersect_circles intersect_circleseg_circle intersect_line_ellipse intersect_line_ellipse2D intersect_lineplane intersect_segments intersect_segsphere intersect_spheres intersectnormal_2vec joinsharp joinsmooth line_2pt makesharp makesmooth midpoint_2pt move_2pt normal_2vec normalabs_2vec normalsame_2vec offset_2pt offset_3pt offsetpolygon plane_3pt projectS_ptline project_2vec project_polyplane project_ptline project_ptplane quad readpolygon rot_pt rot_vec rotskew_vec scale_vec segs2polygons setlength_vec
GlutSceneGraph
BasisTransform BitmapText Cone Cube Dodecahedron EndNode Icosahedron NodeBegin NodeNew NodeNew-core Octahedron PhongMaterial PointLight Rotate Scale Sphere StrokeText Teapot Tetrahedron Torus Translate basistransform-core begin-scenegraph bitmaptext-core cone-core cube-core currentnode detach-parent dodecahedron-core end-scenegraph get-world-node glutsg-clear glutsg-remove icosahedron-core octahedron-core phongmaterial-core pointlight-core rotate-core scale-core set-world-node sphere-core stroketext-core teapot-core tetrahedron-core torus-core translate-core
Materials
GLmaterial getfacematerial getmaterialnames replace-texture savemeshwithmaterials setcurrentmaterial setfacematerial
Modeling
bridgerings bridgerings-simple extrude extrude-simple extrudeAsRing extrude_2face extrudearray extrudepath extrudepolygon extrudering extruderingarray extrudestable faceborder faceborderset faceneighborhood faceset-to-edgeset getedgelimit getfacedata getpatchdata getpatchlimit getpatchrings getpatchsubdivision getsubdivweights gluefaces makeladder path2poly poly2doubleface poly2doubleface-simple polys2faceswithrings project_polygonface project_ringplane ring2poly shell-collect-faces slickExtrude subdivedge
PolysAndMesh
pnm-clear pnm-edge pnm-face pnm-halfedge pnm-point pnm-remove pnm-segment pnm-string pnm-text pnm-vertex
Raytracing
TestGML
opengl-animation-load opengl-animation-play opengl-background opengl-reset-view opengl-stereoparameter
XFig
xfig-arc xfig-background xfig-box xfig-circle xfig-clear xfig-ellipse xfig-line xfig-mesh xfig-pie xfig-polygon xfig-polyline xfig-showpage xfig-spline xfig-startpage xfig-style-arrow xfig-style-fill xfig-style-line xfig-style-reset xfig-style-text xfig-style-transform xfig-text
OpenSG Related Operators
The following operators are heavily under development. Especially the OSGBox Resource will be updated frequently and may change a lot in the future.
OpenSGCore
osg-addchild osg-aref osg-child osg-clear osg-clonetree osg-corednode osg-deg2rad osg-fieldname osg-fieldnum osg-find osg-getfield osg-getfcid osg-gettranslate osg-identity osg-imgread osg-insertfield osg-insertnode osg-isnull osg-istype osg-load osg-loadx osg-mat osg-new osg-newnode osg-notnull osg-numchildren osg-numfields osg-numparents osg-ocstowcs osg-parent osg-pp osg-purgeall osg-rad2deg osg-rayintersect osg-replacebyfield osg-replacefield osg-rotate osg-addrotate osg-scale osg-setactive osg-setname osg-sref osg-subatfield osg-subchild osg-subfield osg-token osg-touch osg-toworld osg-translate osg-typename osg-volume osg-wcstoocs
SimpleSceneManager
osg-getroot osg-highlight osg-headlight osg-setroot osg-showall osg-window
Primitives
Box Cone ConicalFrustum Cylinder Extrusion LatLongSphere Plane Sphere Torus Text TexQuad
House Elements (experimental)
Dictionary Materials (experimental)
OSGBox
osg-anim-camera osg-anim-rotate osg-anim-scale osg-anim-start osg-anim-start-all osg-anim-translate osg-async-load osg-drop-is-text osg-get1geonode osg-getroot-hud osg-reg-dropcallback osg-reg-proxycallback osg-reg-rendercallback osg-showfocused osg-toggle-proxy osg-unreg-dropcallback osg-unreg-proxycallback osg-unreg-rendercallback osg-reg-joystick osg-get-screen-coords osg-reg-tracker osg-send-tcpip osg-clear-scene
Examples
Bug Reports
- TestGML: Macro Culling und Eulerop-Slider zusammen crashen!
