Updated Particle Data Viewer with Vector Display

The attached update of the Krakatoa Particle Data Viewer adds the option to show any Vector channel as a line in the viewport for debugging and visualization purposes.

To install,
*Locate the Krakatoa\Scripts folder of your installation (e.g. C:\Program Files (x86)\Thinkbox\Krakatoa\Scripts)
*Make a backup of the file Krakatoa_ParticleDataViewer.ms
*Replace with the copy from the attached ZIP file

To display the vector,
*Open the Particle Data Viewer (either by pressing the PD Viewer button in the Main Control of the Krakatoa GUI, by selecting the “Launch the Particle Data Viewer tool” in the Krakatoa menu, or via the supplied macroScript icon)
*Select a supported particle source (PRT objects, Particle Flow system or Thinking Particles system) and display its data
*Hold down SHIFT and click on a Vector data column header you want to display in the viewport, e.g. Velocity, Normal etc. - a * symbol will appear. SHIFT-click again to toggle off if needed.
*Select one or more lines of particle data in the viewer - a red circle will mark the location of the particle, a yellow text will display the particle data’s value, and a red line will display the vector as a line in 3D space.

Note that the option can be turned on and off via the View menu - this toggle is sticky.
Also note that you can scale the length of the drawn vector by 10, by the FrameRate (e.g. 24), by TicksPerFrame (e.g. 200 at 24 fps) or TicksPerSecond (4800). By default the length of the vector will be drawn as is, multiplied by 1.0. This is NOT sticky and will revert to 1.0 for every new PDV session. For example, to show Normals, you might want to scale them by 10 to make them more visible. To show the Velocity channel of Particle Flow, use TicksPerFrame to match the Line display of PFlow, and so on.

For general information about the PDV, please see here: thinkboxsoftware.com/krak-part-data-viewer
Krakatoa_ParticleDataViewer_20110713.zip (10.9 KB)

SWEEET! You already know how much I appreciate and love this util, you just made it even better, great idea :ugeek:

awesome!