Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Translate the current scene into an C/C++ OpenGL program

Translate the current scene into an C/C++ OpenGL program

I think this feature is useful for students learning OpenGL programming. Usually the homework or course project asks students to use existing models like bunny or teapot to work with some OpenGL tasks like lighting or rendering. But sometimes the students are free to use whatever model s/he likes. It is tedious and error-prone to write hard-coded coordinates into C/C++ codes to describe the model. How nice it would be if I can create the model inside Maya and export the coordinates directly by clicking a menuitem! My idea pushes this convenience one step further, inspired by the interface Maya has already provided for Unity and Unreal. I hope there is a menuitem File | Send to Visual Studio | All or Selection. If I click it, Maya can create a Visual Studio 2015 C/C++ Project which contains OpenGL codes and automatically invoke Visual Studio to open it. When I run the project in VS, it can display exactly the scene or selected objects in Maya (based on whether All or Selection was chosen). Furthermore, Maya can provide options to better control the generation of OpenGL code, such as what OpenGL version to use, what VS version to use (VS2015 or VS2017), whether the glm library call should be included, whether to use GLFW 3.2.1 or the legacy GLUT ... etc. This feature will not only make OpenGL coding convenient, but also provide a good model to learn OpenGL programming for students, so I hope it could be added in a future version of Maya. Thank you.

2 Comments
tj.galda
Alumni
Status changed to: Archived
 
Anonymous
Not applicable

So was there ever resolution of the for Maya 2019 objects to be output to OpenGL?

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea