Re: [Maya2osg-users] Discussion of next changes
Status: Alpha
Brought to you by:
jtaibo
|
From: Jean-Sébastien G. <jea...@cm...> - 2011-05-26 13:17:38
|
Hi Peter,
> 1.) Collect Maya Shading Attributes as far as possible through the plug-in
> 2.) Add any ( un ) imaginable Attributes as Tags added as maya notes
> into osg::Node Descriptions
I actually don't really care *how* it's done. I just don't want the tags
to be visible by the Maya user.
I spoke about notes before because I thought I preferred notes to custom
attributes, it seemed more general to me. But anything that's added to
notes will be visible to the artist, and I don't want that.
However, I think that the notes should be exported in osg::Node
descriptions, yes. But that is a separate issue.
What I want, really, is:
1. collect Maya shading attributes (any way)
2. put the information in osg::Node descriptions (any way)
3. this information should not be visible to Maya users
So if the easiest way is to
a) make a script that does 1, then puts it in custom attributes
b) modify the plugin C++ code so it exports custom attributes as
osg::Node descriptions
then that's what I'll do.
> @Javier, in the end I don't care as well, any string attribute should be
> as good as the notes field.
I really don't see them as mutually exclusive. If the artist / modeler
has put some useful information in the Notes field, then it should be
exported in the OSG file as osg::Node descriptions. Custom attributes, I
don't know exactly what they are (perhaps I should have a quick read in
the Maya help files) but if they're just strings attached to a node,
then they should probably be exported as osg::Node descriptions too. An
osg::Node can have any number of descriptions, so one can be the Notes
if it was not empty, and then each custom string attribute can be an
additional one (with a clear tag to identify which is which).
I'll try to do something (proof of concept) today so that we can stop
talking about it and do something about it :-)
Thanks,
J-S
--
______________________________________________________
Jean-Sebastien Guay jea...@cm...
http://www.cm-labs.com/
http://whitestar02.dyndns-web.com/
|