# paulhoux/Cinder-Samples

Sample applications for the Cinder framework
C C++ GLSL Other
Switch branches/tags
Nothing to show
paulhoux Added color dithering sample, showing the effect of dithering on the …
…quality of the image.

If you run this on a laptop, you'll notice that 6-bit dithering seems to look better than no dithering. This is probably due to the fact that most laptop panels are actually 6-bit color depth.
Latest commit 198ad7e May 23, 2018
 Failed to load latest commit information. All/common May 13, 2016 AnalogClock Mar 29, 2018 AudioVisualizer Mar 29, 2018 BloomingNeon Mar 29, 2018 BouncingBalls Mar 29, 2018 DepthOfField Mar 29, 2018 Dithering May 23, 2018 FXAA Mar 29, 2018 FlickrImageViewer Mar 29, 2018 GeometryShader Mar 29, 2018 HexagonMirror Mar 29, 2018 OneWorldMultipleWindows Mar 29, 2018 PerspectiveWarping Mar 29, 2018 PickingByColor Mar 29, 2018 PostProcessing Mar 29, 2018 SMAA Mar 29, 2018 ShaderToy Mar 29, 2018 SimpleSceneGraph Mar 29, 2018 SimpleShader Mar 29, 2018 SmoothDisplacementMapping Mar 29, 2018 Stars Mar 29, 2018 TextRendering Mar 29, 2018 TransparentMesh Mar 29, 2018 .clang-format May 11, 2016 .gitignore Mar 29, 2018 FOLDERS.jpg Aug 10, 2013 README.md Mar 29, 2018 build.bat Mar 29, 2018 formatter.bat May 13, 2016

# Cinder-Samples

Sample applications for the Cinder framework. These samples are meant to be used with the latest official release of Cinder. Git users should build against the 'master' branch.

These code samples are compatible with the Microsoft Visual Studio 2015 compiler, which is the compiler of choice for the Windows platform. XCode support for MacOS X is currently not officially supported, but the C++ and GLSL source code should run on all platforms without modifications. If you find an inconsistency or platform related bug, please notify me or create a pull request, so that I can fix the issues and make these samples as cross-platform as possible.

Find specific, sample related information in the sample's README.md files.

• Make sure you have downloaded the Cinder Framework. It is recommended to use Git, because this will make it easier for you to keep up to date with the latest versions of both Cinder and these samples. To learn more about how to create a copy of the Cinder Github repository, visit: http://libcinder.org/docs/welcome/GitSetup.html
• Make sure the Cinder master folder is called cinder_master, so that the samples can find it automatically.
• Make sure you can successfully compile Cinder yourself.
• Download the samples and place them next to Cinder's master folder:
• Open a command window (or Terminal)
• Switch to the disk containing the Cinder root folder, e.g.: d:
• Browse to the Cinder root folder: cd path\to\cinder_master
• The samples must be placed next to the cinder_master folder, so go up one level: cd ..
• Clone the samples repository: git clone https://github.com/paulhoux/Cinder-Samples.git cinder_samples
• Your folder should now look like this:

• Alternatively, you can download the repository as a ZIP-file and manually add the files to a "cinder_samples" folder.
• To run a sample, browse to the sample's folder and double-click the pre-compiled executable (.exe)
• To compile the sample yourself, browse to the sample's project folder (e.g. vc2015) and double-click the project file (.vcxproj) or solution (.sln) to open it in Visual Studio. Then, press F7 to compile the sample. It should compile without errors, provided you also compiled the Cinder Framework itself.
• To make sure that both Cinder and the sample code are always up to date, you can add the Cinder Framework project to your solution:
• From the File menu, select Add... and then Existing Project...
• Browse to cinder_master\proj\vc2015\cinder.vcxproj
• Click the Open button
• In the Solution Explorer, right-click on the sample project (e.g. AnalogClockApp)
• Select (Build Dependencies and then) Project Dependencies...
• Make sure the cinder project is selected by clicking in the check box. This way, Cinder will be built before the sample.
• Click the OK button
• Compile the solution (both Cinder and the sample) by pressing F7.

Thanks to all contributors and to the people behind the Cinder framework for doing an excellent job!

-Paul