Login  Register

Re: How to Draw a Smooth Curve through a Set of 2D Points

Posted by mahesh on Mar 01, 2017; 6:14am
URL: https://forum.jogamp.org/How-to-Draw-a-Smooth-Curve-through-a-Set-of-2D-Points-tp4037677p4037695.html

forceES2    false
forceES3    false
forceGL3    false
forceGL4ES3 false
-----------------------------------------------------------------------------------------------------
Platform: WINDOWS / Windows 7 6.1 (6.1.0), x86 (X86_32, GENERIC_ABI), 4 cores, littleEndian true
MachineDataInfo: runtimeValidated true, 32Bit true, primitive size / alignment:
  int8    1 / 1, int16   2 / 2
  int     4 / 4, long    4 / 4
  int32   4 / 4, int64   8 / 8
  float   4 / 4, double  8 / 8, ldouble 12 / 4
  pointer 4 / 4, page    4096
Platform: Java Version: 1.7.0_79 (1.7.0u79), VM: Java HotSpot(TM) Client VM, Runtime: Java(TM) SE Runtime Environment
Platform: Java Vendor: Oracle Corporation, http://java.oracle.com/, JavaSE: true, Java6: true, AWT enabled: true
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
Package: com.jogamp
Extension Name: com.jogamp
Specification Title: JogAmp Java Bindings Specification
Specification Vendor: JogAmp Community
Specification Version: 2.3
Implementation Title: JogAmp Java Bindings Fat Jar
Implementation Vendor: JogAmp Community
Implementation Vendor ID: com.jogamp
Implementation URL: http://jogamp.org/
Implementation Version: 2.3.2
Implementation Build: 2.3-b900-20151009
Implementation Branch: origin/master
Implementation Commit: cc1e9bc698b7f11097c1e114027e53121552f280
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
Package: com.jogamp
Extension Name: com.jogamp
Specification Title: JogAmp Java Bindings Specification
Specification Vendor: JogAmp Community
Specification Version: 2.3
Implementation Title: JogAmp Java Bindings Fat Jar
Implementation Vendor: JogAmp Community
Implementation Vendor ID: com.jogamp
Implementation URL: http://jogamp.org/
Implementation Version: 2.3.2
Implementation Build: 2.3-b900-20151009
Implementation Branch: origin/master
Implementation Commit: cc1e9bc698b7f11097c1e114027e53121552f280
-----------------------------------------------------------------------------------------------------
GLProfiles on device WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x14f4ec4]]
        Natives
                GL4bc true [4.3 (Compat profile, arb, compat[ES2, ES3], FBO, hardware)]
                GL4 true [4.3 (Core profile, arb, compat[ES2, ES3], FBO, hardware)]
                GLES3 false
                GL3bc true [4.3 (Compat profile, arb, compat[ES2, ES3], FBO, hardware)]
                GL3 true [4.3 (Core profile, arb, compat[ES2, ES3], FBO, hardware)]
                GL2 true [4.3 (Compat profile, arb, compat[ES2, ES3], FBO, hardware)]
                GLES2 false
                GLES1 false
                Count 5 / 8
        Common
                GL4ES3 true
                GL2GL3 true
                GL2ES2 true
                GL2ES1 true
        Mappings
                GL2ES2 GLProfile[GL2ES2/GL4.hw]
                GL2ES1 GLProfile[GL2ES1/GL4bc.hw]
                GL2 GLProfile[GL2/GL4bc.hw]
                GL4 GLProfile[GL4/GL4.hw]
                GL4bc GLProfile[GL4bc/GL4bc.hw]
                GL3 GLProfile[GL3/GL4.hw]
                GL4ES3 GLProfile[GL4ES3/GL4.hw]
                GL2GL3 GLProfile[GL2GL3/GL4bc.hw]
                GL3bc GLProfile[GL3bc/GL4bc.hw]
                default GLProfile[GL4bc/GL4bc.hw]
                Count 9 / 12


Desktop Capabilities:
        GLCaps[wgl vid 1 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 0/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 3 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/0, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 4 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 5 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 6 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 7 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 8 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 0/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 9 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 10 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 11 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/4, sample-ext default, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 12 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 0/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 13 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/4, sample-ext default, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 14 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 16/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 15 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/4, sample-ext default, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 16 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/4, sample-ext default, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 17 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/4, sample-ext default, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 18 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 0/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 19 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/4, sample-ext default, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 20 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 16/0/4, sample-ext default, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 21 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/4, sample-ext default, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 22 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/4, sample-ext default, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 23 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/4, sample-ext default, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 24 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/8, sample-ext default, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 25 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 0/0/8, sample-ext default, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 26 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/8, sample-ext default, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 27 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 16/0/8, sample-ext default, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 28 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/8, sample-ext default, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 29 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/8, sample-ext default, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 30 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/8, sample-ext default, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 31 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 0/0/8, sample-ext default, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 32 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/8, sample-ext default, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 33 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 16/0/8, sample-ext default, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 34 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/8, sample-ext default, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 35 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/8/8, sample-ext default, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo, pbuffer]]
        GLCaps[wgl vid 36 arb: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms 32/8/0, one, mono  , sw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo]]
        GLCaps[wgl vid 37 arb: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms 16/8/0, one, mono  , sw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo]]
        GLCaps[wgl vid 38 arb: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms 32/8/0, dbl, mono  , sw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo]]
        GLCaps[wgl vid 39 arb: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms 16/8/0, dbl, mono  , sw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo]]
        GLCaps[wgl vid 40 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 32/8/0, one, mono  , sw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo]]
        GLCaps[wgl vid 41 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 16/8/0, one, mono  , sw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo]]
        GLCaps[wgl vid 42 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 32/8/0, dbl, mono  , sw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo]]
        GLCaps[wgl vid 43 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 16/8/0, dbl, mono  , sw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo]]
        GLCaps[wgl vid 44 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 32/8/0, one, mono  , sw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo]]
        GLCaps[wgl vid 45 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/8/0, one, mono  , sw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo]]
        GLCaps[wgl vid 46 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 32/8/0, dbl, mono  , sw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo]]
        GLCaps[wgl vid 47 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/8/0, dbl, mono  , sw, GLProfile[GL4bc/GL4bc.hw], on-scr[fbo]]
        GLCaps[wgl vid 48 gdi: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms 32/8/0, one, mono  , sw, GLProfile[GL4bc/GL4bc.hw], offscr[bitmap]]
        GLCaps[wgl vid 49 gdi: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms 16/8/0, one, mono  , sw, GLProfile[GL4bc/GL4bc.hw], offscr[bitmap]]
        GLCaps[wgl vid 52 gdi: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 32/8/0, one, mono  , sw, GLProfile[GL4bc/GL4bc.hw], offscr[bitmap]]
        GLCaps[wgl vid 53 gdi: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/8/0, one, mono  , sw, GLProfile[GL4bc/GL4bc.hw], offscr[bitmap]]
        GLCaps[wgl vid 72 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], offscr[pbuffer]]
        GLCaps[wgl vid 73 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], offscr[pbuffer]]
        GLCaps[wgl vid 74 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], offscr[pbuffer]]
        GLCaps[wgl vid 75 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], offscr[pbuffer]]
        GLCaps[wgl vid 76 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], offscr[pbuffer]]
        GLCaps[wgl vid 77 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], offscr[pbuffer]]
        GLCaps[wgl vid 78 arb: rgba 11/11/10/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 0/0/0, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], offscr[pbuffer]]
        GLCaps[wgl vid 79 arb: rgba 11/11/10/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], offscr[pbuffer]]
        GLCaps[wgl vid 80 arb: rgba 11/11/10/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/8/0, one, mono  , hw, GLProfile[GL4bc/GL4bc.hw], offscr[pbuffer]]

EGL Capabilities:
        none


Requesting: GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
Main Monitor: Monitor[Id 0x0 [primary], 309 x 173 mm, pixelScale [1.0, 1.0], viewport [ 0 / 0  1366 x 768 ] [pixels], [ 0 / 0  1366 x 768 ] [window], orig [Id 0x0, [ 1366 x 768 pixels x 32 bpp ] @ 60.0 Hz, flags [], 0 degr], curr [Id 0x0, [ 1366 x 768 pixels x 32 bpp ] @ 60.0 Hz, flags [], 0 degr], modeChanged false, modeCount 208]
    pixel/mm [4.420712, 4.4393063]
    pixel/in [112.28608, 112.75838]
-----------------------------------------------------------------------------------------------------
WindowsGraphicsDevice[type .windows, connection decon]:
        Natives
                GL4bc true [4.3 (Compat profile, arb, compat[ES2, ES3], FBO, hardware)]
                GL4 true [4.3 (Core profile, arb, compat[ES2, ES3], FBO, hardware)]
                GLES3 false
                GL3bc true [4.3 (Compat profile, arb, compat[ES2, ES3], FBO, hardware)]
                GL3 true [4.3 (Core profile, arb, compat[ES2, ES3], FBO, hardware)]
                GL2 true [4.3 (Compat profile, arb, compat[ES2, ES3], FBO, hardware)]
                GLES2 false
                GLES1 false
                Count 5 / 8
        Common
                GL4ES3 true
                GL2GL3 true
                GL2ES2 true
                GL2ES1 true
        Mappings
                GL2ES2 GLProfile[GL2ES2/GL4.hw]
                GL2ES1 GLProfile[GL2ES1/GL4bc.hw]
                GL2 GLProfile[GL2/GL4bc.hw]
                GL4 GLProfile[GL4/GL4.hw]
                GL4bc GLProfile[GL4bc/GL4bc.hw]
                GL3 GLProfile[GL3/GL4.hw]
                GL4ES3 GLProfile[GL4ES3/GL4.hw]
                GL2GL3 GLProfile[GL2GL3/GL4bc.hw]
                GL3bc GLProfile[GL3bc/GL4bc.hw]
                default GLProfile[GL4bc/GL4bc.hw]
                Count 9 / 12

Swap Interval  1
GL Profile     GLProfile[GL4bc/GL4bc.hw]
GL Version     4.3 (Compat profile, arb, compat[ES2, ES3], FBO, hardware) - 4.3.0 - Build 10.18.14.4414 [GL 4.3.0, vendor 10.18.14 (- Build 10.18.14.4414)]
Quirks         [NoDoubleBufferedBitmap, NoSurfacelessCtx]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Intel
GL_RENDERER    Intel(R) HD Graphics 4400
GL_VERSION     4.3.0 - Build 10.18.14.4414
GLSL           true, has-compiler-func: true, version: 4.30 - Build 10.18.14.4414 / 4.30.0
GL FBO: basic true, full true
GL_EXTENSIONS  208
GLX_EXTENSIONS 0
-----------------------------------------------------------------------------------------------------
Requested: GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
Chosen   : GLCaps[wgl vid 7 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]
GL impl. class jogamp.opengl.gl4.GL4bcImpl
GL4ES3 retrieved, impl. class jogamp.opengl.gl4.GL4bcImpl
GL3 retrieved, impl. class jogamp.opengl.gl4.GL4bcImpl