Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#92 Texture path bug

closed
Steven Thomas
None
5
2008-01-16
2007-05-31
PC John
No

Hi,
I found a bug using OSG and dae-writer plugin that uses COLLADA DOM.

The problem: Textures are often written without paths, e.g. only filename without folders.

Closer investigation showed that if the output_file_name.dae already exists, the path is, for some reason, written correctly. But if the output_file_name.dae does not exists (it is not overwritten), the path is missing. Only texture file names are written.

Investigation proved, that even fake empty output_file_name.dae is enough for COLLADA, to work correctly.

I eliminated all other possible sources (like existence or non existence of texture files), and it seems like the bug is in COLLADA DOM or in OSG collada writer.

John

Discussion

  • Steven Thomas
    Steven Thomas
    2007-06-04

    • assigned_to: nobody --> steve314
     
  • Logged In: NO

    I'm very confused about this bug. Do you mean that the output texture file isn't created properly? If so, that has nothing to do with the DOM, which doesn't create texture files. If you mean that the path isn't written correctly to the <image>/<init_from> element, that could be a DOM problem. Can you provide some more info?

    Thanks,
    Steve

     
  • Logged In: NO

    Sorry, I do not remember any details. The problem is 8 months old, therefore it was workarounded by my friend. The problem may even not be present in latest software, although not tested.
    John

     
  • Steven Thomas
    Steven Thomas
    2008-01-16

    • status: open --> closed