home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / graphics / 206 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  1.2 KB

  1. Path: sparky!uunet!olivea!sgigate!sgi!fido!paris.asd.sgi.com!alain
  2. From: alain@paris.asd.sgi.com (Alain Dumesny)
  3. Newsgroups: comp.sys.sgi.graphics
  4. Subject: Re: Q:  Cylinders in Inventor vs. Explorer...
  5. Keywords: Inventor Explorer cylinders rotations
  6. Message-ID: <1k2gvhINNh9a@fido.asd.sgi.com>
  7. Date: 26 Jan 93 05:08:01 GMT
  8. References: <1993Jan12.231214.24518@uc.msc.edu>
  9. Reply-To: alain@sgi.com
  10. Distribution: usa
  11. Organization: Silicon Graphics Inc.
  12. Lines: 18
  13. NNTP-Posting-Host: paris.asd.sgi.com
  14.  
  15. In article <1993Jan12.231214.24518@uc.msc.edu>, danw@uh.msc.edu (Dan Waylonis) writes:
  16. |> Hi,
  17. |> 
  18. |> In Explorer, a cylinder is defined by a beginning point, an ending point,
  19. |> and a radius.
  20. |> 
  21. |> In Inventor, only the height and radius are specified.
  22. |> 
  23. |> How do I emulate the action of the Explorer function call via Inventor?
  24. |> SoTransform with a translation and a rotation?
  25. |> 
  26.  
  27. Yes. The translation will be the midpoint (center of cylinder) and for the
  28. rotation use SbRotation(fromVec, toVec) where fromVec = (0,1,0) and toVec =
  29. ending - beginning point.
  30.  
  31. -------------------------------------------------------------------------
  32. Alain Dumesny    alain@sgi.com    (415)390-5250        Silicon Graphics Inc.
  33.