On Mon, Oct 27, 2008 at 9:42 PM, John Cummings <[EMAIL PROTECTED]> wrote:
> FYI, here is the link to the discussion on the Ac3D forum:
>
> http://www.inivis.com/forum/showthread.php?t=5090
>
> It seems to be headed in the same direction as Robert's comments regarding
> keeping track of the UV ranges.

It's a bit of cop out really, what should be done in AC3D and the .ac
format is that wrap modes are something that is managed explicitly,
rather than apply post processing workarounds.

This situation is something we have to live with though.  I think the
right workaround is to have the ac plugin honour the ac3d format and
leave repeat in place, then have a custom NodeVisitor that traverses
the loaded scene graph and detects the tex coord range and changes the
wrap mode accordingly.   The only question I think would be whether
this NodeVisitor would be run from inside the ac plugin as an option,
or just a post process run by users.

The NodeVisitor to do the detect and wrap change is a general purpose
tool that should go in osgUtil.  Do we have any volunteers for writing
it?

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to