DP Filter Node Editors for LightWave 3D
DP Filter Node Editors plugins
LightWave 3D 9 to 9.3.1, 9.5 and 9.6
All plugins below coded by Denis Pontonnier.
x64 versions compiled by Marvin Landis.
DP Filter
-Plugin module with two Filter node editors, Pixel and Image for post-processing,
Lightwave buffers or pre-processing image in Lightwave Image Editor.
Includes also tool nodes mainly for the Image Filter node editor, and
Extra Buffers node for custom buffer linked between the Surface node editor,
and the Filter node editors.
Node Image Filter
-Node Editor for Image Filter, works like Textured Filter with some add-on experimental tools.
-Other render buffers than Color and Alpha, must be enabled in root node panel. -"Alpha Mode" option in root panel is a choice between:
"Replace Buffer" overwrite current LW alpha buffer with alpha input,
"Mix with Buffer" will mix alpha input with current LW alpha buffer (max value)
and color input is mixed with Color Buffer like in LW Textured Filter.
-With the "Global Buffer" option (9.5+) new inputs are added in Image Filter node editor.
Empty Global Buffers are available to export Image Filter evaluations, Buffers already
used in Pixel Filter node editor, can't be overwritten and are locked.
Add a Get Global Buffer node to output a Buffer, filter it, connect to a different
and empty Global Buffer in the root of Image Filter node editor, use the same
Get Global Buffer node to save this new Global Buffer in a file. All nodes below are located in DP Kit/Processing folder.Render Buffer Node-Render Buffer Node, works with Node Image Editor (full stored buffer)
with Buffer enabled in Editor and Node Pixel Editor (per pixel buffer only). Extra Buffer Nodes -"Store Extra Buffer" Node for Surface node editor,
"Get Extra Buffer" Node for Pixel and Image Filter node editor. -6 Color and Scalar buffers (24 in 9.5 version), which can be filled through different
nodal surfaces of different objects to complete partial or whole image buffer. -Part of the rendered image like Ambient Occlusion scalar or Normal color
can be buffered with their nodal setup connected to the "Store Extra Buffer"
node in surface node editor, but not rendered in the current image,
then using the output of the "Get Extra Buffer" node these buffers can be :
redirected/connected to an LW buffer in the PixelFilter node editor,
or mixed with the rendered image or another buffer, in the ImageFilter node editor.-Store Extra Buffer node need to be connected by its Access output to any unused
channel, which accepts a constant value of 1, this is required to access the
Nodal System. -"Enable AntiAliasing Buffer x" so AA can be disabled for PixelFilter node editor,
"MotionBlur" must be on for detecting samples. -"Force AntiAliasing Buffer x" for averaging evaluated spot samples in the buffer
of the ImageFilter node editor, do not check this option in PixelFilter node editor.
This option doesn't work, if you add more samples in the new 9.2 motion blur,
or use current motion blur, cameras ACT with Adaptive Sampling. -Extra Buffers can be saved as image files in Get Extra Buffer node.
You just need to add this node in Image Filter node editor without connection
then select buffer, format and output filename in its panel.
Image saving is now also available in Pixel Filter node editor. Note: Current LW buffer even modified can't be stored also in an Extra Buffer
in Pixel Filter node editor and saved in Image Filter node editor.-Replace Spot node is an addon to fill/replace a few Spot Infos in a nodal chain
in Filter node editors, original Object Spot, World Spot and Smoothed Normal should
be stored in Color Buffers with Store Extra Buffer node in the surface node setup. All nodes below work directly with Image Filter node editor (full stored buffer)
or in a second instance of Pixel Filter node editor.
other buffers than Color & Alpha need to be enabled in the node editor panel. Blur Node -Blur Node for blurring rendered image.Push Node -Push Node for moving rendered image. Scale Node -Scale Node for scaling rendered image. Rotate Node -Rotate Node for rotating rendered image. Deformer Node -Deformer Node for displacing pixels of the rendered image. Buffer Mixer Node -Buffer Mixer Node, it does the same thing than Color Mixer Tool Node,
but with (square) screen Preview. -When using Buffer Mixer in Image Filter Editor with Render Buffer Node input,
it must be connected to the rootNode first to acquire image buffer,
then it can be disconnected and still be used as a single previewer (FG input). Divide Node -Divide node for safe Color division, for replacing LW Math Vector Divide node,
avoiding issues while dividing a color pixel by a black pixel (zero).
It can be used for Color Buffers with empty Background. Exposure Node -An Exposure node (9.5+) for applying constant exposure correction on a over-exposed
image, the highest luminance (max luminance input after rendering) is the reference
to know for adjusting "(inv) exponential exposure". Tone Map Node -A Tone Map node, based on Erik Reinhard's algorithm,
doing tone map correction of any HDR color input in preprocess or postprocess mode,
for previewing a larger image use Image Viewer or Viper. -White Point:
This option should be set to a very large number (1e20 is default)
for high dynamic range images, and should only be set to a small value if the input
is already low dynamic range.
All input luminances larger than this value are mapped to white. -Average Luminance:
The log "Average Luminance" of the input is mapped to this value (Default value 0.18).
If this produces an image that is too dark, try doubling this value.
If the image is too light, try halving this value. -Use Scales:
By default it uses a fast and efficient global mapping.
"Use Scales" invokes the multi-level scale selection mechanism.
For some high dynamic range images, this produces better contrast. -Sharpening:
Default value 1, means no sharpening.Filter Node -Filter node includes 23 filter presets:
Soft, Blur, Sharpen1, Sharpen2, Sharpen3, Emboss, Laplace, Shadow,-All filters apply a 3 x 3 convolution to the input image.
Diagonal, Horizontal, Vertical, Woodcut, North, East, South, West,
Northeast, Northwest, Southeast, Southwest,
Sobel, Prewitt, Kirsh.
Sobel","Prewitt" and "Kirsh" add a second reverse convolution for edge
detection. -Filter can be applied to the input color or scalar for an black&white,
Color or Grey ouput. -"Threshold" affects all ouput types, set a zero value for full filtering effect,
-"Amount" will mix the effect with color or grey input.
-if "Border Edge" option in Filter node checked, outside pixels are ignored but
border of the image could appear "edged", if it is unchecked the image is mirrored
for outside pixels to avoid sharpened border. Denoiser Node -Denoiser node is a bilateral blur for removing noise, leaving untouched
the edges in the image. -The optional Reference Color and Alpha is used for edge detection only,
so a Depth Buffer and a Normal Color (Extra) Buffer can be input to avoid
confusion between undesired noise and current model details and edges.
Without input, the Color and/or Alpha input are used as self-reference.-"Sigma" is the edge detection level, smaller value is best for midtone,
-"Blur" is the level of blur.
Both parameters are evaluated per image, not per pixel.
Node Pixel Filter
-Node Editor for Pixel Filter, works with Render and Extra Buffer Node,
but in one instance, buffers can't be transformed with nodes like in Image Filter, since
it doesn't store the whole image buffer. -Pixel Filter node editor can now store a whole Buffer image in a first instance,
then a second instance of Pixel Filter NE can use all filter nodes, like
Deformer, Blur etc. A normalized Depth can't be output (if checked), Viper can be used
for previewing and adding presets.
Simply add a first Pixel Filter NE without opening it, then add a second Pixel Filter NE
for building your node tree, checking buffers in the root panel of one node editor
is sufficient.-"Alpha Mode" option in root panel is a choice between:
"Replace Buffer" overwrite current LW alpha buffer with alpha input,
"Mix with Buffer" will mix alpha input with current LW alpha buffer (max value)
and color input is mixed with Color Buffer like in LW Textured Filter. -Pixel Filter NE can antialias procedural input, with Perspective or Advanced Camera,
this needs to add Multithreading capability in the Pixel Filter, since its usage is
not safe for multicore and implemented for LW 9.2++ only, it is disabled by default
like also the Raytrace functions access, both can be enabled in the root panel of
the node editor at your own risk (one thread should be safe).
Note that these options are not fully compatible with the color Backdrop Buffer,
because it breaks the node editor preview and full buffer feature needed for filtering
doesn't work with Multithreading option, in this case use the Image Filter node editor. -"Global 3D Shading" evaluation in Pixel Filter node editor (9.5+ only).With "Raytracing/Global 3D Shad." disabled (Default) in main panel,
PFNE works like older versions, procedurals are evaluated
in 2D like LW Texture Filter. With "Raytracing/Global 3D Shad." enabled, almost all procedurals, shaders
and Spot Info node values are evaluated in 3D for all surfaced
objects in the field of view,
working with Classic and Advanced Cameras (including Real Lens).
Check "MultiThread/Persp. AA" to get Pixel Filter AntiAliasing with Advanced Cameras.
Global 3D Shading can't be previewed in the node editor or Viper, but can be mixed
with Render Buffer output. -Global Shading can be connected in 24 Global Buffers, Color or Alpha(Scalar),
these buffers are temporary but can be saved with the Get Global buffer node.
Add this node in the Pixel Filter node editor without connection, then select buffer,
format and output filename in its panel.
Or add it in the Image Filter node editor for adding/blending effect like blur to the
Get Global Buffer ouputs. Known issues:
-Photoreal DepthOfField and Motion blur samples of Advanced camera don't match exactly
LW samples. -Adaptive Sampling (e.g Persp.AA) is only correct for PFNE Root Color and Alpha inputs,
for redirected noisy shading like Ambient Occlusion in Diffuse Buffer, use more samples
in Shader node or high AA level in Advanced Camera panel.
-"Multithread/Persp. AA" with Multicore could crash with a few 3rd party Shaders,
a possible fix, in "Render Settings" set the MultiThreading option to "One Thread".
-In a second instance of Pixel Filter node editor, reconnecting to the same Global Buffer,
may give unexpected results (always half-mixed). -Legacy Subsurface Scattering with Perspective Camera and "Multithreading" don't work.
-LW Shader needing preprocess such as SSS and SS2 don't work. -A few 3rd party Shaders or specific settings like 'Blur' in LW Reflection node crash Layout
as soon as they are connected to the Root node,
rendering (even partially) the current frame, before doing anything in the node editor
allows safe connection with LW shaders (e.g Reflection node + blur).
In this case add the Safe Mask node to filter/protect connection to the root.
Safe Mask Node -Safe Mask node (9.5+) is an utility for Global 3d Shading in the Pixel Filter node editor. -It disables node root preview for all previous connections to prevent issues/crashes in connection
(e.g. 3rd party AO nodes or LW Reflection Blur). -It disables also Pixel Filter render process (node evaluation) on background, to prevent other kind of issues.
Since DP Filter Global 3d Shading has different Perspective DOF and PRMB sampling than LW render,
there are two available mask modes, LW Alpha Buffer or Global Shading Alpha.Surface ID Node -Surface ID output (9.5+) for Global 3D Shading in the Pixel Filter node editor. -This is a pseudo ID number, rather the position of 'unique' surface id in the scene surface list,
so removing or adding a surface will change the output value.
Download DP Filter win32 and Win64 versions of Filter node editors, dedicated nodes and Extra Buffer nodes
are now included in one module, called DP Filter available for Lightwave 9.0 to 9.3.1.
Older saved scenes with previous standalone nodes could fail to load because
of changes in plugin names. Changes in this module could fail with a previous installation, so please remove and re-add DP Filter after each update. Thanks to Gerardo Estrada for testing.
Download (Intel Win32) DP_Filter_9_x32.zip
(updated 06/10/09)
Download (Intel Win64) DP_Filter_9_x64.zip
(updated 06/07/09)
win32 and win64 versions of DP Filter for Lightwave 9.5.
Download (Intel Win32) DP_Filter_95_x32.zip
(updated 09/01/09)
Download (Intel Win64) DP_Filter_95_x64.zip
(updated 09/01/09)
win32 and win64 versions of DP Filter for Lightwave 9.6.
Download (Intel Win32) DP_Filter_96_x32.zip
(updated 09/01/09)
Download (Intel Win64) DP_Filter_96_x64.zip
(updated 09/01/09)