lib.point.generate.PointsOnImage - tixl3d/tixl GitHub Wiki

PointsOnImage

in Lib.point.generate


Uses the image brightness to emit points.

WARNING: this is extremely slow for high resolution. We recommend setting fixed resolutions like 512x512px.


Input Parameters

Name (Relevancy & Type) Description
Image (Texture2DRequired) -
IsEnabled (Boolean) In certain situation it you an save resources by disabling update.
E.g. you could use [Once] on only compute a single distribution of Image and Seed do not change.
Count (Int32) The counts of emitted points. Note that the resolution of the connected image has larger impact on performance than the number of points.
GainAndBias (Vector2) Applies bias and gain before sampling the image. This can be useful to increase the contrast of the distribution.
ScatterWithinPixel (Single) On images with very small resolution the pixels can be become noticible. This parameter scatters the points with the pixels.
Values larger than one add an additional scattering.
ApplyColorToPoints (Boolean) Samples the image color (including alpha) to the Point attribute. If disabled, points will be white.
Seed (Int32) A random seed. Consider connecting [CountInt] to add a animated dithering.
ColorWeight (Vector4) -
ClampThreshold (Single) -
Mode (Int32) -

Outputs

Name Type
OutputPoints T3.Core.DataTypes.BufferWithViews

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️