SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / converting models to OpenGL
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 14-12-2005, 06: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, 10: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

Quote:
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, 01: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

Quote:
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, 04: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

Quote:
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, 01: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 01:29 AM.
Phopojijo is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.