tools:sprite_sheet_sampler
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:sprite_sheet_sampler [2024/07/23 12:06] – lightwolf | tools:sprite_sheet_sampler [2024/07/23 13:39] (current) – [Sprite] lightwolf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Sprite Sheet Sampler ====== | ====== Sprite Sheet Sampler ====== | ||
- | {{ : | + | {{ : |
This node allows you to use a sprite sheet as an image sequence. | This node allows you to use a sprite sheet as an image sequence. | ||
Line 8: | Line 8: | ||
==== Background Colour / Blend Mode / Opacity ==== | ==== Background Colour / Blend Mode / Opacity ==== | ||
+ | |||
+ | The standard controls used to layer this texture nodes with others. | ||
==== Image Preview and Information ==== | ==== Image Preview and Information ==== | ||
+ | |||
+ | A preview of the currently selected image. Once the sprite sizes have been defined, a grid will be rendered on the image to show the individual sprites. | ||
==== < Previous / Next > ==== | ==== < Previous / Next > ==== | ||
+ | |||
+ | Allows for stepping through individual sprites in the preview once the sprite sizes have been defined. | ||
==== Texture Image ==== | ==== Texture Image ==== | ||
- | ==== Sprite / Sprite Width, Sprite Height ==== | + | Select or load an image to uses as the texture. |
- | ==== Sprite / Start Sprite, End Sprite ==== | + | ==== Sprite ==== |
- | ==== Sprite / Time Offset (s) ==== | + | This tab contains all controls related to the sprites. |
- | ==== Sprite / Frame Offset ==== | + | Sprites are assumed to start at the top left of the image and the sequence goes from left to right, top to bottom. There is no margin between individual sprites. |
- | ==== Sprite / Pre- / Post-Behaviour ==== | + | === Sprite / Sprite Width, Sprite Height === |
+ | |||
+ | The width and height of an individual sprite. When an image is selected, the suggestions in the pop up will change according to even divisors of the image size. | ||
+ | |||
+ | === Sprite / Start Sprite, End Sprite === | ||
+ | |||
+ | The first and last sprite to use as a sequence. | ||
+ | |||
+ | These will be changed to defaults when a new image is selected or the sprite height or width are changed. Make sure to only change these two settings as a last step. | ||
+ | |||
+ | === Sprite / Time Offset (s) === | ||
+ | |||
+ | The time offset in seconds. When enveloped, the envelope will control the absolute time of the sprite sequence, not an offset to the current scene time. | ||
+ | |||
+ | === Sprite / Frame Offset === | ||
+ | |||
+ | An offset in frames. This will be added to the time computed using the time offset. | ||
+ | |||
+ | === Sprite / Pre- / Post-Behaviour === | ||
+ | |||
+ | How the sprite sequence wraps if the current frame is beyond the first or last sprite image. Valid options are: | ||
+ | |||
+ | * Reset | ||
+ | * Loop | ||
+ | * Mirror | ||
+ | * Hold | ||
==== Mapping ==== | ==== Mapping ==== | ||
+ | |||
+ | The controls here are identical to the mapping controls in other image mapping nodes as well as the native image sampler. | ||
===== Connections ===== | ===== Connections ===== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ==== Time Offset ==== | ||
+ | ==== Frame Offset ==== | ||
+ | <WRAP center round download 60%> | ||
+ | [[https:// | ||
+ | This is a simple scene file that shows how the Sprite Sheet Sampler can be used to display a staggered image sequence on an instanced item. | ||
+ | </ | ||
+ | ---- | ||
+ | [[https:// | ||
+ | This is the plugin of the month for July 2024, made possible by the finest patrons on [[https:// | ||
- | {{ : | + | We'd like to thank Antti Järvelä from the LightWave 3D Group in helping us figure out the specifics of the bump mapping code in LightWave 3D. |
tools/sprite_sheet_sampler.1721729193.txt.gz · Last modified: by lightwolf