Solved

Maya models to openGl?

Posted on 2003-11-14
7
7,800 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
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.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

919 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now