.\" .\" Copyright (c) 2011-2013 Hypertriton, Inc. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, .\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES .\" (INCLUDING BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR .\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" .Dd SEPTEMBER 20, 2011 .Dt SGEDIT 1 .Os .ds vT FreeSG API Reference .ds oS FreeSG 1.0 .Sh NAME .Nm sgedit .Nd FreeSG editor .Sh SYNOPSIS .Nm sgedit .Op Fl SRTEMvDs .Op Fl d Ar agar-driver .Op Fl t Ar font-spec .Op Ar file .Sh DESCRIPTION The .Nm utility provides a graphical interface for editing FreeSG scenes, scripts or objects. The command-line options are as follows: .Bl -tag -width Ds .It Fl S Create a new FreeSG scene (*.sg file). .It Fl R Create a new FreeSG script (.sgs file). .It Fl T Create a new FreeSG texture object (*.sgt file). .It Fl E Create a new FreeSG map element (*.sge file). .It Fl M Create a new FreeSG map material (*.sgm file). .It Fl v Display the FreeSG version number and exit. .It Fl d Specify an alternate Agar driver / backend (see .Dq AVAILABLE DRIVERS in .Xr AG_InitGraphics 3 for details; some drivers accept optional arguments). .It Fl t Specify the default font (e.g., .Sq _agFontVera:10 , .Sq Courier:12 , .Sq foo.ttf:16 ) . .It Fl s Force scalar vector and matrix operations even if SIMD extensions are available. .It Fl D Enable debugging mode. .El .Sh ENVIRONMENT .Bl -tag -width "LANG " .It Dv LANG ISO language code determining which translation should be used. .El .\" .Sh FILES .Sh SEE ALSO .Xr SG 3 , .Xr SG_Element 3 , .Xr SG_Intro 3 , .Xr SG_Map 3 , .Xr SG_Material 3 , .Xr SG_Script 3 , .Xr SG_Texture 3