?
Solved

Maya models to openGl?

Posted on 2003-11-14
7
Medium Priority
?
7,809 Views
Last Modified: 2013-12-06
Hello
I have created a nice Maya tree model using NURBS.  I want to transport it into openGL. I'm using 3d exploration tool to generate the openGL code. I tried exporting Maya model using .vrml, .obj formats but somehow Maya doesnt export NURBS, though it exports other non-Nurbs objects.

Does anyone can tell me what the problem is and how to solve it?

Thank you.
0
Comment
Question by:EugeneTrukhin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
7 Comments
 
LVL 2

Expert Comment

by:limestar
ID: 9842034
The problem is that Maya doesn't export NURBS at all, since the formats don't support NURBS. Also, NURBS is not something you can natively draw in OpenGL

What you need to do to get it do display in OpenGL is to transform it into polygons before you export it.
0
 
LVL 1

Author Comment

by:EugeneTrukhin
ID: 9842414
Yeah, this what I've done, I transport  the polygons into openGL and put them into a display list. Actually, I wanted to have Bezier surfaces in my program and somehow get the control points for the surface in Maya so that I can use the control points coordinated in openGL to draw the surface.
0
 
LVL 2

Accepted Solution

by:
limestar earned 225 total points
ID: 9843041
I don't know what format supports NURBS. You'd probably have to write a parser for Maya's ascii format and then write your own tesselator for NURBS to polygons. There's probably quite some work involved with such a project since OpenGL doesn't support NURBS natively.
0
 
LVL 1

Author Comment

by:EugeneTrukhin
ID: 10127093
I dont understand I had already given the mark long time ago, what is the problem?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question