sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    OpenGL Data?

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    2 Posts 2 Posters 186 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      designer3d
      last edited by

      Hi, i have been using Lua with OpenGL recently and it takes a format like this for the models/shapes/surfaces -

      -- Right face
      gl.TexCoord( 0, 0 ) gl.Vertex( 1, 1, 1 )
      gl.TexCoord( 0, 1 ) gl.Vertex( 1, -1, 1 )
      gl.TexCoord( 1, 1 ) gl.Vertex( 1, -1, -1 )
      gl.TexCoord( 1, 0 ) gl.Vertex( 1, 1, -1 )
      

      etc... which would be one face of a cube for example. So i was wondering if there is any exporter script or quick way i could get similar values to the TexCoord and Vertex values used in this example?

      1 Reply Last reply Reply Quote 0
      • brodieB Offline
        brodie
        last edited by

        You may want to repost this in the developer's forum, or even the plugins forum. Those nuts and bolts guys would be most likely to be able to help.

        -Brodie

        steelblue http://www.steelbluellc.com

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement