Jump to content

Help with finding maya converter to C code


kazuar

Recommended Posts

Hello,

I tried to look for program that can convert 3D image in maya to C code.

I have to find a program that can do that as fast as possible because I have to finish my thesis (which is a 3D paccman game in C language) in 5 mounths from now.

 

Please, if anyone knows any programs that can do that, please give me a download link.

It's really important.

 

 

 

Thank you very much for all the helpers and your time,

Ofir.

Link to comment
Share on other sites

I don't do game development, or 3D development for that matter, but my general understanding is programs like Maya or 3DS Max can output their models in an open format you should be able to find libraries for.

 

I haven't seen anything which allows you to directly convert their models into C code.

Link to comment
Share on other sites

  • 2 weeks later...

How do you use the 3D image in C code, when the image is just in a file? If you already have it working like Load("3DImage.3d.thing") then what you can do is base64 encode the data in that file, make an object with an array just {char 3d_image[] = "..."} where the base64 data is in the .... Then just use a base64 decoding library to turn it back into the original bytes of the file, instead of opening an external file and loading the bytes from it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.