Maya To Indigo Video Tutorial #1: Installation

Tutorials/guides/tips on how to use Indigo and the Indigo exporters
User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Maya To Indigo Video Tutorial #1: Installation

Post by dougal2 » Thu Nov 29, 2007 11:46 am

Here is the online - flash version of the Installation tutorial.

http://ftlfm.com/gallery/v/MtI/vidtut/0 ... t.flv.html


[ edited post because I edited the video ;) ]
[edit: updated URL]
Last edited by dougal2 on Sat Dec 01, 2007 10:08 pm, edited 1 time in total.

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Sat Dec 01, 2007 2:21 pm

dougal2
Hmmmm. 2 and 3 seem to work, but not this one... This is just awesome - I will play with this later. I hope things arent too much different, as I run Maya 8.5 linux x64 version.

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sat Dec 01, 2007 10:09 pm

sorry, the URL was wrong - I also edited the filename :oops:

should work now :)

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sun Dec 02, 2007 12:25 am

BTW... would you mid posting back here the different file locations for linux systems, so that others can work out where to put files?

Also, you'll find that renderDirect and External XML display won't work.
I'll have a look at linux implementations for these in the next release.

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Sun Dec 02, 2007 2:19 am

dougal2
I will surely do that, but being new to Maya, it may be a while, as I still need to learn the basics. I usually always use Blender.

[EDIT] The Maya directory is created by default in /home/username/maya.
(where "username is your account name - example: mine is /home/phr0stbyte/maya

Here you will your 8.5 directory - in my case it is 8.5-x64

Remember that linux IS case sensitive with all path and file names
Last edited by Phr0stByte on Sun Dec 02, 2007 2:30 am, edited 1 time in total.

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sun Dec 02, 2007 2:24 am

thanks!

I've never used Maya on linux, but I'm hoping that the files that exist in "My Documents" on windows are put somewhere sensible, like /home/user/ on linux.

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Sun Dec 02, 2007 2:31 am

dougal2
See my above edit...

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sun Dec 02, 2007 2:35 am

excellent... does it work then?

oh, one other question, slightly OT, but related: How the hell are you watching flash video in 64bit linux???
Last edited by dougal2 on Sun Dec 02, 2007 2:38 am, edited 1 time in total.

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Sun Dec 02, 2007 2:38 am

dougal2
Have not tried it yet - Would like to eat breakfast first :)
Then, as I have never used Maya before, I need to make a ball and or cube scene and figure out Maya lighting before exporting... (Total Maya newbie)

Or we can chat here or with IM

AIM = Hwa2Man
Yahoo = Phr0stByte2000
MSN = r_wohlschlag@hotmail.com
ICQ = 50650688

For flash, I install a 32bit firfox.

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sun Dec 02, 2007 2:51 am

i start work now until late this evening. we can chat tomorrow if you have prolbems with it.

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Sun Dec 02, 2007 10:19 am

Phr0stByte
Well, the script seems to "run", but the icons at the top dont show - not a showstopper, as mouseover will tell you what they are.

I created an indigo camera and sun, but I cant get it to render directly or save the xml. The progress window that comes up is totally blank.

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Sun Dec 02, 2007 12:45 pm

Hi PhrOsByte.

We need you to open the Script Editor and paste here the lines added when you export, and preferably copy/paste the whole process including Maya startup, call for mti, camera and sun creation, then export. I'm talking about Script Editor Output pane.

Thanks
obsolete asset

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Sun Dec 02, 2007 1:55 pm

dougal2
CTZn

Here is the output file - it looks like I could have very well done something wrong installing the script.... I await your input - Thanx!

I really would like to get this going, as I am falling in love with NURBS, where in Blender, they suck... Really appreciate you scripting people - without you guys, Indigo would be pretty useless. You guys often dont get the credit you deserve - That includes you, SmartDen! Still love Blender and Blendigo!
Attachments
maya2indigo_mel_output.txt.zip
(1.34 KiB) Downloaded 354 times

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Sun Dec 02, 2007 4:26 pm

Ok now we can go ahead !

1) you will have to convert nurbs into polygons. OBJ format supports bezier definitions but not Indigo yet.


2)

Code: Select all

// Warning: File not found: mti_CamRed.bmp // 
Indeed icons installation went wrong. Redo the install procedure (just for icons, scripts are in place). If you can set system variables you must know that XBMLANGPATH is the name of the variable wich holds paths for icons. Another potential trouble maker is the bmp format, maybe you did things right but Linux need xpm format... If I refer to this page, icons can be PNG 16bits rgb (by the way if you are new to maya I recommend you explore www.highend3d.com further). Maybe try to convert them to png while keeping bmp extension.


3)

Code: Select all

// Warning: file: /home/phr0stbyte/maya/8.5-x64/scripts/MayaToIndigo/mti_Gen.mel line 147: fopen: unable to open file "INDIGO DIR/untitled.xml" for mode  "w". //
You export paths are not set. INDIGO DIR must be the path to indigo executable, that's where scenes are saved if LocalDir is not specified and checked on.
obsolete asset

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Mon Dec 03, 2007 4:09 am

OK - I actually got it to output an XML that I could render with indigo (direct render to indigo does not work - maybe something to do with wine). Icons still dont display after doing a batch convert to png and renaming back to bump - again, no big deal, as mouseover shows what they are for and they function.

My render only showed an empty sun/sky and then I remembered what you said about nurds, and did the convert to polys. I then only get an empty xml.
script output gives:

---- Indigo Export Started 2007/12/02 10:50:57 ----
// Warning: file: /home/phr0stbyte/maya/8.5-x64/scripts/MayaToIndigo/mti_Gen.mel line 147: fopen: unable to open file "INDIGO DIR/untitled.xml" for mode "w". //
Opening INDIGO DIR/untitled.xml
Reinhard tonemapping enabled.
Environment Lighting type: SUNSKY!
Sun in Y up world.
// Error: Invalid file type specified: OBJexport //

Post Reply
27 posts

Who is online

Users browsing this forum: No registered users and 3 guests