[Soc-2009-dev] Weekly report - Collada module

Sebastian sebastian at opencollada.org
Tue Jun 9 18:32:52 CEST 2009


Hi Arystan,

thanks a lot for the bug report! We precompiled the regular expressions 
by intention to remove dependency to "pcre_compile" and to speed up 
overall processing time. I must admit that this sounds a little bit like 
an overkill but the code generation for XSD Schema automatically 
generates the statements.

We have to check why the precompiled statements failed :(

Sebastian


Arystan Dyussenov wrote:
> Hi, Sebastian,
> 
> I'm Arystan, Chingiz's elder brother. I'm helping him a bit with 
> OpenCollada studying. Recently we've stumbled upon a bug in OpenCollada.
> 
> The following code resulted in an empty URL on his Intel Celeron:
> 
> COLLADABU::URI(COLLADABU::Utils::EMPTY_STRING, "#id")
> 
> On my AMD Athlon 64 however it worked ok. We're both using Linux. 
> Debugging revealed that regexp matcher didn't accept a correct URI 
> ("#something") on his computer. The problem turned out to be in compiled 
> regexps.
> 
> I'm attaching the diff of the fix, regexps are now compiled on runtime 
> only once on demand. Although correctness of regexps needs to be checked.
> 
> Arystan
> 
> On Sun, May 24, 2009 at 10:40 PM, Sebastian <sebastian at opencollada.org 
> <mailto:sebastian at opencollada.org>> wrote:
> 
>     Great to hear about that! The most complete examples are the 3ds Max and
>     Maya converters itself, though they might be difficult in some areas as
>     they use the specific max/maya APIs, too.
> 
>     I already started (in my spare time) a native c++ Importer/Exporter for
>     Blender. I liked the performance of the native VRML/STL/DXF
>     importer/exporter that are available at
>     https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/blender/blenkernel/intern/exotic.c
> 
>     They fit in perfectly while implementing a sax based importer or a
>     stream based exporter.
> 
>     If you have any specific questions don't hesitate to contact me, i'm
>     happy to support you.
> 
>     Sebastian
> 
> 
>     Chingiz Dyussenov wrote:
>      > Thanks, Sebastian.
>      >
>      > I am interested. I was just going to start coding, so switching to
>      > OpenCollada is ok. I'll use Ogre example to learn how to do
>     things with
>      > OpenCollada. If there are other free examples, please share.
>      >
>      > Chingiz
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > Soc-2009-dev mailing list
>      > Soc-2009-dev at blender.org <mailto:Soc-2009-dev at blender.org>
>      > http://lists.blender.org/mailman/listinfo/soc-2009-dev
>     _______________________________________________
>     Soc-2009-dev mailing list
>     Soc-2009-dev at blender.org <mailto:Soc-2009-dev at blender.org>
>     http://lists.blender.org/mailman/listinfo/soc-2009-dev
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Soc-2009-dev mailing list
> Soc-2009-dev at blender.org
> http://lists.blender.org/mailman/listinfo/soc-2009-dev


More information about the Soc-2009-dev mailing list