Support Requests item #3004751, was opened at 2010-05-20 15:19
Message generated for change (Comment added) made by brlcad
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=640803&aid=3004751&group_id=105292

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: release 7.12
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Richard Uschold (gilliganu)
>Assigned to: Sean Morrison (brlcad)
Summary: How to use dsp primitive?

Initial Comment:
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


----------------------------------------------------------------------

>Comment By: Sean Morrison (brlcad)
Date: 2010-06-08 13:26

Message:
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)!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=640803&aid=3004751&group_id=105292

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
BRL-CAD Tracker mailing list
brlcad-tracker@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker

Reply via email to