Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 14-12-2005, 07:20 PM   #1
blazing_fire
Registered User
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default converting models to OpenGL

Hi you all.

I'm doing a project in OpenGL, and I want to import my Maya models in a form I can use with OpenGL programming.

I need to convert both polygonal and NURBS models to the invironment, and i want to know how i can do it, and what's the limitations.

Thank ahead,
me
blazing_fire is offline   Reply With Quote
Old 16-12-2005, 11:59 PM   #2
sensensen
Registered User
 
sensensen's Avatar
 
Join Date: Nov 2005
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: converting models to OpenGL

Originally posted by blazing_fire
Hi you all.

I'm doing a project in OpenGL, and I want to import my Maya models in a form I can use with OpenGL programming.

I need to convert both polygonal and NURBS models to the invironment, and i want to know how i can do it, and what's the limitations.

Thank ahead,
me
the Graphics card I have is a ATI x600 and its running on a 3g P4.

I tried to install drivers from ATI but not sure if it stayed the same or got worse....

anyway ... if someone could throw me
__________________
maya works
sensensen is offline   Reply With Quote
Old 17-12-2005, 02:50 AM   #3
Phopojijo
Registered User
 
Join Date: Aug 2004
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: converting models to OpenGL

Originally posted by blazing_fire
Hi you all.

I'm doing a project in OpenGL, and I want to import my Maya models in a form I can use with OpenGL programming.

I need to convert both polygonal and NURBS models to the invironment, and i want to know how i can do it, and what's the limitations.

Thank ahead,
me
Okay -- this is going to piss you off but there's no standard openGL import fileformat (at least not that I'm aware of) unlike .x for DirectX.

You'll need to code your own... also NURBS will need to be converted to polygons to work correctly in a realtime environment.
Phopojijo is offline   Reply With Quote
Old 17-12-2005, 05:02 PM   #4
blazing_fire
Registered User
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Re: converting models to OpenGL

Originally posted by Phopojijo
Okay -- this is going to piss you off but there's no standard openGL import fileformat (at least not that I'm aware of) unlike .x for DirectX.

You'll need to code your own... also NURBS will need to be converted to polygons to work correctly in a realtime environment.
first of all, thanks for your replay

second-I don't want to convert it to a file, I want to convert it to a C code I can use with programming softwares such as Visual Studio. Does it makes any difference?
blazing_fire is offline   Reply With Quote
Old 18-12-2005, 02:24 AM   #5
Phopojijo
Registered User
 
Join Date: Aug 2004
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No difference -- personally I'd check around for some opensource file format (or make your own... depends on what features you want it to have... if you just want unsmoothed polygons and possibly UVs and space is not an option then you can use a file like JMS which is uncompiled and uncompressed.

Again -- I need to know what its for to give better suggestions...

Btw -- all a file is is a series of variables... its much more efficient memory, space, and processor (go figure) to use file import then simply bake it in the program. You can load files as much or as little as you wish... a program's inflated if its baked in.

Last edited by Phopojijo : 18-12-2005 at 02:29 AM.
Phopojijo is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.