Thread: [cgkit-commits] cgkit2/doc/tex torus.tex,NONE,1.1 torusgeom.tex,NONE,1.1 cgkit.tex,1.9,1.10 events.t
Brought to you by:
mbaas
From: Matthias B. <mb...@us...> - 2005-03-31 17:25:14
|
Update of /cvsroot/cgkit/cgkit2/doc/tex In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19262/tex Modified Files: cgkit.tex events.tex geomobject.tex gnuplotter.tex render.tex ribexport.tex sphere.tex viewer.tex Added Files: torus.tex torusgeom.tex Log Message: Updates Index: viewer.tex =================================================================== RCS file: /cvsroot/cgkit/cgkit2/doc/tex/viewer.tex,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** viewer.tex 28 Feb 2005 16:59:57 -0000 1.3 --- viewer.tex 31 Mar 2005 17:25:04 -0000 1.4 *************** *** 78,81 **** --- 78,84 ---- "Globals( name=value )" in a scene file. + \item[\code{-t} / \code{--set-time}] + Set the starting time directly instead of stepping there from time 0. + \item[\code{-S<str>} / \code{--stereo=<str>}] Activate stereo display. The argument specifies the method that should be --- NEW FILE: torus.tex --- % Torus \section{\class{Torus} --- Torus object} \begin{classdesc}{Torus}{name = "Torus",\\ major = 1.0,\\ minor = 0.1,\\ segmentsu = 16,\\ segmentsv = 8,\\ ...[WorldObject params]... } \end{classdesc} Index: events.tex =================================================================== RCS file: /cvsroot/cgkit/cgkit2/doc/tex/events.tex,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** events.tex 17 Feb 2005 09:02:46 -0000 1.3 --- events.tex 31 Mar 2005 17:25:03 -0000 1.4 *************** *** 265,268 **** --- 265,279 ---- \begin{classdesc}{SpaceMotionEvent}{translation, rotation, period} + + \var{translation} is a \class{vec3} containing the curreent translation of + the space mouse. The coordinate system of the space mouse is left + handed and such that the X axis points to the right, the Y axis + upwards and the Z axis into the screen. + + \var{rotation} is a \class{vec3} containing the current rotation of the + space mouse. The vector is the rotation axis and the magnitude represents + the angle. + + \var{period} is the time in milliseconds since the last device event. \end{classdesc} Index: ribexport.tex =================================================================== RCS file: /cvsroot/cgkit/cgkit2/doc/tex/ribexport.tex,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** ribexport.tex 12 Dec 2004 14:31:54 -0000 1.1.1.1 --- ribexport.tex 31 Mar 2005 17:25:04 -0000 1.2 *************** *** 32,49 **** \begin{tableiii}{l|l|l}{code}{Option}{Default}{Description} \lineiii{output}{\code{None}}{Output image file name} - \lineiii{resolution}{\code{(640,480)}}{Output image resolution} \lineiii{pixelsamples}{\code{(2,2)}}{Number of pixel samples} \lineiii{shadingrate}{\code{1.0}}{Shading rate} \end{tableiii} \var{output} is the image output name (see above). \var{resolution} is either a 2-tuple (\var{width}, \var{height}) or a 3-tuple (\var{width}, \var{height}, \var{pixel aspect}) specifying the outpout image resolution. - \var{pixelsamples} is a 2-tuple containing the pixel samples setting. - \var{shadingrate} contains the shading rate setting. --- 32,54 ---- \begin{tableiii}{l|l|l}{code}{Option}{Default}{Description} + \lineiii{displaymode}{\code{"rgb"}}{Display mode} \lineiii{output}{\code{None}}{Output image file name} \lineiii{pixelsamples}{\code{(2,2)}}{Number of pixel samples} + \lineiii{resolution}{\code{(640,480)}}{Output image resolution} \lineiii{shadingrate}{\code{1.0}}{Shading rate} \end{tableiii} + \var{displaymode} is the mode string for the \function{RiDisplay()} call + and determines what data is written to the output. Usually you might want + to switch between "rgb" (default) and "rgba". + \var{output} is the image output name (see above). + \var{pixelsamples} is a 2-tuple containing the pixel samples setting. + \var{resolution} is either a 2-tuple (\var{width}, \var{height}) or a 3-tuple (\var{width}, \var{height}, \var{pixel aspect}) specifying the outpout image resolution. \var{shadingrate} contains the shading rate setting. Index: gnuplotter.tex =================================================================== RCS file: /cvsroot/cgkit/cgkit2/doc/tex/gnuplotter.tex,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** gnuplotter.tex 12 Dec 2004 14:31:46 -0000 1.1.1.1 --- gnuplotter.tex 31 Mar 2005 17:25:04 -0000 1.2 *************** *** 13,24 **** --- 13,54 ---- xlabel = None, \\ ylabel = None, \\ + xrange = None, \\ yrange = None, \\ inputs = 1, \\ plottitles = [], \\ + starttime = 0.0, \\ + endtime = 99999.0, \\ enabled = True, \\ auto_insert = True} + \var{title} is a string containing the title of the entire plot. + + \var{xlabel}, \var{ylabel} are strings containing the labels for the X and + Y axis. + + \var{xrange}, \var{yrange} is each a 2-tuple (\var{start}, \var{end}) + containing the range of the X axis resp. Y axis. + + \var{inputs} is the number of input slots that should be created (i.e. + the number of curves you want to plot). + + \var{plottitles} is a list of strings containing the name of the respective + curve. + + \var{starttime} and \var{endtime} defines the range in which values are + received and plotted. The times are given in seconds. + + \var{enabled} is a flag that can be used to disable the plotter. \end{classdesc} + A \class{GnuPlotter} object has the following slots: + + \begin{tableiv}{l|l|c|l}{code}{Slot}{Type}{Access}{Description} + \lineiv{input1_slot}{float}{rw}{First curve} + \lineiv{input2_slot}{float}{rw}{Second curve} + \lineiv{...}{...}{...}{...} + \end{tableiv} + + % -------------------- \begin{notice}[note] To use the \class{GnuPlotter} component the --- NEW FILE: torusgeom.tex --- % TorusGeom \section{\class{TorusGeom} --- Torus geometry} \begin{classdesc}{TorusGeom}{major=1.0, minor=0.1, segmentsu=16, segmentsv=8} \end{classdesc} Index: sphere.tex =================================================================== RCS file: /cvsroot/cgkit/cgkit2/doc/tex/sphere.tex,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** sphere.tex 12 Dec 2004 14:31:56 -0000 1.1.1.1 --- sphere.tex 31 Mar 2005 17:25:04 -0000 1.2 *************** *** 4,8 **** Sphere object} ! \begin{classdesc}{Sphere}{name = ''Sphere'',\\ radius = 1.0,\\ segmentsu = 16,\\ --- 4,8 ---- Sphere object} ! \begin{classdesc}{Sphere}{name = "Sphere",\\ radius = 1.0,\\ segmentsu = 16,\\ Index: cgkit.tex =================================================================== RCS file: /cvsroot/cgkit/cgkit2/doc/tex/cgkit.tex,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** cgkit.tex 22 Feb 2005 15:42:36 -0000 1.9 --- cgkit.tex 31 Mar 2005 17:25:03 -0000 1.10 *************** *** 159,162 **** --- 159,163 ---- \input{ccylinder.tex} \input{plane.tex} + \input{torus.tex} \input{trimesh.tex} \input{group.tex} *************** *** 182,185 **** --- 183,187 ---- \input{ccylindergeom.tex} \input{planegeom.tex} + \input{torusgeom.tex} \input{trimeshgeom.tex} Index: geomobject.tex =================================================================== RCS file: /cvsroot/cgkit/cgkit2/doc/tex/geomobject.tex,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** geomobject.tex 9 Jan 2005 20:13:07 -0000 1.2 --- geomobject.tex 31 Mar 2005 17:25:04 -0000 1.3 *************** *** 35,38 **** --- 35,46 ---- \end{methoddesc} + \begin{methoddesc}{faceVaryingCount}{} + Return the multiplicity of \keyword{FACEVARYING} variables. + \end{methoddesc} + + \begin{methoddesc}{faceVertexCount}{} + Return the multiplicity of \keyword{FACEVERTEX} variables. + \end{methoddesc} + \begin{methoddesc}{newVariable}{name, storage, type, multiplicity=1, user_n=0} Attaches a new primitive variable to the geometry. *************** *** 40,44 **** \var{storage} specifies the storage class, i.e. how many values are actually stored. It must be one of ! \code{CONSTANT}, \code{UNIFORM}, \code{VARYING}, \code{VERTEX} or \code{USER}. The exact number of values depends on the actual geometry. However, \code{CONSTANT} is always exactly one value for the entire --- 48,53 ---- \var{storage} specifies the storage class, i.e. how many values are actually stored. It must be one of ! \code{CONSTANT}, \code{UNIFORM}, \code{VARYING}, \code{VERTEX}, ! \code{FACEVARYING}, \code{FACEVERTEX} or \code{USER}. The exact number of values depends on the actual geometry. However, \code{CONSTANT} is always exactly one value for the entire Index: render.tex =================================================================== RCS file: /cvsroot/cgkit/cgkit2/doc/tex/render.tex,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** render.tex 28 Feb 2005 16:59:57 -0000 1.2 --- render.tex 31 Mar 2005 17:25:04 -0000 1.3 *************** *** 72,75 **** --- 72,78 ---- "Globals( name=value )" in a scene file. + \item[\code{-t} / \code{--set-time}] + Set the starting time directly instead of stepping there from time 0. + \item[\code{-r<str>} / \code{--renderer=<str>}] Select the renderer to use (you can choose among \code{aqsis}, |