#57 How to use dsp primitive?

release 7.12
closed
Sean Morrison
5
2010-06-23
2010-05-20
Richard Uschold
No

I can't find any documentation on the dsp primitive (displacement map) other
than a extremely brief definition which NAMES the required parameters, but
fails to define what they MEAN! The acceptable file format(s) are not given
either (neither .pix nor .bw work).

The documentation that came with the package is rather poor, with many
broken links and seems to be several versions old. I have version 7.12.2 for
Mac OSX.

Gilligan

Discussion

  • Sean Morrison
    Sean Morrison
    2010-06-08

    Quite true, the DSP doesn't really have much in the way of documentation, at least not publicly available documentation. The problem with having a large complex CAD system is that the documentation is similarly large and complex (and just as prone to bugs and omissions). Asking is definitely the way to go, though.

    In brief, the DSP takes unsigned short (16-bit) integer data. Our various command-line data converters can help bring data in from pretty much any existing format, including image data, via various processing commands. If the data was in png image format, for example (which is basically 3-channel 8-bit integer data), the data could be prepared with a combination of 'png-pix', 'pix-bw', and 'cv'. This would be a path very similar to what is described for the EBM primitive here: http://brlcad.org/wiki/EBM

    If you type the 'in' command, it will prompt you for each parameter individually and that should help some. For the DSP, the main parameters are the width/length of the input data, width/length/height scaling factors, and whether to smoothly interpolate between cells. A wiki page similar to the EBM is needed for the DSP primitive (you're welcome to start one)!

     
  • Sean Morrison
    Sean Morrison
    2010-06-08

    • assigned_to: nobody --> brlcad
    • status: open --> pending
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending --> closed