• Login
sketchucation logo sketchucation
  • Login
ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

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 22 Jan 2011, 13:01

    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
    • B Offline
      brodie
      last edited by 27 Jan 2011, 18:21

      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
      1 / 1
      • First post
        1/2
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement