Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: rendering opengl in web

  1. #1
    Newbie Newbie
    Join Date
    Jul 2014

    rendering opengl in web


    i want to use opengl for a special task but i dont know is it suitaible fir me or not. So i ask you give me a breif information about these:

    1- is it possible to embed a 3d opengl model in webpage?if yes, please tell me how?

    2- can i convert opengl models to other 3d formats?

    thank you
    with regards

  2. #2
    Junior Member Regular Contributor Agent D's Avatar
    Join Date
    Sep 2011
    Innsbruck, Austria
    1 - There is a thing called WebGL(R) which is basically OpenGL(R) ES for JavaScript that draws to an HTML5 canvas.
    2 - There is no such thing as an OpenGL(R) model format. You need to somehow load and interpret a model file with a format of your choice and generate a vertex buffer [and index buffer] from the data.

    To clear a few missconceptions: OpenGL(R) is an API for hardware accelerated rasterization, not a fully featured 3D graphics rendering engine. The only thing OpenGL(R) handles is rasterizing triangles. It does not handle things like loading model data from some source or user input, etc...

    If you want a simple, fully featured rendering engine that you can embedd into a website, you might be interested in something like Coppercube.

  3. #3
    Newbie Newbie
    Join Date
    Jul 2014
    thank you very much.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts