Please read carefully before download
This is a rather experimental plugin. It may not work correctly if you don't follow a special installation guide. However, the worst what can happen is that your Apo doesn't start. If that is the case - remove the plugin again and try to reinstall it correctly. dc_image takes a relatively high amount of system memory (RAM)
and may affect the maximum number of plugins you can load into Apophysis. Also - memory leaks are easy to create when it comes to bitmaps and I am a human, no robot. Please do not freak out if your Apo hangs and need to be shut down. Thanks!
Here is how you install it:
You don't need a special Apophysis version! All it needs is a DC-enabled Apo (which is 7x14 at the time of release)
- Create a folder named "Images" in your Apophysis directory
- Put Bitmap files (.bmp) into that directory named after the following schema:
dc_image_0.bmp, dc_image_1.bmp, ...
The bitmap files must be in 24 bit format. This is the default format. It is pre-selected in Photoshop when saving and Windows Paint always saves 24 bit bitmaps.
- Install the plugin into your plugins folder.
Once correctly installed, you can use dc_image_index to select an image from the "Images" folder (dc_image_<index>.bmp) - if the index is negative or the file was not found, it acts as linear3D.
Use dc_image_mode to select the coloring mode:
- 0 - colors by brightness (first gradient color for darkest, last gradient color for brightest pixels)
- 1 - colors by binary value (b<<16 | g << 8 | r) - for advanced users
You may also want to use dc_image_mincmap and dc_image_maxcmap to restrict the range of the gradient where dc_image can choose colors from. I won't give support for this. If you have problems, solve them yourselves for now until I declare the plugin "final"