How to render a radial field in OpenGL?

How could I render an animation export from Blender in an OpenGL program?

  • Answer:

    I think I might understand what you want.  Do you want to do all your keyframing in Blender and then export that so that you can apply the transformations in your OpenGL app?  I usually write a Python script for Blender that goes frame by frame over the animation and exports the transformation matrices to a file.  Then in my OpenGL application, I read this file and apply the transformations frame by frame, render to texture, and save to disk.  Does that sound like something you want to do?

Kevin Matzen at Quora Visit the source

Was this solution helpful to you?

Other answers

I'm not exactly sure what you are asking- do you mean rendered images, rendered video file, or the 3D models themselves? The first two are 2D, so are not specific to OpenGL, so I assume you mean the actual geometry, not the renderings. OpenGL is not one specific program- it is a library programmers use. As such, there is no one way to port data to it, as OpenGL does not support any specific file formats. You have to write that part yourself, or use some third party library. If you are a programmer, some of the simplest and widely used 3D formats are X3D and OBJ, both of which are simple text file formats. STL is popular for 3D printing as well. Collada is another popular 3D format, but it is complex and convoluted.

Nick Lilavois

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.