home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 208.lha / XObj.doc < prev    next >
Text File  |  1996-02-14  |  7KB  |  162 lines

  1. ***************************************************************
  2.  
  3.     XOBJ - An "ObjectWare" program.
  4.     
  5.     (c) Copyright 1988, 1989. Phil Camp.
  6.     This program may be freely redistributed under the 
  7.     following conditions;
  8.       1) This file is included with the program.
  9.       2) The program is not described as Public Domain.
  10.       3) No profit is directly made from its sale.
  11.      
  12. *************************************************************
  13.  
  14. XObj?:
  15.  
  16. What is it?.....
  17.  
  18. XObj is a handy utility to convert 3D objects from VideoScape 3D file
  19. format into Turbo Silver object files.
  20.  
  21. Why is it?......
  22.  
  23. If you are, like me, not skilled in the art of designing and producing
  24. 3D objects for your Turbo Silver pictures, you will find there are a lot
  25. of cheaply or even freely available objects for use with VideoScape 3D by
  26. Aegis. I wrote this program to enable me to tap this supply of objects
  27. and use them in Turbo Silver.
  28.  
  29. How much is it?......
  30.  
  31. Its FREE (well it costs no money!). I have devised a new support scheme for
  32. XObj. XObj is not Public Domain, its not ShareWare (its not even BeerWare),
  33. its...........   OBJECTWARE!!!. To become a offical owner of XObj all you 
  34. have to do is provide me with any objects you might have. Objects 
  35. can be donated in two ways; 1) An object that I can release into the
  36. Public Domain. I hope to build a library of PD objects that will be of
  37. use to all Turbo Silver users. 2) A private object that you do not want to
  38. see redistributed, but you would not mind me playing with. 
  39.  
  40. In return for these objects you will be registered as an offical owner
  41. of XObj. If there is enough support I will continue to develop programs
  42. and utilities for use with the various 3D packages. In addition you can
  43. obtain the source of XObj for a minimal fee.
  44.  
  45. How does it work....
  46.  
  47. XObj can be run from either the CLI or workbench. Please note; the program
  48. requires the ARP library to be in your 'libs' directory as it uses this
  49. library for the file requester. XObj is very simple to use, it can be
  50. run in two basic ways;
  51.  
  52. 1) From the CLI with two filename arguments. The first filename is the
  53. Videoscape 3D file to read, the second is the filename to write the
  54. Turbo Silver object onto (eg. "XObj MyObject.geo MyObject.obj" reads from
  55. MyObject.geo and writes to MyObject.obj).
  56.  
  57. 2) From the workbench or CLI with no arguments. XObj will use the file 
  58. requestor to determine the filenames. A file requester should
  59. appear asking for the VideoScape 3D object's file name. Enter or select
  60. the required file. Next XObj will put up another file requester that will
  61. ask for the Turbo Silver file you want it to write. Either select an existing
  62. file or type in a new filename. XObj will then convert the file.
  63.  
  64. Whats all this stuff on the screen?.....
  65.  
  66. XObj gives you some status and stats on the object being converted. These
  67. include stats on the size of the object and the size of the resultant
  68. Turbo Silver object. When reading data XObj puts a '.' on the screen 
  69. every 10 points or polygons. This can help you locate errors in the 
  70. input file.
  71.  
  72. How do I use the resultant file?.....
  73.  
  74. When in Turbo Silver, simple select the 'LOAD' menu item from the Settings
  75. menu. This will load the object. You can then rotate/scale/manipulate the
  76. object using the obejct editors commands.
  77.  
  78. Sounds good. What cant it do?.......
  79.  
  80. XObj does have limitations (dont all free programs!). 
  81.  
  82. 1) Limits on the complexity of the object. Currently (1.01a) XObj can
  83. only convert objects within the following constraints;
  84.   a) The V3D object cannot contain more than 2700 points.
  85.   b) The V3D object cannot contain more than 5300 polygons.
  86.   c) The resultant TS object file cannot contain more than 8000 edges.
  87.   d) The resultant TS object file cannot contain more than 5000 edges.
  88. These are limitations, but you will find that not many objects are that
  89. big!. Because the V3D files are stored in text form it is simple to split
  90. objects should you need to.
  91.  
  92. 2) Complex polygons. V3D is a polygon based 3D package while all the ray
  93. tracing packages are based on Triangles. XObj can only handle polygons
  94. that have 3 or 4 vertices. You will find that 95% of all polygons out there
  95. fit into this system, those few complex polygons can be simply converted
  96. by hand. If you have Modeler 3D you can simply use the 'Statistics' window
  97. to select polygons with more than 4 vertices, then use the 'Polygon Split'
  98. command on them until they are comprised of a number of simple polygons.
  99. Or you can just remove them from the object then use Turbo Silver's editor
  100. to redo them on the converted objects.
  101.  
  102. 3) XObj will not handle the new binary format V3D files. Dont worry all the
  103. commercial object disks give you them in text format.
  104.  
  105. Any other tips?......
  106.  
  107. Yep; If you have Modeler 3D you can convert Sculpt 3D files into Turbo
  108. Silver!. Simply load them into Modeler 3D, save them as V3D text format
  109. then run XObj on them. I have converted the Antic object disks in this
  110. manner.
  111.  
  112. Some objects can be a bit small when imported into TS. Use the TS object 
  113. editor to enlarge them. NB. I have noticed that some objects are VERY
  114. small!.
  115.  
  116. Colors. XObj sets each face of the TS object to the correct color as
  117. defined in the V3D file. DONT change the color of the object using the
  118. TS attribute requester or you will modify ALL the faces on the object.
  119.  
  120. ************************************************************************
  121.  
  122. ObjectWare registration;
  123.  
  124. 1) Place any objects you wish to donate on a standard Amiga 3.5 inch
  125. disk. Please do not send commercial objects, this would be a violation
  126. of their copyright. 
  127.  
  128. 2) Indicate which objects are PRIVATE (for my use only) and which are
  129. PUBLIC DOMAIN.
  130.  
  131. 3) If you wish to obtain the source to XObj (its in M2S M2Sprint Modula-2)
  132. enclose $5 (or a rough conversion) in funds to cover postage etc. 
  133. Please do not send personal cheques in anything other than pounds sterling,
  134. they cost more than $5 to get cashed in the UK.
  135.  
  136. 4) Enclose you name and address.
  137.  
  138. 5) Send either Air or Surface mail to;
  139.  
  140.    Phil Camp
  141.    ObjectWare
  142.    48 Alma Vale Road
  143.    Clifton
  144.    Bristol BS8 2HS
  145.    United Kingdom.
  146.    
  147. *************************************************************************
  148.  
  149. Credits;
  150.  
  151. My thanks to Stan and Impulse people for releasing the Turbo Silver file
  152. format into the public domain, and for the wonderful Turbo Silver product.
  153.  
  154. Turbo Silver is a trademark of Impulse Inc.
  155. Sculpt 3D is a trademark of Byte by Byte.
  156. VideoScape 3D and Modeler 3D are trademarks of Aegis.
  157.  
  158. Phil Camp, 17-Jan-89.
  159. BIX: philc
  160. CIS: 76004,2054
  161.  
  162.