[Bf-committers] OpenCollada issues (was Re: Meeting minutes, feb 14, 2010)

Arystan Dyussenov arystan.d at gmail.com
Wed Feb 17 16:45:11 CET 2010


This is only a hack though. For a real fix I don't have enough power and
knowledge at the moment.

The implication of this hack is that exported files will become larger than
normal. I think line "sprintf(buffer, doublePrecision ? "%.16f" : "%.7f", d);"
can be changed to "sprintf(buffer, "%.7f", d);" (because 16 digits in
fractional part is too much?)
Arystan

On Wed, Feb 17, 2010 at 8:04 PM, Arystan Dyussenov <arystan.d at gmail.com>wrote:

> Sorry, that patch contains a mistake, this one should be correct:
> http://www.pasteall.org/11108/diff
>
>
> On Wed, Feb 17, 2010 at 8:01 PM, Arystan Dyussenov <arystan.d at gmail.com>wrote:
>
>> This quick patch fixes the problem: http://www.pasteall.org/11107/diff.
>>
>> On Wed, Feb 17, 2010 at 6:53 PM, Damien Plisson <damien.plisson at yahoo.fr>wrote:
>>
>>> Hi Arystan,
>>>
>>> Do you know if there is a more recent version of lib opencollada that
>>> fixes this bug ? If yes, do we upgrade ?
>>> Or at least they have a bug report to work on ?
>>>
>>> In the meantime, is it only libftoa that is buggy when built optimized ?
>>> That is, is it the only we need to rebuild?
>>>
>>> Damien
>>>
>>> Le 17 févr. 2010 à 12:56, Arystan Dyussenov a écrit :
>>>
>>> > Confirmed. The problem only occurs when building with "-O2" option.
>>> Looks
>>> > like  OpenCollada's function dtoa(), common/libftoa/src/Commondtoa.cpp
>>> needs
>>> > fixing.
>>> >
>>> > On Wed, Feb 17, 2010 at 6:45 AM, Ken Hughes <khughes at pacific.edu>
>>> wrote:
>>> >
>>> >> Let me give more details.
>>> >>
>>> >> Removed ~/.blender, ran blender build with collada
>>> >> Deleted everything from basic scene except cube
>>> >> Export --> COLLADA (.dae)
>>> >> set filename to "cube.dae", press "Export COLLADA" button.
>>> >> Messages are displayed in terminal window:
>>> >>
>>> >> RNA_string_set: WM_OT_collada_export.filename not found.
>>> >> RNA_string_set: WM_OT_collada_export.directory not found.
>>> >>
>>> >> Delete cube from scene.
>>> >> Import --> COLLADA (.dae)
>>> >> select"cube.dae", press "Import COLLADA" button.
>>> >>
>>> >> Messages are displayed in terminal window:
>>> >> RNA_string_set: WM_OT_collada_import.filename not found.
>>> >> RNA_string_set: WM_OT_collada_import.directory not found.
>>> >> Cannot find texture array by texture index.
>>> >>
>>> >> A "zero size" cube is created: all vertices/edges/faces, but vertices
>>> seem
>>> >> to have the same coordinate (1,1,0).
>>> >>
>>> >> The cube.dae file is attached.
>>> >>
>>> >> Ken
>>> >>
>>> >> Ok, that would be "no, it doesn't work".
>>> >>>
>>> >>> Ken
>>> >>>
>>> >>> Tom M wrote:
>>> >>>
>>> >>>
>>> >>>> Simple test, export cube via collada,
>>> >>>>
>>> >>>> delete cube from scene,
>>> >>>>
>>> >>>> import the cube.dae you created and see if you now have cube in your
>>> >>>> scene,
>>> >>>>
>>> >>>> LetterRip
>>> >>>>
>>> >>>> On Mon, Feb 15, 2010 at 5:44 PM, Ken Hughes <khughes at pacific.edu>
>>> wrote:
>>> >>>>
>>> >>>>
>>> >>>>> Thanks to tips from Martin, looks like I'm on board.
>>> >>>>>
>>> >>>>> Will include FFMPEG and Collada, although would be good if someone
>>> can
>>> >>>>> test some builds first to verify collada functionality.  That is,
>>> >>>>> assuming there's something more than just seeing if it comes up in
>>> the
>>> >>>>> Import and Export menus.
>>> >>>>>
>>> >>>>> Ken
>>> >>>>>
>>> >>>>>
>>> >>>> _______________________________________________
>>> >>>> Bf-committers mailing list
>>> >>>> Bf-committers at blender.org
>>> >>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>
>>> >>> _______________________________________________
>>> >>> Bf-committers mailing list
>>> >>> Bf-committers at blender.org
>>> >>> http://lists.blender.org/mailman/listinfo/bf-committers
>>> >>>
>>> >>>
>>> >>>
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> Bf-committers mailing list
>>> >> Bf-committers at blender.org
>>> >> http://lists.blender.org/mailman/listinfo/bf-committers
>>> >>
>>> >>
>>> > _______________________________________________
>>> > Bf-committers mailing list
>>> > Bf-committers at blender.org
>>> > http://lists.blender.org/mailman/listinfo/bf-committers
>>>
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>
>>
>>
>


More information about the Bf-committers mailing list