Hi, Sebastian,<br><br>I&#39;ve got a problem. I can&#39;t create &lt;bind_vertex_input&gt; in &lt;instance_material&gt; with OpenCollada. I need this to make the connection between the &lt;texture&gt;’s texcoord attribute and the mesh’s texture coordinate array.<br>
<br>Chingiz<br><br><div class="gmail_quote">On Tue, Jun 9, 2009 at 10:32 PM, Sebastian <span dir="ltr">&lt;<a href="mailto:sebastian@opencollada.org">sebastian@opencollada.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Arystan,<br>
<br>
thanks a lot for the bug report! We precompiled the regular expressions<br>
by intention to remove dependency to &quot;pcre_compile&quot; and to speed up<br>
overall processing time. I must admit that this sounds a little bit like<br>
an overkill but the code generation for XSD Schema automatically<br>
generates the statements.<br>
<br>
We have to check why the precompiled statements failed :(<br>
<br>
Sebastian<br>
<div class="im"><br>
<br>
Arystan Dyussenov wrote:<br>
&gt; Hi, Sebastian,<br>
&gt;<br>
&gt; I&#39;m Arystan, Chingiz&#39;s elder brother. I&#39;m helping him a bit with<br>
&gt; OpenCollada studying. Recently we&#39;ve stumbled upon a bug in OpenCollada.<br>
&gt;<br>
&gt; The following code resulted in an empty URL on his Intel Celeron:<br>
&gt;<br>
&gt; COLLADABU::URI(COLLADABU::Utils::EMPTY_STRING, &quot;#id&quot;)<br>
&gt;<br>
&gt; On my AMD Athlon 64 however it worked ok. We&#39;re both using Linux.<br>
&gt; Debugging revealed that regexp matcher didn&#39;t accept a correct URI<br>
&gt; (&quot;#something&quot;) on his computer. The problem turned out to be in compiled<br>
&gt; regexps.<br>
&gt;<br>
&gt; I&#39;m attaching the diff of the fix, regexps are now compiled on runtime<br>
&gt; only once on demand. Although correctness of regexps needs to be checked.<br>
&gt;<br>
&gt; Arystan<br>
&gt;<br>
&gt; On Sun, May 24, 2009 at 10:40 PM, Sebastian &lt;<a href="mailto:sebastian@opencollada.org">sebastian@opencollada.org</a><br>
</div><div class="im">&gt; &lt;mailto:<a href="mailto:sebastian@opencollada.org">sebastian@opencollada.org</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Great to hear about that! The most complete examples are the 3ds Max and<br>
&gt;     Maya converters itself, though they might be difficult in some areas as<br>
&gt;     they use the specific max/maya APIs, too.<br>
&gt;<br>
&gt;     I already started (in my spare time) a native c++ Importer/Exporter for<br>
&gt;     Blender. I liked the performance of the native VRML/STL/DXF<br>
&gt;     importer/exporter that are available at<br>
&gt;     <a href="https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/blender/blenkernel/intern/exotic.c" target="_blank">https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/blender/blenkernel/intern/exotic.c</a><br>

&gt;<br>
&gt;     They fit in perfectly while implementing a sax based importer or a<br>
&gt;     stream based exporter.<br>
&gt;<br>
&gt;     If you have any specific questions don&#39;t hesitate to contact me, i&#39;m<br>
&gt;     happy to support you.<br>
&gt;<br>
&gt;     Sebastian<br>
&gt;<br>
&gt;<br>
&gt;     Chingiz Dyussenov wrote:<br>
&gt;      &gt; Thanks, Sebastian.<br>
&gt;      &gt;<br>
&gt;      &gt; I am interested. I was just going to start coding, so switching to<br>
&gt;      &gt; OpenCollada is ok. I&#39;ll use Ogre example to learn how to do<br>
&gt;     things with<br>
&gt;      &gt; OpenCollada. If there are other free examples, please share.<br>
&gt;      &gt;<br>
&gt;      &gt; Chingiz<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;     ------------------------------------------------------------------------<br>
&gt;      &gt;<br>
&gt;      &gt; _______________________________________________<br>
&gt;      &gt; Soc-2009-dev mailing list<br>
</div>&gt;      &gt; <a href="mailto:Soc-2009-dev@blender.org">Soc-2009-dev@blender.org</a> &lt;mailto:<a href="mailto:Soc-2009-dev@blender.org">Soc-2009-dev@blender.org</a>&gt;<br>
<div class="im">&gt;      &gt; <a href="http://lists.blender.org/mailman/listinfo/soc-2009-dev" target="_blank">http://lists.blender.org/mailman/listinfo/soc-2009-dev</a><br>
&gt;     _______________________________________________<br>
&gt;     Soc-2009-dev mailing list<br>
</div>&gt;     <a href="mailto:Soc-2009-dev@blender.org">Soc-2009-dev@blender.org</a> &lt;mailto:<a href="mailto:Soc-2009-dev@blender.org">Soc-2009-dev@blender.org</a>&gt;<br>
<div><div></div><div class="h5">&gt;     <a href="http://lists.blender.org/mailman/listinfo/soc-2009-dev" target="_blank">http://lists.blender.org/mailman/listinfo/soc-2009-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Soc-2009-dev mailing list<br>
&gt; <a href="mailto:Soc-2009-dev@blender.org">Soc-2009-dev@blender.org</a><br>
&gt; <a href="http://lists.blender.org/mailman/listinfo/soc-2009-dev" target="_blank">http://lists.blender.org/mailman/listinfo/soc-2009-dev</a><br>
_______________________________________________<br>
Soc-2009-dev mailing list<br>
<a href="mailto:Soc-2009-dev@blender.org">Soc-2009-dev@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/soc-2009-dev" target="_blank">http://lists.blender.org/mailman/listinfo/soc-2009-dev</a><br>
</div></div></blockquote></div><br>