This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <math.h> | |
const int HEART_SIZE = 20; | |
const int HALF_SIZE = HEART_SIZE / 2; | |
bool is_in_love(int x,int y); | |
int main(void) | |
{ | |
std::string message = " SYSTEMATIC LOVE "; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# Project Diva F 2nd SPR Format | |
# Script by waelwindows | |
# Made possible by Brolijah, Skyth, Stewie 1.0 | |
from inc_noesis import * | |
import noesis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install the plugin into your Noesis python plugin location usually Noesis\plugins\python | |
2. Open Noesis and grap your spr file to view, | |
(The script is automatically setup to be used for thumbnail previewing) | |
3. (Optional: for sprs other than thmbs) Look for the Last PXT before the first mip starts and set the SPRTex-Mip classe's pxt_offset to that offset | |
4. (Optional: If you did 3) Reload the plugin or restart noesis | |
5. Double click on a .spr to view it | |
6. Right-click and press the export option on the .spr file to export the images to your desginated file format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void mainImage( out vec4 fragColor, in vec2 fragCoord ) | |
{ | |
// Normalized pixel coordinates (from 0 to 1) | |
vec2 uv = fragCoord/iResolution.xy; | |
vec4 col = texture(iChannel2, uv); | |
vec2 mip1 = texture(iChannel0, uv).xy; | |
vec2 mip2 = texture(iChannel1, uv).xy; | |
mat3 yMat = mat3(1., 0., 1.5748, |