home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / explorer / 471 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.8 KB

  1. Path: sparky!uunet!olivea!sgigate!sgi!fido!batman.asd.sgi.com!hwa
  2. From: hwa@batman.asd.sgi.com (John Hwa)
  3. Newsgroups: comp.graphics.explorer
  4. Subject: Re: VectorGen
  5. Message-ID: <1jnejhINNktl@fido.asd.sgi.com>
  6. Date: 22 Jan 93 00:20:01 GMT
  7. References: <1993Jan20.143702.3470@julian.uwo.ca> <1993Jan21.134454.14054@erenj.com>
  8. Organization: Silicon Graphics, Inc.
  9. Lines: 29
  10. NNTP-Posting-Host: batman.asd.sgi.com
  11.  
  12. In article <1993Jan21.134454.14054@erenj.com>, srfergu@rufus.erenj.com (Scott Ferguson) writes:
  13. |> In article <1993Jan20.143702.3470@julian.uwo.ca>, lferjo@gfx.engga.uwo.ca (Lisa Ferjo) writes:
  14. |> |> 
  15. |> |> I have a question about VectorGen. I read in 4 data variables using a dscribe
  16. |> |> module.  By using ChannelSelect I use the 4th data variables to map specific
  17. |> |> colours onto my image.  I want to use the first three variables as input 
  18. |> |> to VectorGen.  But I get the error:
  19. |> |>           Type Mismatch: Input port "Input" of type cxLattice received 
  20. |> |>                   unexpected data.
  21. |> |>    INput port wants NUM data Variables : [1..3]
  22. |> |>    incoming data is Num data Variables: 4
  23. |> |> Is there any way around this besides creating two dscribe modules, one to 
  24. |> |> read in the values for colourmap and another for VectorGen.
  25. |> |> 
  26. |> |> Thanks Lisa
  27. |> 
  28. |> What you need is a module to extract a vector rather than a single channel,
  29. |> much like ChannelSelect. Looks like you'll need to write your own at this
  30. |> point, with mbuilder.
  31. |> 
  32. |> Will there be a module like this in the standard 2.0 module set?
  33.  
  34. One thing you can try is to build a dscribe module with 2 lattices
  35. defined in an output Explorer template.  One lattice contains data
  36. from first three variables which can feed into VectorGen and the
  37. other lattice contains the 4th variable for color mapping purposes.
  38.  
  39. John P. Hwa
  40. hwa@sgi.com
  41.