Page 2 of 3

Posted: Sun Nov 18, 2007 3:27 am
by dougal2
we could use absolute paths to reference the original textures, but the user may want to save the scene onto a network, where the absolute path would be wrong.

better to keep everything relative to the scene files, then they can be moved or used across a network without problems.


Posted: Sun Nov 18, 2007 3:31 am
by CTZn
r115: mainly holds a private message, please acknowledge !

Posted: Sun Nov 18, 2007 3:35 am
by dougal2
yeah, I hear ya.

I'm going to have to re-write a fair bit of it anyway with this new shader impementation. Should be a lot simpler :)

Posted: Sun Nov 18, 2007 4:34 am
by CTZn
Cool coz I can't get blends out of r114, dunno how to add attributes... BTW there are 3 connections between shaders and layered material:


is that an issue ? I saw you edited the connexions in your attachment.

Also Maya and Indigo use inverted alpha, one to the other (green goes red in your example). If I am correct you can easily invert blends by swapping shaders A and B.

edit Concerning documentation, feel free to correct any wrong statement I did. Just put a quick howto, I can bother with putting text into shape (Wiki wise if not rtf).

Posted: Sun Nov 18, 2007 4:55 am
by dougal2
CTZn wrote:Also Maya and Indigo use inverted alpha, one to the other (green goes red in your example)
oh shit.

Posted: Sun Nov 18, 2007 5:36 am
by CTZn

Posted: Sun Nov 18, 2007 5:46 am
by dougal2
EDIT: thought that this may have been an indigo bug but, no, it's Maya that's back to front.

Posted: Sun Nov 18, 2007 6:34 am
by dougal2
ok, I've fully implemented multiple-blends now too.

new shader documentation to follow later or tomorrow.

Posted: Sun Nov 18, 2007 7:23 am
by dougal2
there's no camera bug... i hadn't updated my obj - had "append" on by accident.

grrr. i'm surprised the scene rendered at all!

Posted: Sun Nov 18, 2007 8:43 am
by dougal2
today's further progress:

119 / doug
- Removed /objs and /Textures directories - now auto created.
- Updated Maya to Indigo.rtf with pictures (13MB - sorry! will optimise at some point -- perhaps we just use the Wiki instead?)
- Removed redundant custom Attrs from mti_add_customAttributes_proc.mel and GUI
- small tidying in mti_ExportModuleCamera.mel
- Migrated to new mti_ExportModuleShaders.mel

118 / doug
swap to new module shader.

117 / 7 years [single file update]

116 / doug
- auto create objs/folder if it doesn't exist

- now totally redundant

- implemented albedo/bump/exponent/blend maps from hypershade. everything is copied auomatically.
- blend materials are still a little broken, use with caution. just needed to commit this before I got too far ahead.

- small tidying of XML output.

Posted: Sun Nov 18, 2007 11:39 am
by dougal2
OK, last thought for today: I think we should use the Wiki as the main documentation, especially as I want to include a few graphics in it.

CTZn: you seem to be pretty good at wiki editing, can we make that happen?

Posted: Sun Nov 18, 2007 6:41 pm
by CTZn
Yes sure I can have a look at that Doug... when I wake up :)

Looks like you are enjoying your Maya trip !

Posted: Mon Nov 19, 2007 2:37 am
by CTZn
Yawn... well... Wow thats big (13MB) ! How comes I see only 3 lil images in rtf while it's so heavy !?

k gonna read the Wiki Syntax page a bit ^^

Posted: Mon Nov 19, 2007 2:59 am
by dougal2
i dunno... they're probably embedded as BMPs or something stupid.

also, can you let me know if there's anything about the new shader module that isn't either in the docs or obvious to work out? Obviously I feel happy with it because I understand it, but I'm wondering what others will make of it.

i'm off to work now for a few hours, but i'll be back later to help out.

Posted: Mon Nov 19, 2007 3:10 am
by CTZn
dunno... they're probably embedded as BMPs or something stupid.
Yes, now I've seen that they also are bigger than they appear in rtf, nevermind. Still I don't like this format, or Wordpad either :)

Edited wiki: Text + image + direct support. Check it in case I dismissed something.
For now, please don’t blend your blend materials, as there is no dependency checking – but feel free to do it if you are willing perhaps to manually re-order sections of the generated XML so that all materials are given in order.
Is that true ? I thought I read the contrary from you recently ?

bkircher, I'm a bit anxious because we lack doc input for your work, bear in mind that undocumented features are likely not to be used. That said enjoy your week-end !