Re: [Maya2osg-users] Empty groups / transforms
Status: Alpha
Brought to you by:
jtaibo
|
From: Jean-Sébastien G. <jea...@cm...> - 2011-10-17 18:44:27
|
Hi Peter,
> J-S if you have a patch for the transform, could you send me the patch
> I'll add it to my WIP. The same has happened already with the mesh.cpp
> you sent me, but have just not submitted. Currently the code is not
> workable, but it should be done this week.
It's just to remove this whole block:
// 3. If there are no children, the node is ignored
if( osggroup->getNumChildren() == 0 ){
/// ...
}
in group.cpp.
> Do you have time to dig into the optimizer ? I think you sent me a
> picture of the max ui once, if you could resend I can adopt the ui into
> our ui.
Maybe I sent it before, I can't remember, but I can't send it to you
right now because Max doesn't start anymore (grrr)
You can see the export dialog for the Max exporter here:
http://sourceforge.net/apps/mediawiki/osgmaxexp/index.php?title=Documentation#Export_options
I'm not suggesting that you replicate the UI completely, in fact I like
the UI you have for the Maya exporter. But look at the options under
"Optimize" in that dialog, it can give you some ideas.
The one I would add is the great optimization INDEX_MESH |
VERTEX_POSTTRANSFORM | VERTEX_PRETRANSFORM which basically uniformises
and merges all primitive sets in a geometry. In combination with
MERGE_GEODES AND MERGE_GEOMETRY, it's a great way to reduce the number
of draw calls, which are a major bottleneck of ours.
If you wanna try creating the ui on your own, its very easy :-)
> check out this wiki:
> http://sourceforge.net/apps/mediawiki/maya2osg/index.php?title=How_to_add_new_UI_Controls_and_Arguments_to_the_Maya_export_UI_that_will_be_passed_to_the_PlugIn
I may help with this if time permits later, for now I'm just trying to
get a first version of a working content pipeline set up... :-)
Thanks,
J-S
--
______________________________________________________
Jean-Sébastien Guay jea...@cm...
http://www.cm-labs.com/
http://whitestar02.dyndns-web.com/
|