home *** CD-ROM | disk | FTP | other *** search
/ POWERdrive for you 1998 January / PFY0198.BIN / share / texte / glview.txt < prev    next >
Text File  |  1997-12-27  |  33KB  |  986 lines

  1. ==============================================================
  2. GLView version 3.1 27.07.97
  3. 3D OpenGL / Direct 3D Viewer for Windows NT 3.51-4.0 / 95
  4. Copyright (C) 1994-1997 Holger Grahn
  5. All Rights Reserved
  6. ==============================================================
  7.  
  8. For further information or to place an order please contact:
  9.  
  10. DISTRIBUTION USA:
  11.  
  12.  
  13. USA:
  14.  
  15. EMD Enterprises
  16. 73 East Forrest Avenue
  17. Suite 20
  18. Shrewsbury, PA 17361
  19. USA
  20.  
  21. Sales: (800) 8989-EMD
  22. Support: (717) 235-4423
  23. FAX: (717) 227-9746
  24.  
  25. email:  
  26. Internet:   sales@emdent.com
  27.             support@emdent.com
  28. CompuServe: 74777,171   
  29.  
  30. WWW-SITE:   http://www.glview.com
  31. Main EMD Site:  http://www.emdent.com
  32.  
  33. CompuServe Support Forum:   GO GLVIEW
  34.  
  35.  
  36. DISTRIBUTION for Germany:
  37.  
  38. MKC SOFTWARE
  39. Hasselbusch 71
  40. 24558 Henstedt- Ulzburg
  41. Germany
  42.  
  43. Fax : +49-4193-969420
  44. Email: sales@mkcsoft.com
  45. WWW: http://www.mkcsoft.com
  46.  
  47.  
  48.  
  49.  
  50. README.TXT
  51.  
  52. Evaluation and Registration
  53. ===========================
  54. This is not free software. You are hereby licensed to use this software 
  55. for evaluation purposes without charge for a period of 30 days. 
  56. The demonstration version will expire after the evaluation period.
  57. If you use this software after the 30 day evaluation period a registration
  58. fee is required. See license.txt and order.txt for more information.
  59.  
  60.  
  61. System Requirements
  62. ===================
  63. Open GL Version
  64.     - Microsoft WINDOWS NT 3.51 / 4.0
  65.     - OpenGL compatible Display.
  66.     - wininet.dll + urlcache.dll Internet DLL (supplied)
  67.  
  68.         or 
  69.  
  70.     - Microsoft Windows 95
  71.     - OpenGL librarys (opengl32.dll, glu32.dll) for Windows 95
  72.     - wininet.dll + urlcache.dll Internet DLL (supplied)
  73.  
  74. Direct 3D Version
  75.     - Microsoft Windows 95
  76.     - Direct X2 or Direct X3 Run-time  (includes Direct 3D)
  77.     - wininet.dll + urlcache.dll Internet DLL (supplied)
  78.  
  79.         or 
  80.  
  81.     - Microsoft WINDOWS NT 4.0
  82.     - Direct X 2 Windows NT Beta Run-time (on August 96 MSDN Win32T SDK CD)
  83.     - or  MS-Service pack 3 for NT 4.0
  84.     - wininet.dll + urlcache.dll Internet DLL (supplied)
  85.      (Windows 3.5 or 3.51 does *not* support Direct X)
  86.      
  87. Optional Sound Card and Intel RSX 3D Sound
  88.     http://www.intel.com/ial/rsx
  89.  
  90.  
  91.  
  92. Installation 
  93. ============
  94. Installation of Demo Version from ZIP file (glview.zip):
  95. Unzip the GLVIEW.zip file to a new directory on the hardisc. A program like WinZip 6.0 supporting 
  96. long file names is recommended.
  97.  
  98. For automatic unzipping of gzipped files copy GNU gzip.exe in a directory of the path.
  99.  
  100. For Windows95 copy the OpenGL librarys into the Windows system directory or into the GLView directory.
  101.  
  102. Installation with installation program :
  103. Start setup.exe from the first installation disk or from the DISK1 directory
  104. of the CD-Rom distribution
  105.  
  106. The Direct X 3 Runtime can be downloaded from 
  107. http://www.microsoft.com/mediadev/sdks/isdk.htm
  108.     as 
  109. http://www.microsoft.com/gamesdev/gsdk/directx.zip
  110.  
  111. If you already have installed Microsoft Internet Explorer and if you encounter the error message "  InternetOpen returns error Invalid Parameter (87)", please remove the
  112. DLL┤s urlcache.dll and wininet.dll from the GLView directory, because they are already
  113. installed into the Windows system directory.
  114.  
  115.  
  116.  
  117. Startup
  118. =======
  119.  
  120.     glview.exe
  121.  
  122. OpenGL Specific:
  123. ================
  124. Starts glview with a default OpenGL pixel format mode (Double-buffer, RGB)
  125.  
  126.     glview.exe /x
  127.  
  128. Starts GLView without GL-initialization, first action should be to setup Pixelformat using menu Options->
  129. Pixel Format -> Set.
  130.  
  131. GLView automatically use OpenGL acellerator hardware like graphics boards equipped with a 3DLabs
  132. GLint chip.
  133.  
  134. Direct X:
  135. =========
  136. The Direct X driver can be choosen using the Options->Direct 3D Dialog.
  137. The driver settings will be saved on program exit.
  138. GLView can be flipped to fullscreen using the Options->Fullscreen Menu command.
  139. Fullscreen mode can be terminated by pressing <ESCAPE> once or by popping up the
  140. Options menu again using ALT-O.
  141. The 'F' Keyboard key also toggles fullscreen mode.
  142.  
  143.  
  144. A 3D file or a WWW-VRML-url can be specified on the commandline.
  145.  
  146. Please create and configure a network caching directory in WWW->Options->cache directory on a filesystem
  147. supporting long filenames.
  148. Note that you can remove any contents from this directory, after loading a bunch of scenes.
  149. GLView will not free files from the cache automatically.
  150.  
  151. For viewing HTML URL┤s the path to your WWW Browser must also be configured.
  152.  
  153. You can manually associate GLView with 3D file extensions (e.g. wrl, 3dv) using 
  154. the "Options->Register file types" command.
  155.  
  156. For slow machines turn on the following options in the Config->options dialog:
  157.     "degrade during move" & degrade style "bounding boxes"
  158.     initial window size x 320 y 240 (or larger)
  159.  
  160. If the cursor is a busy symbol, the texture icon can still be depressed to turn off
  161. texture mapping. The escape key will first disable animation, and secondly texture mapping.
  162.  
  163. Support questions regarding the hardware support of Matrox graphics cards should
  164. be send to Matrox directly, once Windows 95 drivers are available from Matrox 
  165. GLView can be adapted to properly use the right pixelformats. Try to enable the 
  166. "16 bit z-buffer" options in "Options->Config" and restart GLView.
  167.  
  168.  
  169.  
  170. GLView is availabe as
  171. =====================
  172. - commercial software on 3.5" disks + manual + more examples. 
  173.  
  174. - customized redistribution executable versions for hard or software vendors
  175.  
  176. - Sourcecode
  177.  
  178. - GLView classes as a class library
  179.   supporting a highlevel MFC GLView View class and lowerlevel 
  180.   graphical object, attributes and operation classes and a VRML 1.0/Inventor and VRML 2.0 
  181.   compatible class library for integration in other applications
  182.  
  183. GLView has been licensed by Siemens Nixdorf AG for bundling with Celsius Pentium Pro OpenGL Workstations.
  184.  
  185.  
  186. Credits
  187. =======
  188.  
  189. This software is based in part on the work of the Independent JPEG Group.
  190.  
  191. Portions of this software are based in part on the VRMLScript Interpreter
  192. written by Silicon Graphics, Inc., Mountain View, California, USA.
  193.  
  194.  
  195.  
  196. Fileformats
  197. ===========
  198. GLView supports VRML 2.0,
  199. GLView fully supports VRML 1.0 files with several extensions. (Please see VRML section.)
  200.  
  201. GLView supports also a own fileformat with extension 3dv.
  202. A short description of this file format is supplied in file readme.txt.
  203.  
  204. Geo format files (like supplied with Intel 3DR) are supported for import and export.
  205.  
  206. POV object scripts containing smooth_triangles can be exported and 
  207. support for DXF-Input has been implemented.  
  208.  
  209. Single rgb,dib,bmp,gif,tga or jpeg image files are read in as a single textured, rotatable polygon.
  210.  
  211. Raw files, containing a triangle per line can be imported and exported. 
  212. On import the triangles are automatically converted to a smooth object.
  213.  
  214. STL files, containing triangles with facet normals can be exported. 
  215.  
  216. A VRML file can be saved, any comments in the original file are lost. Please use info
  217. nodes for persistent annotations.
  218.  
  219. Single object VRML 1.0 Files (extension wrl) can be exported after the TOOLS->Combine command has been used. 
  220. GLView will then write a IndexedFaceSet with
  221. coordinate, vertex normal, vertex color (as Material) and vertex parameter (TextureCoordinate2)
  222. information. If a triangulated face set is needed, use the Tools->Triangulate command for
  223. conversion.
  224.  
  225. Support for import of Wavefront obj files with polygons (f) has been integrated.
  226.  
  227. Texture files can be a 24 Bit SGI RBB  or dib/bmp images.
  228. Additional formats are JPEG,GIF,TARGA and PPM.
  229.  
  230. GLView can render an arbitrary scene to a screen resolution independent BMP file.
  231.  
  232.  
  233. On Import there is no check for valid fileformats.
  234.  
  235. WCVT2POV A good Windows 3D File converter program (including 3DS ==> VRML) can be found on:
  236.     http://www.europa.com/~keithr/
  237.  
  238. For Kinetix 3D Studio Max the VRML 2.0 Export Module is recommend.    
  239.  
  240.  
  241.  
  242.  
  243. Files
  244. =====
  245. GLVIEW.EXE      executable
  246. GLVIEW.HLP      help file
  247. readme.txt      readme file
  248. order.txt       Order form
  249. licencse.txt    License agreement
  250. whatsnew.txt    History
  251. GLViewNodes.html    GLView VRML extensions
  252. file_id.diz     description
  253. *.3dv           GLView native format 3D Data sets
  254. *.geo           3D Data sets
  255. *.rgb           SGI rgb texture image 
  256. *.dib,*.bmp     texture image files, can also be used as "3d" data-set
  257. *.gif,*.tga,*.jpg          "
  258. *.ppm                       "
  259. *.png            PNG image file
  260. *.3dm           Material file
  261. *.obj           Wavefront data files
  262. *.stl           STL triangle format
  263. *.raw           RAW 3D-Triangle format
  264. *.wrl           VRML 3D Scene description 
  265. *.vrml            "
  266. *.iv            SGI OpenInventor files, GLView only support the ascii version
  267. *.ext.gz        gzip compressed files, for automatic unzipping gzip.exe must be in the path.
  268. *.vrl,*.url     a small text file containing a reference to a WWW url (normally a VRML file)
  269.                 format currently incompatible with Windows 95 Internet Explorer URL files.
  270.  
  271.  
  272.  
  273. VRML
  274. ====
  275. GLView supports VRML 2.0 and VRML 1.0 with several extensions.
  276.  
  277. GLView can directly acess WWW VRML files without using a WWW Browser.
  278.  
  279. For using GLView with a WWW Browser, add GLView as a helper application.
  280.  
  281. Example for Netscape:
  282.  
  283. Inside Netscape : 
  284. Select the "Options/Preferences" menu item.
  285. Select the "Helper Applications" item in the pulldown.
  286. Click the "New Type" button.
  287. In the Configure New Mime type dialog enter:
  288.     For Mime Type:  x-world
  289.     For Mime Subtype:   x-vrml
  290. In the "Extensions" field enter: wrl,wrl.gz,vrml,wrz
  291.  
  292. In the "Action" group box click "Launch Application"
  293. In the text entry field enter the full GLView path.
  294.  
  295. Another option is to save a link to a VRML location inside Netscape 
  296. to the clipboard using 
  297.     Right Mouse Button -> "Copy this link location".
  298.  
  299. In GLView in the "WWW->Open URL-> url field" or in the url tool bar the 
  300. link can be pasted with <Control> v. GLView is than able to resolve relative
  301. WWWInline nodes to the URL for browsers other than Netscape.
  302.  
  303. Some WWW references for VRML files are built into GLView. The supplied
  304. url files (vrl extension) are pointing to some interesting, medium complex VRML files. 
  305.  
  306. If the mouse is dragged over the scenes, GLView searches for Hot-Links (WWWAnchor Nodes).
  307. If a hot-link is displayed, a double-click with the left mouse button will execute the link.
  308. Possible actions are : Jumping to a new camera position, jumping to a new VRML scene, or
  309. spawning the WEB-Browser program specified in the WWW->Options dialog.
  310.  
  311. VRML 2.0 specific notes
  312. =======================
  313.  
  314. TouchSensors and other sensors have precendence on a mouse down event.
  315. if the mouse moves above a object with a sensor attached, the status line displays "touch". 
  316. Anchors and touchsensors can also be activated with a double click.
  317.  
  318.  
  319. Supported Nodes
  320. ===============
  321.  
  322. + supported
  323. - not supported
  324. - D3D not supported in D3D Version
  325. * partly 
  326.  
  327. Grouping nodes
  328.  Anchor         +
  329.  Billboard         + 
  330.  Collision         + (including proxy )
  331.  Group             +
  332.  Transform         +
  333.  
  334. Special Groups
  335.  Inline         +
  336.  LOD             +
  337.  Switch         +
  338.  
  339. Common Nodes
  340.  AudioClip           +
  341.  DirectionalLight +        
  342.  PointLight       +        
  343.  Script           +
  344.  Shape               +
  345.  Sound               +
  346.  SpotLight           +        
  347.  WorldInfo           +
  348.  
  349. Sensors
  350.  
  351.   CylinderSensor  +
  352.   PlaneSensor       +
  353.   ProximitySensor +
  354.   SphereSensor       +
  355.   TimeSensor       +
  356.   TouchSensor       +
  357.   VisibilitySensor + (will be enabled on first draw, fully supported in BSP Scenes)
  358.  
  359.  Geometry
  360.  
  361.   Box               +
  362.   Cone               +
  363.   Cylinder           +
  364.   ElevationGrid   +
  365.   Extrusion       +
  366.   IndexedFaceSet  +
  367.   IndexedLineSet  +
  368.   PointSet           +
  369.   Sphere           +
  370.   Text               +
  371.  
  372.  Geometric Properties
  373.  
  374.   Color           +  (* see notes on direct 3D Ramp-Driver)
  375.   Coordinate       +
  376.   Normal           +
  377.   TextureCoordinate + 
  378.  
  379.  Appearance
  380.  
  381.   Appearance         +
  382.   FontStyle         +    
  383.                         attributes like leftToRight or topToBottom are ignored
  384.  
  385.   ImageTexture         +    
  386.                         all GLView texture formats supported 
  387.                         
  388.   Material             +
  389.   MovieTexture         -
  390.   PixelTexture         +    (- D3D after resize)
  391.   TextureTransform     +
  392.  
  393.  Interpolators 
  394.  
  395.   ColorInterpolator  +      
  396.   CoordinateInterpolator +
  397.   NormalInterpolator     -
  398.   OrientationInterpolator + 
  399.   PositionInterpolator    +         
  400.   ScalarInterpolator     +
  401.  
  402. Bindable Nodes
  403.  
  404.   Background             + (including background textures + color gradients)                 (D3D Ramp Driver : single skyColor only)
  405.   Fog                     -
  406.   NavigationInfo         +
  407.   Viewpoint                +
  408.  
  409.  
  410. Script Node
  411. ===========
  412. The script language is vrmlscript, a language similar to JavaScript.
  413. The protocol "vrmlscript:" is recognized.
  414. The protocol "javascript:" is treated as vrmlscript
  415. Java support is planned.
  416.  
  417. PROTO and EXTERNPROTO are implemented,
  418. If possible GLView tries to share nodes between several Proto instances.
  419.  
  420. PROTOS can contain scripts or other PROTOS.
  421.  
  422. The Direct 3D Version now  support triangulation of non convex polygons and text.
  423. Triangulation (convex FALSE) can slow down file loading.
  424.  
  425. The Direct 3D Version currently lacks propper support for color per face. 
  426. ColorPerVertex is supported using the Direct 3D RGB-Emulation driver. GLView treats objects with color per vertex as unlit.
  427. The Direct 3D ramp driver doesnt support color per vertex, colored lights
  428. etc. If a scene appears very dark, switch to the RGB Driver to check if
  429. the scene appears now correctly colored due to color per vertex requirement. 
  430. The VRML 2.0 Background Node MFColor fields also require the D3D support
  431. of color per vertex.
  432.  
  433. The Tree Editor allows browsing of VRML 2 graphs including inspecting of
  434. ROUTE, Scripts and Proto nodes.
  435. At the top-level all Protos and Routes of the scene are shown.
  436. Nodes must be double clicked to view fields with non default values, to see all fields the menu function Node->Expand all fields must be used.
  437. ProtoInstances are showing in additions to their fields their instanced scene-graph and the prototype definition.
  438.  
  439.  
  440. After Tree Editor changes a new VRML 2.0 file could be written.
  441.  
  442. Specific Route information:
  443.  
  444. A script function is executed as soon the script node receives an eventIn.
  445. An existing eventsProcessed will not be called, but an initialized or shutdown
  446. script function. An eventOut from a script functions will be send imideately on assignment
  447. to the eventOut field, and not at the end of the script function.
  448.  
  449. If you open several GLView sessions or if GLView consumes too much
  450. processor resources due to animation, iconize the GLView window or
  451. stop the animation using the toolbar button.
  452.  
  453.  
  454.  
  455.  
  456. VRML 1.0 specific notes
  457. =======================
  458. The VRML file format specification can be found on
  459.     http://www.wired.com
  460.  
  461. Good WWW starting points are :
  462.     http://sdsc.edu/vrml/worlds.html
  463.     http://www.ocnus.com/models/
  464.  
  465. GLView defaults to Gouraud-Shading for VRML scenes. Initial texture mode and texture loading 
  466. depends on "WWW->Options->texture loading"
  467.  
  468. Note, some files with extension wrl are not VRML 1.0 files, because they
  469. contain other custom nodes or some unsupported Open Inventor nodes. 
  470. GLView supports a bunch of Inventor nodes like QuadMesh, TriangleStrip, FaceSet, BaseColor,
  471. Label ....
  472. Other unsupported nodes are ignored or are causing the reading to stop.
  473.  
  474. Inventor files can be converted to VRML using a tool like IvToVrml. A related tool
  475. on SGI Workstations is ivQuick which optimizes Inventor scenes and ivcat which translates binary
  476. IV files to the ascii version, which GLView may be able to read.
  477.  
  478. Some GLView wrl files will not render on other VRML browsers, because of custom GLView nodes.
  479.  
  480. For material bindings "per vertex indexed" "per face"  "per face indexed" the diffuse (or base color)
  481. channel (if of the material is used. If the emissive color channel supplies more values than the diffuse
  482. channel, the emissive colors are used for the local colors. Scenes based on emissive materials can be
  483. rendered using "Render->non lighted".
  484.  
  485. Material 0 ist set as a default for the primitive.
  486.  
  487. Extensions:
  488. for GLView node extensions please see file GLViewNodes.txt
  489.  
  490.  
  491. VRML Tree Editor
  492. ================
  493. Using the "Tools->Tree Editor" command the VRML scene tree can be examined and/or edited.
  494. Double-Clicking on a icon displays lower level information.
  495. Nodes can be dragged and dropped around, or can be cut/copied/pasted using the edit menu.
  496. Nodes can be pasted in from file or written to file.
  497.  
  498. GLView automatically resolves DEF/USE references and duplicate node names.
  499. Paste pastes a link to the node referenced by a copy. It┤s equivalent to writing
  500. USE node in a VRML ascii file.
  501.  
  502. A full copy, with all DEF/USE references local can be achieved by writing the node to a
  503. temporary file. This file can be pasted into the tree using the "Node->Read" command.
  504.  
  505. Unknown nodes with proper field definitions can be edited as well.
  506.  
  507. Single value fields can be edited using the Field->Edit command.
  508.  
  509.  
  510. Current Limitations:
  511. No Edit of SFBitmask, SFImage fields, 
  512. No Loop Detection on Drag and Drop and Cut & Paste,
  513. If you produce structures like a->b->a GLView will hang.
  514.  
  515. After node renaming or auto node naming the names of other displayed DEF/USE reference node are not
  516. updated automatically, use View->Refresh instead.
  517.  
  518.  
  519. To be done :
  520. ===========
  521.  
  522.  
  523. OpenGel sorted alpha blend transparency
  524.  
  525. Use render "Mode->non lighted" as workaround.
  526.  
  527. Homespace builder files containg materials using only the emissive channel, the diffuse color
  528. is black. This is no problem, the best way to view them is render->non lighted. Only the
  529. bounding-box / wireframe displaymode will then render the edges in black, but black is also
  530. the default window background color, so the workaround is to change the background color to
  531. something different from black.
  532.  
  533.  
  534. Not planned
  535. ===========
  536. VRML files with Macintosh end of line (\r) character
  537.  
  538. Support for the crease angle in ShapeHints, GLView will smooth all edges between
  539. faces with some shared vertex information. 
  540. Workaround :
  541.      Turn on flat-shading for scenes depending on this value.
  542.  
  543. Flat shading can be forced in VRML files by using a PER_FACE normal binding in VRML 1.0
  544. or by adding 
  545.     vertexPerNormal FALSE
  546. to the Nodes supporting this field in VRML 2.0.
  547.  
  548.  
  549.  
  550. Direct 3D Version
  551. =================
  552. There are currently still some limitations compared with the OpenGL Version.
  553.  
  554. No support for per face color. 
  555. Color per vertex is supported in the Direct 3D RGB Emulation driver. 
  556. Lighting is ignored on a object with color per vertex.
  557. Morphing works best with objects up to 2048 vertices (the limitation of the size of 
  558. Direct 3D execute buffers.)
  559.  
  560. Window resizing is slow, because all Direct 3D objects has to be recreated.
  561. Sound and Fullscreen currently doesn┤t work together.
  562.  
  563. GLView VRML BoundingBox display and the extension Node Image is currently not supported.
  564.  
  565. The Ramp Driver has limitations regarding light source attributes.
  566.  
  567. Very fast texture mapping can be enabled in the RGB driver, by setting
  568. the Direct 3D Texture format to the display format (eg. 6 5 5 or 5 5 5 for high color)
  569. and selecting "Copy" texture blend mode in Rendering -> Texture options.
  570.  
  571. Direct 3D Boards supporting only acceleration in fullscreen mode (3dfx etc.) are
  572. currently not supported, a fix will be made available shortly.
  573.  
  574.  
  575.  
  576. OpenGL Version
  577. ==============
  578.  
  579. If VRML 2.0 scenes look to dark, enable the headlight in the 
  580. "WWW->Options->headlight" dialog or using the Camera->headligt Menu command.
  581.  
  582.  
  583. If scenes are looking to bright, disable scene lights or
  584. decrease the lightscale factor from 1.0 to 0.5.
  585.  
  586. Transparent Materials are supported via Alpha-Blending,
  587. the current limitations is, that transparent surfaces should
  588. be at the *end* of the VRML file, to get the expected
  589. effect.
  590. If you enable Rendering->Options->Transparency Transparent objects will be
  591. rendered after all non transparent objects. 
  592.  
  593.  
  594. If you enable 16 Bit z-buffer, rendering could look a bit strange.
  595. Workaround: Enter an higher number into Camera-Viewpoints->znear (e.g. from 0.0001 to 1.0) and also lower the zfar number.
  596.  
  597. In some certain instances GLView is unable to compute a proper scene bounding box 
  598. resulting in a badly adapted z-buffer range. Part of a scene may be invisible. This could happen if the VRML file specefies incorrect values for the bboxSize bboxCenter fields of Group nodes. 
  599. To solve this problems a depth range can be recomputed in the Camera->Viewpoint menu 
  600. by clicking the small button right to the znear/zfar values.
  601.  
  602.  
  603. If Netscape is hanging because of some problem, GLView can hang too on opening of local files.
  604. GLView trys to get information on the URL of the file from Netscape.
  605. Solution : Kill the hanging Netscape task.
  606.  
  607.  
  608. Matrox Graphics boards can do OpenGL acceleration only in some display modes and with a 16 Bit
  609. Z-buffer and the right amount of Memory installed.
  610.  
  611. Enable a 16-Zbuffer by enabling "Options->Config->16 Bit z-buffer" and restart GLView.
  612. Verify that "Options->GL Info" shows the Matrox driver instead of the Microsoft driver.
  613. If this is not working  try to run GLView with the /x parameter and choose a GL Pixelformat via 
  614. Options->Pixelformat->set depthBits 16 + double-buffer. 
  615.  
  616. For some data files backface culling must be disabled via Rendering->Options->backface cull.  
  617. For DXF, RAW and GEO files this is done automatically. 
  618. If the picture is still very dark (e.g. with RAW or GEO files) flip the computed normals  
  619. of the object using Rendering->Options->flip normals 
  620.  
  621. Not all custom texture parameter functions available in the dialog Texture->Parameters are fully implemented.
  622.  
  623. Rendering with fog enabled seems to be strange, because for a object in the center fog is applied on 
  624. both sides in front and in the back of the viewer. This seems to be an OpenGL problem. 
  625.  
  626. Some 2D DXF primitives are not converted or not converted correctly and objects with a EKS 
  627. transformation are not transformed correctly. In order to do operations on a DXF-File after import, the 
  628. dataset stored in a display tree must be converted to one single object using the Tools->Combine 
  629. command. 
  630. DXF-Files with optimal import result should contain 3d meshes, 3d polyface meshes (options or the 
  631. polyline entity) or 3d face primitives. 
  632. DXF files can currently not be saved as VRML with Layer and object information preserved.
  633. But they can be saved as one large IndexedFaceSet primitive with local colors applied.
  634.  
  635. If VRML scene lights are enabled, scenes are often to bright. (e.g. WCVT2POV put *several*
  636. point lights in the scene.) The options are to darken all lights by a factor or to disable
  637. VRML scene lights. This can be done using the WWW->Options dialog.
  638.  
  639. If the WALK speed seems to be strange, adapt it to the scene by change the value 
  640. "Camera->Viewpoints->distance" or "Camera->Viewpoints->speed".
  641.  
  642. For authors I recommend to explicitely specify focalDistance nearDistance and farDistance for
  643. supplied VRML 1.0 camera nodes.
  644.  
  645. The default setting for Walk and pan is "locked to ground plane", movement is parallel to
  646. the ground plane. If you want to walk directly in the viewing direction disable check 
  647. "Camera->Relative Move".   If the scene has a camera with something like a 45 degree look 
  648. on some scene you will need to check this option, if you want to approach the object.
  649.  
  650.  
  651. Keyboard Keys
  652. =============
  653.  
  654. <ESCAPE>    terminate fullscreen rendering (Direct 3D)
  655.             else stop animation
  656.             else disable texturing
  657.             else stop WWW download
  658.  
  659.  <SPACE>    open viewpoint menu
  660.  
  661.  PAGE UP    next/prev viewpoint in VRML world
  662.  PAGE DOWN
  663.  
  664.  LEFT RIGHT    camera movements depending on viewer mode
  665.  UP DOWN
  666.  + -
  667.  
  668.  f            full screen toggle (D3D)
  669.  
  670.  j            jump to object on next click
  671.  m            move camera mode
  672.  w            walk " "
  673.  o            orbit " "
  674.  
  675.  
  676.  
  677.  
  678. Quick Tour
  679. ==========
  680. Start the program
  681. drag around with the mouse 
  682. (this is camera->rotate mode)
  683.  
  684.  
  685.     camera->reset 
  686.  
  687. will bring back the default view
  688.  
  689.  
  690. Rendering
  691. =========
  692. try render menu:
  693.     "render->wireframe"         or toolbar button
  694.     "render->flat"                    "
  695.     "render->gouraud"                 "
  696.     "render->vertices"
  697.     "render->bounding box"
  698.  
  699. ..
  700. now once again
  701.  
  702.     render>wireframe
  703.     & render->lighted   you get a lighted wireframe display
  704.  
  705. Go back to
  706.     
  707.     "render->gouraud" 
  708.  
  709. mode.
  710.  
  711. Material
  712. ========
  713.  
  714. try the Material menu
  715.  
  716.     material->load  
  717.  
  718. choose a predefined material from the list box
  719.  
  720.     material ->edit
  721.     click with the mouse in the diffuse entry field,
  722.     now press EDIT to edit the diffuse color using the Windows color dialog box
  723.     choose a color , Exit & Apply
  724.  
  725. To change the background color use
  726.     material->Background
  727.  
  728.  
  729. Texture Mapping
  730. ===============
  731.  
  732. To load a texture use
  733.  
  734.     material->Load texture
  735.  
  736. choose a texture e.g. brick.rgb
  737.  
  738. To change OpenGL texture mapping parameters
  739.  
  740.     material->Texture Options
  741.  
  742. Enter into the "scale" edit field:
  743.  
  744.     3 3 3 <Enter>
  745.  
  746. The texture uvw parameters are scaled by (3,3,3) resulting in a smaller texture image.
  747.  
  748.     0.3 0.3 0.3 <Enter>
  749.  
  750. will make the texture larger.
  751.  
  752. Close the dialog using <Escape> or "Close".  
  753.  
  754. Try the filtering options only if you have time or a hardware acellerator
  755.  
  756. Switch off texture mapping using 
  757.     Render->textured    or toolbar button
  758.  
  759.  
  760. Special effects
  761. ===============
  762.  
  763. Deforming
  764. =========
  765. On a Standard 3DV model (e.g. ronny the default data set)
  766. Say 
  767.     Tools->deform->sphere
  768.     enable the check boxes for enable and drag + Press "Apply"
  769.  
  770.     drag around with the mouse, the model should deform to a imaginery sphere.
  771.     Use shift + drag to drag in the z-direction
  772.  
  773.     If you do no see an effect, change the radius edit field to higher numbers (negative
  774.     numbers (e.g. -0.9 )are also working, the points on the surface are moving away from
  775.     the sphere).
  776.  
  777.  
  778.  
  779. Morphing
  780. ========
  781. On a standard objecttype data sets (e.g. ronny.3dv, cow.3dv, ...)
  782. Open
  783.     Tools->Morph
  784.     "OK"
  785.  
  786. The vertices of the object are dynamically interpolated into a sphere.
  787.  
  788. Open 
  789.     Tools->Morph
  790. again to change morph options.
  791.  
  792. Use the t0 t1 sliders to select an interestinng sub-range of the animation.
  793. Choose a different Morph Type like 
  794.     "Cylinder", "Box", "Cone" ...
  795.     + press "Apply"
  796.  
  797.  
  798. Note that the default alignment axis of the morph is the z-Axis == up, 
  799. but standard objects are aligned y-axis up.
  800.  
  801. As an example on how to apply a custom morph axis, see the Morphed*.wrl
  802. GLView VRML examples.
  803.  
  804. You can stop the animation by toggling the play toolbar button.
  805.  
  806. It┤s possible to save the intermediate shapes to VRML or 3DV.
  807. Intermediates Shapes of the deform process, are currently not available for save.
  808.  
  809. Advanced:
  810. Some types for image warping is also possible using the morph node. Creating
  811. a VRML file with a fine meshed surface. E.g. by using GLView->File->New Object
  812. create a fine tesselated plane, apply your texture and include a morph node.
  813. Example HeidiMorph.wrl
  814.  
  815.  
  816.  
  817.  
  818. To create a spinning logo :
  819. ==========================
  820.  
  821.     "File->NewFontLogo"
  822.  
  823.  
  824.     enter the logo text.
  825.  
  826.     "ok"
  827.  
  828. a 3D logo should now come up.
  829.  
  830. Press "Camera->Spin" to let the logo spinning.
  831.  
  832. If you want it textured check the "Texture Parameters" check box in the dialog, and load
  833. a texture like brick.rgb with Material->LoadTexture
  834.  
  835. It┤s possible to create some funny symbols by using addtional TrueType fonts from
  836. CorelDraw or similar programs, and using symbol fonts like windings.
  837.  
  838. Try also to use different fonts, or font styles like Bold, Italic.
  839.  
  840. To create some symbols for custom vrml files, choose a wingdings fonts and lookup a
  841. character code e.g. by using the Windows->Accessories->Character Map program.
  842.  
  843.  
  844.  
  845.  
  846. To create an 3D Landscape from Image
  847. ====================================
  848. Press "File->New Object"
  849. select "Heightfield from Image"
  850. select bitmap image as source for landscape.
  851.  
  852. Use Tools->Tree editor to change height scaling.
  853.  
  854.  
  855.  
  856. Basic navigation:
  857. ================
  858. For a "one object" data file or any scene after Camera->Reset has been applied
  859. use Camera->Orbit mode
  860.     Mouse Movements orbits or spins the viewer around the object
  861.     Control + horizontal movement zooms
  862.     Shift + horizontal movement rolls , 
  863.  
  864.     Cursor keys are also orbiting around the object
  865.     + and - are zooming
  866.  
  867.     Movement is always relative to the point where the mouse
  868.     first was pressed.
  869.  
  870.  
  871. For a "scene" data file like a room or house etc.
  872. use Camera->Walk mode
  873.     vertical mouse movements are moving in and out the scene
  874.     horizontal mouse movements are turning the view direction to the left or right
  875.     Shift + vertical mouse movements are turning the view direction to up or downt
  876.     Control +  mouse movements are moving left/right up/down
  877.  
  878.     Cursor keys are also moving in/out / moving left/right 
  879.     <Control>Cursor keys are also turning up/down turning left/right
  880.     <Shift> Cursor keys are also orbiting around the current camera target
  881.     + and - are moving up/down
  882.  
  883.  
  884.  
  885.  
  886. Internet Access
  887. ===============
  888. If you have direct Internet access, GLView can load Internet VRML + Texture files.
  889.  
  890. Choose an Internet VRML url to open:
  891.     a) choose or enter a url using WWW->Open Url
  892.     b) drag a GLView vrl/url file from the file manager into the GLView Window
  893.     c) find a VRML (wrl extension) link in your Web-Browser
  894.         copy the link. (Netscape->Right Mouse Button->Copy this link location)
  895.        + paste it into the url bar location field
  896.  
  897. The "Stop" Button will be enabled, the logo animation will start. After a while 
  898. a Receiving message ... will appear. Once the file is completely retreived, GLView
  899. will display. During Retreival you can continue, walking the current scene.
  900. To abort network operation press the stop button. It might take a while, until
  901. the actual operation will be finished.
  902. GLView will place all retreived files into the GLView cache directory.
  903. You need to manually clean up this directory.
  904.  
  905.  
  906.  
  907. Performance tips
  908. ================
  909. General :
  910. use a small window size (a default (small) size can be specified in Options->Config)
  911. use a small dataset
  912. use a graphics card with fast pixel transfer.
  913.  
  914. make sure Rendering -> Options -> Backface culling is checked (might be disabled by GLVIEW)
  915. (for VRML files a ShapeHints node in the file will have precedence )
  916.  
  917. For DXF-Files use the Tools->Combine command
  918.  
  919. Texture-mapping is quite fast in non-lighted mode : select Render->Non lighted
  920. If accepatable disable Texture Options->perspective correction
  921.  
  922. Use wireframe, or lighted vertices modes for complex data set to adjust camera,
  923. than switch to gouraud or enable "Options->Config->degrade during move" with 
  924. style set to bounding box.
  925.  
  926. Enable "Render->Style->Vertex->Drawstyle" only for data sets with few vertices.
  927.  
  928. Try to check options->build_tristrips before loading a file.
  929.  
  930. Try to disable VRML scene lights using the www->options dialog and/or 
  931. try the Tools->Combine command,eventually with checking Options->Config->build triangle strips
  932. before.
  933.  
  934. Textures image files could be prescaled to a power of two, and should not be to large.
  935. eg. 128*128 might be enough.
  936.  
  937. If a scene is to slow with texture mapping enabled, quick disable texture mapping using
  938. the <escape> key.
  939.  
  940.  
  941.  
  942. How to find more data
  943. =====================
  944. Internet: there are different sites with 3D data-sets,
  945.     see also the VRML references above.
  946.  
  947. Very good 3D Models can be found and purchased from Viewpoint Data Labs.
  948.  
  949. Compuserve Forums:
  950.     COMANIM: some DXF / Viewpoint datasets
  951.     GRAPHDEV: RAW /OBJ/DXF + Tools for creating raw files e.g. BlobSculptor
  952.  
  953. for size reasons the evaluation version contains only a few small to modest size models.
  954.  
  955.  
  956.  
  957. 3DV-Fileformat
  958. ==============
  959.  
  960. Please the document 3dfmt.txt
  961.  
  962.  
  963.  
  964. RAW fileformat
  965. ==============
  966. each line describes a triangle with explicit coordinates
  967.  
  968. x1 y1 z1 x2 y2 z2 x3 y3 z3
  969.  
  970. GEO fileformat
  971. ==============
  972. Header :
  973. #of verts #of faces scalefactor(1)
  974. Vertex table :  length # of verts 
  975.     x y z                   <== coordinate of vert i
  976. Face table : length # of faces 
  977.     facelength vertexindices for faced  
  978.  
  979.  
  980. Note: vertex indices the in face table are starting from 1
  981.  
  982.  
  983. facetn facent
  984.  
  985.  
  986.