Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Maya models to openGl?

Posted on 2003-11-14
7
Medium Priority
?
7,810 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

604 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