home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Graphics / Graphics.zip / fs042b.zip / help.HLP (.txt) < prev   
OS/2 Help File  |  1997-08-22  |  20KB  |  519 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. ForeSpace OS/2 ΓòÉΓòÉΓòÉ
  3.  
  4. ForeSpace OS/2 is a graphical modeller designed to produce scene files for the 
  5. POV-Ray raytracer. This documentation is not intended to replace that provided 
  6. with POV-Ray but only to explain the use of ForeSpace. 
  7.  
  8. ForeSpace has been written using IBM Visualage for C++ version 3.0 and the IBM 
  9. Open Class Libraries. 
  10.  
  11. Author : 
  12.  
  13.  Sean Ryan 
  14.  
  15. damien@mpx.com.au 
  16.  
  17. damien@comcen.com.au 
  18.  
  19. s3042813@titanic.mpce.mq.edu.au 
  20.  
  21. www.mpx.com.au/~damien 
  22.  
  23.  
  24. ΓòÉΓòÉΓòÉ 2. Object types ΓòÉΓòÉΓòÉ
  25.  
  26. There are fifteen different object types currently supported by ForeSpace. All 
  27. of these different object types have common attributes such as textures and 
  28. transformations that can be modified through the object settings notebook. 
  29.  
  30. Many of these object types also have unique attributes that can be accessed 
  31. through their associated pages in the object settings notebook. 
  32.  
  33. The object types currently supported by ForeSpace are: 
  34.  
  35.      Area Light 
  36.      Bezier patch 
  37.      Box 
  38.      Cone 
  39.      CSG 
  40.      Cylinder 
  41.      Disc 
  42.      Heightfield 
  43.      Plane 
  44.      Point light 
  45.      Polygon 
  46.      Sphere 
  47.      Spotlight 
  48.      Text 
  49.      Torus 
  50.  
  51.  
  52. ΓòÉΓòÉΓòÉ 2.1. Bezier Patch ΓòÉΓòÉΓòÉ
  53.  
  54. Like the polygon object, the bezier patch has a graphical extended edit in 
  55. addition to a dialog box. 
  56.  
  57. When you perform an extended edit on a bezier patch, the patches' control 
  58. points are displayed for you to move to shape the patch to your liking. These 
  59. control points are selected in the same way as other objects are normally. 
  60. While in this mode however, other objects cannot be selected. 
  61.  
  62. When entering this mode, a floating toolbar will appear with a single button 
  63. Finish edit on it. Selecting Finish edit will remove the control points and 
  64. frame, and return ForeSpace to it's normal editing mode. 
  65.  
  66. A bezier patch's extended attributes are accessed through it's page in the 
  67. object settings notebook. 
  68.  
  69. The attributes are: 
  70.  
  71.      Patch type 
  72.  
  73.      Flatness 
  74.  
  75.      U_Steps 
  76.  
  77.      V_Steps 
  78.  
  79.      Divisions 
  80.  
  81.  The divisions attribute specifies how many lines on each axis ForeSpace will 
  82.  break the patch into for drawing. The more divisions, the smoother the patch 
  83.  looks but the longer it takes to draw. This attribute has no effect on the 
  84.  actual tracing of the patch. 
  85.  
  86.  Please refer to POV-Ray documentation for details on the other options. 
  87.  
  88.  
  89. ΓòÉΓòÉΓòÉ 2.2. Box ΓòÉΓòÉΓòÉ
  90.  
  91. Boxes are simple objects with no extended attributes. They are created as cubes 
  92. 1 unit in each dimension and centered on the origin. 
  93.  
  94.  
  95. ΓòÉΓòÉΓòÉ 2.3. Cone ΓòÉΓòÉΓòÉ
  96.  
  97. Cones have extended attributes of top and bottom radii and can be open or 
  98. closed. By default cones are closed with a bottom radius of 1 unit and a top 
  99. radius of 0 units. 
  100.  
  101.  
  102. ΓòÉΓòÉΓòÉ 2.4. CSG ΓòÉΓòÉΓòÉ
  103.  
  104. Constructive Solid Geometry objects are objects that are made by performing 
  105. boolean geometry operations between child objects. CSG operations available are 
  106. union , intersection, merge and difference. All currently available object 
  107. types are valid for use as a CSG's child object. See POV-Ray documentation for 
  108. an explanation of these operations. 
  109.  
  110. The unique attributes of a CSG are, of course, the type of operation performed 
  111. between the child objects, and the child objects themselves. The CSG extended 
  112. edit page allows you to add or remove objects from the CSG's child list and 
  113. change the operation performed by the CSG. 
  114.  
  115. The easiest way to create a CSG is to have selected all the objects you wish to 
  116. make the CSG from when you create it. This way the selected objects are 
  117. automatically included in the CSG's child list. 
  118.  
  119. A primary object for the CSG must be selected from the list of children. This 
  120. object is only of relevance to a CSG of type difference, as it specifies the 
  121. object from which the others are subtracted. 
  122.  
  123.  
  124. ΓòÉΓòÉΓòÉ 2.5. Cylinder ΓòÉΓòÉΓòÉ
  125.  
  126. Cylinders are created with a radius of 1 unit, with their base centered on the 
  127. origin and 1 unit long along the +z axis. 
  128.  
  129. Cylinders have only one extended attribute - whether the cylinder is open or 
  130. closed. 
  131.  
  132.  
  133. ΓòÉΓòÉΓòÉ 2.6. Disc ΓòÉΓòÉΓòÉ
  134.  
  135. Discs are created with a radius of 1 unit, centered on the origin and lying in 
  136. the x-y  plane. 
  137.  
  138. Discs have two extended attributes  - inner and outer radius. By default discs 
  139. have an inner radius of zero. 
  140.  
  141.  
  142. ΓòÉΓòÉΓòÉ 2.7. Heightfield ΓòÉΓòÉΓòÉ
  143.  
  144. Heightfields are created as cubes 2 units each side, centered at the origin. 
  145.  
  146. Heightfields have extended attributes of the filename, the waterlevel and the 
  147. smooth option. Please refer to POV-Ray documentation for a detailed explanation 
  148. of these attributes. 
  149.  
  150. Note: Take care to ensure that the file specified lies within a path you have 
  151. included in the scene. 
  152.  
  153.  
  154. ΓòÉΓòÉΓòÉ 2.8. Lights ΓòÉΓòÉΓòÉ
  155.  
  156. All lights share some extended attributes. These are: 
  157.  
  158.      Fade distance 
  159.  
  160.      Fade power 
  161.  
  162.      Shadowless 
  163.  
  164.      Atmospheric attenuation 
  165.  
  166.      A 'Looks like' object 
  167.  
  168.      Colour 
  169.  
  170.  Currently, the Looks like attribute is not supported. 
  171.  
  172.  Please refer to POV-Ray documentation for an explanation of the other extended 
  173.  attributes. 
  174.  
  175.  Light types supported by ForeSpace are: 
  176.  
  177.      Area light 
  178.  
  179.      Point light 
  180.  
  181.      Spotlight 
  182.  Tip : Lights generally work better if you position them as far as possible 
  183.  from the objects you are illuminating (unless you are using atmospheric 
  184.  attenuation, of course). 
  185.  
  186.  
  187. ΓòÉΓòÉΓòÉ 2.8.1. Area Light ΓòÉΓòÉΓòÉ
  188.  
  189. Area lights are essentially pointlights that, for the purpose of calculating 
  190. shadows, are broken up into a number of dimmer pointlights spread over an area. 
  191. The effect of this is to create more realistic shadows by softening their 
  192. edges. 
  193.  
  194. Area lights can be scaled, rotated and translated to achieve the desired 
  195. effect. Consult POV-Ray documentation for information regarding the effects of 
  196. the area-light's extended attributes. 
  197.  
  198.  
  199. ΓòÉΓòÉΓòÉ 2.8.2. Point light ΓòÉΓòÉΓòÉ
  200.  
  201. Point lights have only the extended attributes common to all lights. 
  202.  
  203. Scaling and rotation transformations have no effect on the point light object. 
  204.  
  205.  
  206. ΓòÉΓòÉΓòÉ 2.8.3. Polygon ΓòÉΓòÉΓòÉ
  207.  
  208. Polygon objects are two-dimensional, lying on the x-y plane. They have no 
  209. extended attributes, but do allow graphical editing, using the polygon editor. 
  210.  
  211.  
  212. ΓòÉΓòÉΓòÉ 2.8.4. Spotlight ΓòÉΓòÉΓòÉ
  213.  
  214. In addition to the extended attributes common to all lights, spotlights have 
  215. radius, falloff and tightness attributes. Please refer to POV-Ray documentation 
  216. for an explanation of these. 
  217.  
  218. Spotlights are created at the origin, facing along the -z axis. Translate the 
  219. spotlight to the desired location and rotate it to face the required direction. 
  220.  
  221. Scaling transformations have no effect on the spotlight object. 
  222.  
  223.  
  224. ΓòÉΓòÉΓòÉ 2.9. Plane ΓòÉΓòÉΓòÉ
  225.  
  226. Planes are created lying on the x-y plane. ForeSpace graphically represents 
  227. planes as finite, streching from 2 to -2 on both x and y axes, with the plane 
  228. normal indicated by a 0.5 unit length line along the +z-axis from the center of 
  229. the plane. When traced however, POV-Ray treats planes as infinite solids, with 
  230. the outside being everything on the normal side of the plane. 
  231.  
  232.  
  233. ΓòÉΓòÉΓòÉ 2.10. Sphere ΓòÉΓòÉΓòÉ
  234.  
  235. The sphere object has no extended attributes. 
  236.  
  237. It is created as a sphere of radius 1 unit, centered on the origin. 
  238.  
  239.  
  240. ΓòÉΓòÉΓòÉ 2.11. Text ΓòÉΓòÉΓòÉ
  241.  
  242. Text objects are created lying on the x-y plane, facing along the +ve z-axis. 
  243. The bottom-left of the first character is at the origin, with additional 
  244. characters streching along the +ve x-axis. The characters depth is 1 unit: top 
  245. at z = 1, bottom at z = 0. 
  246.  
  247. Extended attributes are : the text itself, the TrueType font file to use, and 
  248. x/y offsets used to space characters. 
  249.  
  250. Currently, the representation of text objects is simply a box approximating the 
  251. size of each character - it is not precise. This will be addressed in a future 
  252. release of ForeSpace. 
  253.  
  254. The font files presented in the list box are all the TTF files found in the 
  255. include directories specified for the scene. If you wish to use any additional 
  256. fonts, either copy the TTF files to an included directory, or add your font's 
  257. directory to the include directories list box in the scene globals dialog box. 
  258.  
  259. The x/y offset values are zero by default. Values entered in these fields will 
  260. added as additional spacing between each character. 
  261.  
  262.  
  263. ΓòÉΓòÉΓòÉ 2.12. Torus ΓòÉΓòÉΓòÉ
  264.  
  265. The torus object has extended attributes of inner radius, and outer radius. 
  266. These values specify the radius of the hole in the torus and the radius of the 
  267. outer edge of the torus respectively. 
  268.  
  269. It is created with an inner radius of 1 unit and an outer radius of two units, 
  270. centered on the origin, and lying in the x-z plane. 
  271.  
  272.  
  273. ΓòÉΓòÉΓòÉ 3. Object settings notebook ΓòÉΓòÉΓòÉ
  274.  
  275. The object settings notebook has all the common attributed of objects 
  276. represented on the first page. For each type of selected object that has 
  277. extended attributes, an additional page will appear, on which that extended 
  278. attributes may be altered. If several objects of the same type are selected, 
  279. any attributes that are altered will be applied to every object selected. 
  280.  
  281. The common attributes are: 
  282.  
  283.      Name 
  284.  
  285.      Layer 
  286.  
  287.      Transform before texture 
  288.  
  289.      Hollow 
  290.  
  291.      No Shadow 
  292.  
  293.      Texture 
  294.  
  295.      Transformations 
  296.  
  297.  If multiple objects are selected, changes will apply to all. 
  298.  
  299.  Note:  Editing the name field when multiple objects are selected has no 
  300.  effect. 
  301.  
  302.  
  303. ΓòÉΓòÉΓòÉ 3.1. Transform before texture ΓòÉΓòÉΓòÉ
  304.  
  305. When transform before texture is selected, the object will have it's 
  306. transformations applied to it before it's texture is applied to it. This 
  307. prevents the texture on the object from becoming distorted by any scaling done 
  308. on the object itself. The texture can be transformed independently of the 
  309. object. 
  310.  
  311. The default is to transform the object first. 
  312.  
  313.  
  314. ΓòÉΓòÉΓòÉ 3.2. Texture selection ΓòÉΓòÉΓòÉ
  315.  
  316. A texture can be selected for the object from the list box or from the previews 
  317. window. 
  318.  
  319. Textures are created through the Texture Manager. 
  320.  
  321.  
  322. ΓòÉΓòÉΓòÉ 3.3. Object Transformations ΓòÉΓòÉΓòÉ
  323.  
  324. By default the values shown are the actual values of the transformation 
  325. elements of the selected objects. If these values are changed, the changes will 
  326. apply to all selected objects. 
  327.  
  328. Selecting the Values indicate change in variable button will reset all the 
  329. fields to zero, and any values entered will be added to the selected object's 
  330. existing values. ie: Entering a 1 in the first translation field will move all 
  331. selected objects 1 unit positively along the x axis, regardless of their 
  332. current individual x axis positions. 
  333.  
  334. A * indicates that this value varies among the selected objects. If you change 
  335. other values but leave the * then these varied values will not be altered. For 
  336. example, suppose you have several objects distributed around the x-y plane and 
  337. you wish to bring them into alignment along the x-axis without altering their x 
  338. values. After selecting all the objects and opening the object settings dialog, 
  339. you will see a * in both the x and y translation fields. Change the y value to 
  340. 0 and leave the x value as a *. Now the objects are all lined up along the 
  341. x-axis with their original x translation values. 
  342.  
  343.  
  344. ΓòÉΓòÉΓòÉ 4. Extended attributes ΓòÉΓòÉΓòÉ
  345.  
  346. Each object type that has unique attributes (such as the innner/outer radii of 
  347. the torus, or the colour of a light source) has an associated page in the 
  348. object settings dialog that allows you to edit these attributes. 
  349.  
  350. Object types that have extended attributes are 
  351.  
  352.      Area Light 
  353.      Bezier patch 
  354.      Cone 
  355.      CSG 
  356.      Cylinder 
  357.      Disc 
  358.      Heightfield 
  359.      Point light 
  360.      Spotlight 
  361.      Text 
  362.      Torus 
  363.  
  364.  
  365. ΓòÉΓòÉΓòÉ 5. Mouse editing ΓòÉΓòÉΓòÉ
  366.  
  367. The easiest method of transforming your objects is to use the mouse to 
  368. translate, rotate, scale or shear the selected objects by simply left-click and 
  369. dragging on a view. The particular operation performed by the mouse is selected 
  370. by clicking on one of the toolbar buttons or by selecting the corresponding 
  371. menu item under Edit/Mouse action. 
  372.  
  373. When transforming objects in this way, you can constrain the movement to one 
  374. axis by holding down the control key. Additionally, while  scaling objects you 
  375. can force uniform scaling (in two axes) by holding down the alt key while you 
  376. drag. 
  377.  
  378. In both cases the key must be pressed before clicking the left mouse button. 
  379.  
  380.  
  381. ΓòÉΓòÉΓòÉ 6. The Sidebar ΓòÉΓòÉΓòÉ
  382.  
  383. The sidebar provides real-time feedback from your  mouse editing by displaying 
  384. the current values for a selected object. Note that only one of the selected 
  385. objects is displayed at a time. You can choose from among the selected objects 
  386. in the list box at the top of the bar. 
  387.  
  388. These values may also be edited by hand and the applied to the object by 
  389. pressing enter or by clicking apply. Once again, these changes only apply to 
  390. the object selected in the object list box. If you wish to make changes to all 
  391. selected objects simultaneously, use the object settings dialog. 
  392.  
  393.  
  394. ΓòÉΓòÉΓòÉ 7. Selecting objects ΓòÉΓòÉΓòÉ
  395.  
  396. There are two methods for selecting objects. 
  397.  
  398.      Selecting with the mouse 
  399.  
  400.      The Select Object dialog 
  401.  
  402.  
  403. ΓòÉΓòÉΓòÉ 7.1. Selecting objects with the mouse ΓòÉΓòÉΓòÉ
  404.  
  405. Objects can be selected by shift-dragging the mouse over object's vertices or 
  406. shift+control+dragging to toggle selection. 
  407.  
  408. This action can be performed on any view. 
  409.  
  410. Note: For drawing efficiency, the plane object only has vertices along it's 
  411. edges not where lines meet in the middle, so you must drag the selection box 
  412. over it's edges or the plane's normal line to select it. 
  413.  
  414. Note: When selecting a CSG object by this method, only the ultimate parent 
  415. object is selected. The individual children that it is made of are not. 
  416.  
  417.  
  418. ΓòÉΓòÉΓòÉ 7.2. Select Object dialog ΓòÉΓòÉΓòÉ
  419.  
  420. This dialog can be found by clicking the arrow toolbar button, or from the Edit 
  421. menu. 
  422.  
  423. The select object dialog provides a list of all currently visible (see layers) 
  424. objects, representing hierarchy by indenting child objects. 
  425.  
  426. Any number of objects can be selected from this dialog. 
  427.  
  428. Note: When transforming CSG's, you generally only want to have the CSG 
  429. selected, not it's children too. If you have both the parent and a child 
  430. selected, any operations you make will effect both. ie: the parent will be 
  431. moved, and the child will be moved within the parent - effectively moving it 
  432. twice. It's perfectly Ok to move just the child around within it's parent 
  433. though. 
  434.  
  435.  
  436. ΓòÉΓòÉΓòÉ 8. Layers ΓòÉΓòÉΓòÉ
  437.  
  438. For large or complex scenes, it's sometimes handy to be able to block out all 
  439. the objects you are not working on at the time. This speeds redraws and makes 
  440. selecting objects easier. 
  441.  
  442. To accomodate this, ForeSpace has 32 layers which you can toggle on or off 
  443. using the layers dialog. This is accessed through the 'L' toolbar button or 
  444. from the Edit menu. 
  445.  
  446. Each object exists within a layer, selectable in the  object settings dialog. 
  447. If that a particular layer is on, then all objects that reside in that layer 
  448. will be visible. By default all layers are on. 
  449.  
  450. When an object is created, it will be placed in the first visible layer (or 
  451. layer 1 if you're working blind :-). 
  452.  
  453. Objects that are not in a currently visible layer will not appear in the select 
  454. object dialog and are not selectable by shift-dragging. When a trace is done, 
  455. however, all objects are always exported regardless of their current visiblity 
  456. status in ForeSpace. 
  457.  
  458.  
  459. ΓòÉΓòÉΓòÉ 9. The View Windows ΓòÉΓòÉΓòÉ
  460.  
  461. The four view windows provide a means of graphically interacting with, and 
  462. viewing your objects. 
  463.  
  464. By default the views are (clockwise from top left) looking down the -x axis, 
  465. the -y axis, the -z axis (top down view) and the camera view. 
  466.  
  467. These defaults may be changed using the Tools/Configure Views dialog. 
  468.  
  469. All views allow mouse interaction with the exception of the camera view which 
  470. does not allow editing, but does allow mouse selections to be made. 
  471.  
  472. All views except the camera view may be panned and zoomed. 
  473.  
  474.  
  475. ΓòÉΓòÉΓòÉ 9.1. Panning a view ΓòÉΓòÉΓòÉ
  476.  
  477. View windows can be panned by simply right-clicking and dragging on the view. 
  478.  
  479.  
  480. ΓòÉΓòÉΓòÉ 9.2. Zooming a view ΓòÉΓòÉΓòÉ
  481.  
  482. View windows can be zoomed by clicking and holding both (left and right) mouse 
  483. buttons and dragging the mouse. Move left to zooming and right to zoom out. 
  484.  
  485.  
  486. ΓòÉΓòÉΓòÉ <hidden> Message Help ΓòÉΓòÉΓòÉ
  487.  
  488. The file you selected could not be opened for one or more of the following 
  489. reasons: 
  490.  
  491.      The file could not be found.  It may have been deleted, renamed, or 
  492.       moved. 
  493.      There are too many open files.  If this is the case, increase the FILES= 
  494.       number in your CONFIG.SYS. 
  495.      Access to the file was denied.  Check the file's attributes and make sure 
  496.       that you have write access to the file. 
  497.      The file may be in use by another process.  Stop all processes that could 
  498.       be using the file and try opening the file again. 
  499.      The disk is full. 
  500.  
  501.  Check that none of the above conditions is true and try the opening the file 
  502.  again. 
  503.  
  504.  
  505. ΓòÉΓòÉΓòÉ <hidden> Message Help ΓòÉΓòÉΓòÉ
  506.  
  507. This action is invalid until you have opened a file.  Open a file by selecting 
  508. Open... from the File pull-down menu. 
  509.  
  510.  
  511. ΓòÉΓòÉΓòÉ <hidden> Message Help ΓòÉΓòÉΓòÉ
  512.  
  513. Help is not available due to one or more of the following reasons: 
  514.  
  515.      The HELP.HLP file is not present on the HELP path.  Ensure that the \HELP 
  516.       directory is present along your HELP path, and that the HELP.HLP file 
  517.       exists. 
  518.      The HELP.HLP file is corrupted. 
  519.