Solved

Maya models to openGl?

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

758 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

22 Experts available now in Live!

Get 1:1 Help Now