Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

gre/glsl-transition-validator-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

glsl-transition-validator-cli

Validate a GLSL Transition from the CLI. Using glsl-transition-validator.

Example

$ glsl-transition-validator --glsl cube.glsl -u '{"persp":0.7,"unzoom":0.3,"reflection":0.4,"floating":3}' --from from.png --to to.png --width 512 --height 512
Status: Using GLEW 1.10.0
compiles: OK.
satisfy uniforms: OK.
is valid for from: OK.
is valid for to: OK.
Result: 4 passed. 0 failed.

$ echo $?
0

and when removing the 'persp' GLSL uniform:

$ glsl-transition-validator --glsl cube.glsl -u '{"unzoom":0.3,"reflection":0.4,"floating":3}' --from from.png --to to.png --width 512 --height 512
Status: Using GLEW 1.10.0
compiles: OK.
satisfy uniforms: Failed.
[ { message: 'persp uniform should be provided.',
    reasonId: 'UniformNotProvided',
    uniformId: 'persp' } ]
is valid for from: OK.
is valid for to: OK.
Result: 3 passed. 1 failed.

$ echo $?
1

Current status

  • Project Status: Under Development – it is currently based on node-webgl which needs a graphical interface and even is creating a window for each CLI...

About

OUTDATED – Validate a glsl-transition from CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published