Solved

Maya models to openGl?

Posted on 2003-11-14
7
7,807 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 75 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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