Welcome to Software Laboratory of Antillia.com.
    Future Windows and Linux Programming

  VIZ++ Samples

  Home     VIZ++ Class Library     VIZ++ ClassTree  

1 Download VIZ++ Library

You can download the latest VIZ++ library and samples for Visual Studio 2017 on Windows10. (Updated: 24 Aug. 2018) :
:
  • VIZ++ Class Library 1.0 for OpenGL and GLFW (viz++1.0.5-vs2017-win10-spring-2018-update.zip: #2018.08.24)

    This contains a set of C++ class header files and a lot of sample programs of VIZ++.

    NOTE
  • 2017/02/10: Updated OpenGL sample programs in 'src\opengl_app' and 'src\opengl2_app'.
  • 2017/02/01: OpenGL sample programs to 'src\opengl_app'.



  • 2 Build sample programs

    We have been using Visual Studio 2015 on Windows 10.
    2.1 Opengl applications
    (1) Open Visual studio command prompt window.
    (2) Change your current directory to 'usr\src\opengl_app'
    (3) Run build.bat on that directory.

    3 OpenGL freeglut, GLFW, JPG, PNG and Zlib libraries

    We have been using the followng for 32-bit Windows on Visual Studio 2015:
  • freeglut

  • GLFW

  • GLEW

  • JPG

  • libpng

  • zlib

  • We have installed those libraries on the following Windows folders;

    c:\freeglut-2.8.1
    c:\glfw-3.2
    C:\glew-1.13.0
    c:\jpeg-9b
    c:\png1622
    c:\zlib-1.2.8

    If you would like to compile our sample programs by using these libraries on VS2015, those libraries should be compiled by VS2015 in advance.
    Please note that the following cc.bat file in 'src/opengl_app' directory, which is a command-line compilation tool for that sub-directories, depends on the installed folders above as show below:

    echo off
    set GLUT_INC="C:\freeglut-2.8.1\include"
    set GLUT_LIB="C:\freeglut-2.8.1\lib\x86"
    set GLEW_INC="C:\glew-1.13.0\include"
    set GLEW_LIB="C:\glew-1.13.0\lib\Win32"
    set GLFW_INC="C:\glfw-3.2\include"
    set GLFW_LIB="C:\glfw-3.2\lib-vc2015"
    set JPG_INC="C:\jpeg-9b"
    set JPG_LIB="C:\jpeg-9b\lib"
    set PNG_INC="C:\lpng1622"
    set PNG_LIB="C:\lpng1622"
    set ZLIB_INC="C:\zlib-1.2.8"
    set ZLIB_LIB="C:\zlib-1.2.8"
    set CPP=%1
    set RCF=%CPP:.cpp=.rc%
    set RES=%CPP:.cpp=.res%

    rc %RCF%
    rem set STARTUP=/subsystem:"windows" /entry:"mainCRTStartup"
    set STARTUP="" cl /DNDEBUG /EHsc -I %GLEW_INC% -I %GLFW_INC% -I %GLUT_INC% -I %JPG_INC% -I %PNG_INC% -I %ZLIB_INC% /I ..\..\..\include %1 /link %STARTUP% /NODEFAULTLIB:LIBCMT.lib /LIBPATH:%GLEW_LIB% /LIBPATH:%GLFW_LIB% /LIBPATH:%GLUT_LIB% /LIBPATH:%JPG_LIB% /LIBPATH:%PNG_LIB% /LIBPATH:%ZLIB_LIB% OpenGl32.lib glu32.lib glew32.lib glfw3.lib freeglut.lib jpeg.lib zlib.lib libpng16.lib user32.lib gdi32.lib shell32.lib msvcrt.lib Comdlg32.lib /machine:x86 %RES%



    If you would not like to create a console window in the programs in the opengl_app, please rewrite the above cc.bat file in the following way:
    set STARTUP=/subsystem:"windows" /entry:"mainCRTStartup"
    rem set STARTUP=""



    4 VIZ++ Samples
    As you can easily see, the samples listed below are all very small, simple and basic programs for OpenGL, GLFW and GLEW. But they will actually help you understand VIZ++ class library and develop more practical application programs.


    Date Program Path
    10 Feb 2017 BitmapFont \src\opengl_app\BitmapFont
    10 Feb 2017 CharModsCallback \src\opengl_app\CharModsCallback
    10 Feb 2017 CheckImageTexturedCube \src\opengl_app\CheckImageTexturedCube
    10 Feb 2017 CloseCallback \src\opengl_app\CloseCallback
    10 Feb 2017 ColoredCube \src\opengl_app\ColoredCube
    10 Feb 2017 ColoredPyramid \src\opengl_app\ColoredPyramid
    10 Feb 2017 ColorModel \src\opengl_app\ColorModel
    10 Feb 2017 Cube \src\opengl_app\Cube
    10 Feb 2017 CubeRotationByKeyInput \src\opengl_app\CubeRotationByKeyInput
    10 Feb 2017 CubeRotationByTimerThread \src\opengl_app\CubeRotationByTimerThread
    10 Feb 2017 Cylinder \src\opengl_app\Cylinder
    10 Feb 2017 Disk \src\opengl_app\Disk
    10 Feb 2017 DropCallback \src\opengl_app\DropCallback
    10 Feb 2017 FileOpen \src\opengl_app\FileOpen
    10 Feb 2017 FileSave \src\opengl_app\FileSave
    10 Feb 2017 FilledCube \src\opengl_app\FilledCube
    10 Feb 2017 Fog \src\opengl_app\Fog
    10 Feb 2017 GLFWVersion \src\opengl_app\GLFWVersion
    10 Feb 2017 GlutLightedCube \src\opengl_app\GlutLightedCube
    10 Feb 2017 GlutLightedSphere \src\opengl_app\GlutLightedSphere
    10 Feb 2017 GlutLightedTeapot \src\opengl_app\GlutLightedTeapot
    10 Feb 2017 GlutLightedTorus \src\opengl_app\GlutLightedTorus
    10 Feb 2017 GlutTeapot \src\opengl_app\GlutTeapot
    10 Feb 2017 GlutTorus \src\opengl_app\GlutTorus
    10 Feb 2017 JPGTexture \src\opengl_app\JPGTexture
    10 Feb 2017 JPGTextureRotationByTimerThread \src\opengl_app\JPGTextureRotationByTimerThread
    10 Feb 2017 KeyCallback \src\opengl_app\KeyCallback
    10 Feb 2017 LightedCylinder \src\opengl_app\LightedCylinder
    10 Feb 2017 LightedDisk \src\opengl_app\LightedDisk
    10 Feb 2017 LightedSphere \src\opengl_app\LightedSphere
    10 Feb 2017 LightedTriangleRotationByKeyInput \src\opengl_app\LightedTriangleRotationByKeyInput
    10 Feb 2017 LightedTriangleRotationByTimerThread \src\opengl_app\LightedTriangleRotationByTimerThread
    10 Feb 2017 List \src\opengl_app\List
    10 Feb 2017 MultiJPGTexturedCubeRotationByKeyInput \src\opengl_app\MultiJPGTexturedCubeRotationByKeyInput
    10 Feb 2017 MultiJPGTexturedCubeRotationByTimerThread \src\opengl_app\MultiJPGTexturedCubeRotationByTimerThread
    10 Feb 2017 MultiPNGTexturedBoxRotationByKeyInput \src\opengl_app\MultiPNGTexturedBoxRotationByKeyInput
    10 Feb 2017 PartialDisk \src\opengl_app\PartialDisk
    10 Feb 2017 PNGTexture \src\opengl_app\PNGTexture
    10 Feb 2017 Polygon \src\opengl_app\Polygon
    10 Feb 2017 PopupMenu \src\opengl_app\PopupMenu
    10 Feb 2017 PosSizeCallback \src\opengl_app\PosSizeCallback
    10 Feb 2017 ProportionalCheckImageTexturedCube \src\opengl_app\ProportionalCheckImageTexturedCube
    10 Feb 2017 PyramidRotationByKeyInput \src\opengl_app\PyramidRotationByKeyInput
    10 Feb 2017 PyramidRotationByTimerThread \src\opengl_app\PyramidRotationByTimerThread
    10 Feb 2017 Quad \src\opengl_app\Quad
    10 Feb 2017 Rectangle \src\opengl_app\Rectangle
    10 Feb 2017 RegularPolygon \src\opengl_app\RegularPolygon
    10 Feb 2017 Simple \src\opengl_app\Simple
    10 Feb 2017 SmoothLine \src\opengl_app\SmoothLine
    10 Feb 2017 Sphere \src\opengl_app\Sphere
    10 Feb 2017 StrokeFont \src\opengl_app\StrokeFont
    10 Feb 2017 TextureSubImage \src\opengl_app\TextureSubImage
    10 Feb 2017 Triangle \src\opengl_app\Triangle
    10 Feb 2017 Version \src\opengl_app\Version
    10 Feb 2017 BufferedColoredBox \src\opengl2_app\BufferedColoredBox
    10 Feb 2017 BufferedColoredRegularIcosahedron \src\opengl2_app\BufferedColoredRegularIcosahedron
    10 Feb 2017 BufferedGradientColoredCube \src\opengl2_app\BufferedGradientColoredCube
    10 Feb 2017 BufferedRegularIcosahedron \src\opengl2_app\BufferedRegularIcosahedron
    10 Feb 2017 MultiColoredTriangleShader \src\opengl2_app\MultiColoredTriangleShader
    10 Feb 2017 RectangleShader \src\opengl2_app\RectangleShader
    10 Feb 2017 RenderAndFrameBuffer \src\opengl2_app\RenderAndFrameBuffer
    10 Feb 2017 ShaderFileReader \src\opengl2_app\ShaderFileReader
    10 Feb 2017 TriangleShader \src\opengl2_app\TriangleShader
    10 Feb 2017 VertexAndIndexBufferARB \src\opengl2_app\VertexAndIndexBufferARB

     Last modified: 24 Aug. 2017

    Copyright (c) 2015-2018 Antillia.com ALL RIGHTS RESERVED.