Menu

#160 3DS files does not load in Lazarus

open
nobody
None
5
2010-10-16
2010-10-16
No

When 3DS file loaded in application builded in Lazarus it wrong load header and create big number of TMesh (until out of memory caused)
Test project http://glscene.ru/e107_files/public/4130_004.zip

Discussion

  • Yann Papouin

    Yann Papouin - 2010-10-17

    The 3ds file is missing from the archive but t's maybe not specific related to it.
    I will try with latest Lazarus snapshot today.

     
  • YarUnderoaker

    YarUnderoaker - 2010-10-18

    Hint - only FPC 2.5.1 is supported.

     
  • Yann Papouin

    Yann Papouin - 2010-10-19

    Ok! Can you give me links for working versions of Lazarus and FPC that works against the current GLScene version?

     
  • YarUnderoaker

    YarUnderoaker - 2010-10-19

    ftp://ftp.hu.freepascal.org/pub/lazarus/snapshots/
    I recommend Lazarus-0.9.29-27758-fpc-2.5.1-20101019-win32

     
  • PREDATOR

    PREDATOR - 2010-10-20

    lemerou hello! You could not have with me to contact? E - mail: Predator_rust@mail.ru
    Icq: 469588728
    lemerou привет! Ты не мог бы со мною связатся? E - mail : Predator_rust@mail.ru
    Icq: 469588728

     
  • Yann Papouin

    Yann Papouin - 2010-10-23

    I tried today and it build correctly, I use the teapot.3ds and It doesn't give any issue.
    http://ftpmerou.free.fr/delphi/lazarus-3ds.jpg

    Maybe the problem come from your "mir" file ? Can you attach it somewhere ?

    @Predator
    Why not writing a new thread on the GLScene forum if you problem is related with it ? For your information, I'm not using PM things and I don't speak Russian, only French (Native language) and English

     
  • PREDATOR

    PREDATOR - 2010-10-23

    Недавно был создан донейт, все разработчики должны будут получать оплату за свою работу! У нас в россии действует WebManey пожертвования. Но для нас немного проблемно принимать пожертвования из за границы при помощи пейпал, и хотелось бы узнать у тебя есть ли другие способы пожертвований и как тебе можно перечислить средства?
    К тому же в ряде случаев есть рекомендации по работе с лазарусом, и как то проблемно тебя найти!

    Has recently been established donate, all developers will have to get paid for your work! We in Russia acts WebManey donations. But for us a little bit problematic to accept donations from abroad by peypal and would like to ask you whether there are other ways of donations and how you can transfer funds?
    Moreover, in some cases, there are recommendations for working with Lazarus, and how that problem you find!

     
  • Nobody/Anonymous

    hi,

    I found out that the problem is in GLFile3ds.pas
    the Lines 1882 and 1883 going into an infinite loop.
    if i comment out these lines 3ds file can be loaded.

    I have no idea what the hell these lines should do (since i don't know anything about 3ds fileformat)