Wyn Williams:
|I am struggling to build some DX modules. I have two questions :
|
|1) If I write a printf statement to look at some parameters, where
|does the output go. It doesn't go to standard output, and it doesn't
|go to the 'message' window' if I attach a 'print' module.
|So.. how do I print out parameters of my code ?..
IIRC, if you write to stderr, your messages will show up in the DXUI
Message window. Alternatively (and a better solution) is to use DXMessage.
See the programmers ref or the dx header files for usage.
I don't know where stdout goes -- never tracked it down.
Also, if you're kicking off the executive by-hand (or specifying args for
it in dxui), you can use -l to turn on logging. dx -log on does the same
thing I think. Don't recall if this was for stdout, stderr, specific
prints like timing, etc. Feel free to try it out.
|2) I have a regular grid of positions (and connections), and I want to
|invalidate some of these positions. So say I have a 3D regular grid
|of positions, say 100x 100x100. How do I invalidate position (20,35,
|40), for example ? There doesn't seem to be a way of locating this
|point in a regular grid to invalidate it ?
Mark("positions"), then use Include to invalidate the data value (position
coordinate) with the value [20,35,40]. Be sure to set cull=0 or you'll see
a spectacular memory explosion in your perfmeter.
Randy
--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA N127-01; RTP, NC 27711