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
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
Related Q & A:
- How can I make a consecutive animation of buttons?Best solution by Stack Overflow
- How do I export my contacts from Yahoo! into Gmail contacts?Best solution by Yahoo! Answers
- How do I get people to sign up for a referral partner program for our company?Best solution by Yahoo! Answers
- How do I export my mail addresses?Best solution by Stack Overflow
- How can I get a job in computer animation at Pixar?Best solution by Quora
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.