Skip to content

pierrextardif/ofxPlasticTexture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ofxPlasticTexture

OpenFrameworks Plastic textures generator.

.

Install OF

In order to install OpenFrameworks, find the guide here.

Description

Structure

The addon works with ofxAutoReloadedShader, that's the only dependency. It has been added as a local addon in order to get the exact same version.
There is only one header for easy reading, and only one shader file too.
The addon can be used as a local_addon or not, the line 14 of ofxPlasticTexture.hpp must be commented out if not used as a local addon:

#define LOCALADDON

in order to get the right path.

Getting Started

Local Addon

Add this to your OF/apps folder.

Normal Addon

Add this to your OF/addons folder, and comment out :

#define LOCALADDON

from ofxPlasticTexture.hpp line 14.


Try the example.

ShortCuts:

    // ==== ofApp.cpp  
    if(key == ' ')plastic.updateTexture(); // changes textures offset
    if(key == 'r')plastic.resetTextureOffset(); // reset offset to (0,0)
    if(key == 'm')plastic.moveTexture(); // noise Offset Moves / Stops

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published