MtI 3.0.x

Announcements, requests and support regarding the MAYA exporter
User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

MtI 3.0.x

Post by CTZn » Thu Jun 16, 2011 1:50 pm

Check my signature for updates !

Main changes:

- added vignetting option (camera)
- added materials ID pass option (camera)
- added background material emission, with map rotation
  • you can now plug a material into the background color slot, all but emission will be ignored
- added smoothing option for scalar textures
- fixed several bugs
- improved various UI elements
  • notably a "load" button to the Indigo Editor when frozen, making it a viable option
    XML/ISL editing within the Editor is now convenient as it can be maximised
- removed obsolete options
- muted script outputs

As usual, please let me know: what you like and don't, rants, questions, request features, thanks and assertions.

On the roadmap:

- support for multiple UV sets
- multiple simultaneous environments (ie EXR + sun)
- doc
- your request here

PS: the shipped doc says that you must restart Maya but that is not necessary (Windows). Mac/Linux users will have to install the files manually probably. To be honest, MtI was solely tested on Windows. Mac and Linux users are invited to report their experience with MtI in order to give me a chance to improve it.
obsolete asset

SreckoM
Posts: 125
Joined: Tue Jan 30, 2007 7:33 pm
Location: home/Serbia/Novi Sad

Re: MtI 3.x

Post by SreckoM » Thu Jun 16, 2011 10:59 pm

Thank you a lot for hard work!

I had some problems with instances, and their transforms with previous releases.
Will test this thoroughly too :D

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

Re: MtI 3.x

Post by CTZn » Mon Jul 04, 2011 4:49 pm

Update

Are linked successfully:

- IGM with a name that Maya can't have for a shading group
- IGM with empty name tag for the one root material
  • each empty name element will have the same name wich may not always help
In both cases the IGM file is edited silently before linking.

MtI 3.x.2 as per the signature.

I overlooked the changes regarding glass acceleration for pt...
obsolete asset

SreckoM
Posts: 125
Joined: Tue Jan 30, 2007 7:33 pm
Location: home/Serbia/Novi Sad

Re: MtI 3.x

Post by SreckoM » Tue Jul 05, 2011 12:24 am

One question, is there plan to make process of exporting faster? I have scene with lot of geometry and export time is more than one minute.

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

Re: MtI 3.x

Post by CTZn » Tue Jul 05, 2011 2:39 am

Depends on wich part you want sped up.

I don't think I can make object writing faster than the c++ compiled objExport plugin, but you don't have to reexport all meshes each time.

Once the scene was exported, in the Options window, Exporter tab, check "only new". When this is ticked, a mesh writing will be skipped if the matching OBJ file is found on disk.

Now there are a couple moments when you want to force export for a mesh:

- When you have edited the shape.
- When you have changed the name of one of its materials (either by renaming or swapping/adding material).

In that cases, select the modified meshes and in the MtI menu click "Purge selected meshes from disk". Matching OBJ files will be erased and their export implicitly forced.

Does it help ?

Warning: You may get an Indigo material error if you forget to re-export one mesh needing it while "only new" is ticked. Don't forget you did activate that option then, and that the OBJ needs to be erased in order to force rewriting. Can be confusing otherwise.
obsolete asset

SreckoM
Posts: 125
Joined: Tue Jan 30, 2007 7:33 pm
Location: home/Serbia/Novi Sad

Re: MtI 3.x

Post by SreckoM » Tue Jul 05, 2011 3:49 am

Yes, that was really helpful, thank you.

I was comparing export time with other render engines, and differences are huge.For example, Vray export time is around 5 sec, and objExporter that is used with Indigo is around one minute.

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

Re: MtI 3.x

Post by CTZn » Tue Jul 05, 2011 4:03 am

And mesh writing by mel would be tenth of minutes in your case...

Probably Maya and Vray have an API pipe in common, doing stuff in RAM and anyways being faster at export. I don't think that MtI will compete in that category before a moment.

Also ChaosGroup had quite a hard time in doing Vray for Maya if you remember (we're talking about 5+ years ago, with dramatic statements at the time).

Edit: what was that with instances SreckoM ?
obsolete asset

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

Re: MtI 3.x

Post by CTZn » Thu Jul 21, 2011 2:38 am

MayaToIndigo 3.x_3

- Multiple instances of the same IGM can be linked
  • creates duplicates of the IGM with a unique material name
- One material out of many within the IGM can be choosen when applicable.
  • Such IGM files are for private use only and should not be uploaded to the matDB.
- Changed render modes to allow GlassAcc with PT
Attachments
MayaToIndigo 3.x_3.zip
(172.82 KiB) Downloaded 497 times
obsolete asset

Cyrus3v
Posts: 2
Joined: Fri Jul 22, 2011 2:08 am

Re: MtI 3.x

Post by Cyrus3v » Fri Jul 22, 2011 2:12 am

Hi CTZn,

first of all, thanks for this script. Good Job. :D

However I have a problem. When I try to install the script I get this error:
// Error: Maya to Indigo ressources not found in C:/Users/cirocardoso/Documents/maya/projects/default. Please report this error to the developer with the mismatching paths. //


Any idea what is wrong? :?

Thanks

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

Re: MtI 3.x

Post by CTZn » Fri Jul 22, 2011 5:50 am

Hi Cyrus3v, thank you for reporting the error. I need feedback on that one since I couldn't reproduce it myself. Therefore we are on an experimental ground here.

First, I assume that you didn't extract the zip to "C:/Users/cirocardoso/Documents/maya/projects/default".

Here's an attempt for a first, theorical workaround:
  • - copy any texture file supported by the file texture node beside mti_installation.mel
    - create a file texture node and point it to that texture
    - once the texture is loaded - you can delete the node - try sourcing mti_installation.mel again
Let me know if that works.

I'll enhance that part of the installer, I have a few clues.
obsolete asset

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

Re: MtI 3.x

Post by CTZn » Fri Jul 22, 2011 5:57 am

To all: spotted a bug when you connect a material with a textured emission modulator as the background material (in background environment). The texture will be incorrectly mapped over the environment. This doesn't happen if the rotation value below is non-zero. Fixed for the next release.

Note that you can drive the rotation value by the rotation parameter of the object you use to display the environment in the viewport.
obsolete asset

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

Re: MtI 3.x

Post by CTZn » Fri Jul 22, 2011 6:15 pm

- fiddled with installer (failsafe)
  • The primary method for path detection has changed slightly, and should it fail a secondary, seemingly similar method is proposed. If the secondary method is repeated automatically then chances are you will have to install MtI manually. edit: hopefully you won't get stuck in a loop woops
- fixed bug on textured background emission without rotation

- material background is skipped if emission is black

- set Oren-Nayar sigma to default to 0.3
Attachments
MayaToIndigo 3.x_3b.zip
(173.14 KiB) Downloaded 417 times
obsolete asset

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

Re: MtI 3.x

Post by CTZn » Sat Jul 23, 2011 6:09 pm

- fixed installer issues for Maya 2010 and below
  • Users of Maya 2011 and above do not need to download 3c
  • Maya 2010 and below: known issue: the Indigo shelf has twice the icons, need manual cleaning.
Attachments
MayaToIndigo 3.x_3c.zip
(173.28 KiB) Downloaded 795 times
obsolete asset

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

Re: MtI 3.x

Post by CTZn » Mon Jul 25, 2011 6:57 am

dbdigital, Cyrus3v, is installation running any better for you ?
obsolete asset

Cyrus3v
Posts: 2
Joined: Fri Jul 22, 2011 2:08 am

Re: MtI 3.x

Post by Cyrus3v » Mon Jul 25, 2011 8:16 pm

CTZn thanks for your help.

After post here the error, I tried at home. And I get another error related to Renderman. I uninstall Renderman and then the script worked. Here in my work I tried with Maya 2010 and then give me a error related to MayaTools Bonus, but worked at Maya 2011.

Thanks :)

Post Reply
38 posts

Who is online

Users browsing this forum: Majestic-12 [Bot] and 26 guests