Blender 2.57
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    The RC1 for MorphOS is ready:

    http://www.yomgui.fr/blender/blender-2.57-mos-rc1.lha

    Note: you need the littlecms.library, available on Aminet: http://aminet.net/util/libs/littlecms_user.lha

    (Sources: http://www.yomgui.fr/blender/blender-2.57-mos-rc1.tar.lzma )

    [ Edited by Yomgui 15.04.2011 - 23:32 ]
    And now... next project!
  • »15.04.11 - 21:43
    Profile Visit Website
  • Cocoon
    Cocoon
    cha05e90
    Posts: 57 from 2010/6/23
    Cool! Thanks! Anything special we need to know? (known bugs/glitches etc.?)
    II/G4
  • »15.04.11 - 21:57
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    cha05e90,
    Quote:


    Anything special we need to know?



    New deps: littlecms.library (not in the archive)
    Classic stuffs: no realtime painting and scult mode as there is no Zbuffer support yet in TGL.
    About crashes: I've got ones during rendering... but not so often.
    Just be carfull to not have another Python 3.1.x install (you can keep 2.x), as I've made an update of this one and it's inside the archive, if an "system wide" version exists, this one is used than the archive version...

    Well... it's an RC1 so your tests and comments are welcome ;-)

    [ Edited by Yomgui 15.04.2011 - 23:33 ]
    And now... next project!
  • »15.04.11 - 22:27
    Profile Visit Website
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    Passed my simple test of editing a bit and rendering my DigiBooster 3 icon. No crash, even if invzeropage is active (it is a huge advantage over 2.46). Some minor issue of constant redrawing of panel below the modeller window when I drag the view around with MMB pressed. May be related to my small 1024 x 768 display size. Good job!

    I will give it more testing when modelling and rendering buttons for DigiBooster sample editor toolbar...
  • »16.04.11 - 00:18
    Profile Visit Website
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    Users on ppa.pl report video memory leak at every run, 10 to 20 MB depending on screen resolution.

    [ Edited by Krashan 17.04.2011 - 19:49 ]
  • »17.04.11 - 19:49
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    @Krashkan:

    yes, fixed yesterday.
    binary update available here:
    http://www.yomgui.fr/blender/blender.bin_110417201452

    (remove text from '_' and put the file in the blender directory)
    And now... next project!
  • »18.04.11 - 08:36
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    Usefull to view:
    http://www.blendercookie.com/2011/04/13/blender-2-57-is-released-video-overview/
    And now... next project!
  • »18.04.11 - 09:06
    Profile Visit Website
  • Cocoon
    Cocoon
    cha05e90
    Posts: 57 from 2010/6/23
    What's that obscure "littlecms.library" that is missed for start of rc1 binary? :-) AFAIK it wasn't needed with the 2.5 version from January...
    II/G4
  • »18.04.11 - 13:00
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    cha05e90,
    Quote:

    What's that obscure "littlecms.library" that is missed for start of rc1 binary? AFAIK it wasn't needed with the 2.5 version from January...


    Yep, it's a new blender dependency. LittleCMS is a library to manipulate colors of images and ICC profiles files. It's a really good library to do color management.
    This library has just been introduced in Blender for this 2.57 (maybe 2.56?) that why is new.

    Hopefully, its port has already been done and available on Aminet!
    And now... next project!
  • »18.04.11 - 15:25
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    For "EDE" on ppa.pl:

    Quote:


    Traceback (most recent call last):
    File "MorphOS:Stuff/blender-2.57-mos-rc1/2.57/scripts/addons/io_scene_3ds/__init__.py", line 78, in execute
    return export_3ds.save(self, context, **self.as_keywords(ignore=("check_existing", "filter_glob")))
    File "MorphOS:Stuff/blender-2.57-mos-rc1/2.57/scripts/addons/io_scene_3ds/export_3ds.py", line 1058, in save
    file = open(filepath, 'wb')
    IOError: [Errno 2] No such file or directory: '/Ram Disk/untitled.3ds'



    Post your problems with Blender 2.57 here here, it could be useful for everyone! ;-)

    So, your import problem seems to be a classical path issue where POSIX path is not translated into AmigaOS path.
    Blender uses POSIX path internaly, but Python is a pure native port so uses AmigaOS path forms...

    That's why a '/Ram Disk/untitled.3ds' can't be found by a Python code.

    Now to fix that there are 2 cases:
    - the python script get the path from an exported Blender API, and this one has not been fixed by me yet.
    - the path has been contructed by the script using POSIX concept, the script author should burn in Hell! :-D

    [ Edited by Yomgui 18.04.2011 - 16:34 ]
    And now... next project!
  • »18.04.11 - 15:33
    Profile Visit Website
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    I've added littlecms.library to MorphOS Files (aka MorphZone download section) as well. I will add Blender 2.57 too, when Yomgui decides it is ready for this.

    [ Edited by Krashan 18.04.2011 - 20:20 ]
  • »18.04.11 - 20:19
    Profile Visit Website
  • Cocoon
    Cocoon
    cha05e90
    Posts: 57 from 2010/6/23
    @Krashan
    Thanks - I already found the library at Aminet, but it's even nicer to have everything relevant at MorphOS Files!
    II/G4
  • »18.04.11 - 21:25
    Profile Visit Website
  • ede
  • Caterpillar
    Caterpillar
    ede
    Posts: 35 from 2011/4/19
    From: Poland
    Ok. I would-be tray produce some strange english posts in here. Thanks for your response :)

    Regards.
  • »19.04.11 - 00:20
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    Welcome Ede! ;-)

    Ah good news I've found the bug about import issue.
    Easy to workaround for me, but I'm not satisfied by the fix.
    It's a general problem in fact, over the whole application.

    [edit] Ede: google translate help me much ;-)

    [ Edited by Yomgui 19.04.2011 - 11:23 ]
    And now... next project!
  • »19.04.11 - 07:59
    Profile Visit Website
  • ede
  • Caterpillar
    Caterpillar
    ede
    Posts: 35 from 2011/4/19
    From: Poland
    @Yomgui

    Do you think about kind of "verify type of path and switch" in python.library without especially header etc. in python scripts ? Is it possible ?

    Ps. Would-be nice get to now yours temporary workaround ;) just for import objescts
  • »20.04.11 - 13:08
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 799 from 2007/10/23
    From: Gelsenkirchen,...
    Quote:

    Now to fix that there are 2 cases:
    - the python script get the path from an exported Blender API, and this one has not been fixed by me yet.
    - the path has been contructed by the script using POSIX concept, the script author should burn in Hell

    How about this? UnixDirsII
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »20.04.11 - 14:32
    Profile
  • ede
  • Caterpillar
    Caterpillar
    ede
    Posts: 35 from 2011/4/19
    From: Poland
    Ok, I'm understand now. "problem over the whole application" is the same as " problem in form of export from Blender API" and not mean "without application". My mistake is general problem in my English ;}

    ... and I should burn in Hell ;P
  • »20.04.11 - 15:08
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    @Ede: forget everything... I'm near to finish a native version without the need to any path translation!
    And now... next project!
  • »20.04.11 - 19:54
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    New version: 2.57a-RC1 released, many improvements
    please read all information on my wiki:

    http://www.yomgui.fr/yiki/doku.php/en:dev:blender:start
    And now... next project!
  • »22.04.11 - 14:27
    Profile Visit Website
  • ede
  • Caterpillar
    Caterpillar
    ede
    Posts: 35 from 2011/4/19
    From: Poland
    Awesome! :) Many thanks for your work. I'm testing the import of objects now.
  • »22.04.11 - 17:38
    Profile
  • ede
  • Caterpillar
    Caterpillar
    ede
    Posts: 35 from 2011/4/19
    From: Poland
    However scrips like theme manager and import 3DS work now but my favorite import OBJ still do not work.

    -----------------------------------------------------------------------------------------------------------------------

    Traceback (most recent call last):
    File "MorphOS:Stuff/blender257a_RC1/2.57/scripts/addons/io_scene_obj/__init__.py", line 75, in execute
    return import_obj.load(self, context, **self.as_keywords(ignore=("filter_glob",)))
    File "MorphOS:Stuff/blender257a_RC1/2.57/scripts/addons/io_scene_obj/import_obj.py", line 1237, in load
    create_materials(filepath, material_libs, unique_materials, unique_material_images, IMAGE_SEARCH)
    File "MorphOS:Stuff/blender257a_RC1/2.57/scripts/addons/io_scene_obj/import_obj.py", line 278, in create_materials
    DIR = os.path.dirname(filepath)
    File "Libs/python3.1/morphospath.py", line 179, in dirname
    return split(p)[0]
    File "Libs/python3.1/morphospath.py", line 129, in split
    i = p.rindex('/')
    TypeError: expected an object with the buffer interface

    location:<unknown location>:-1

    location:<unknown location>:-1

    ---------------------------------------------------------------------------------------------------------------------------
    text from second output:


    importing obj '/3D/zaw2.obj'
    parsing obj file...
    0.0305 sec
    loading materials and images...

    ---------------------------------------------------------------------------------------------------------------------------
    theme manager:
    http://projects.blender.org/scm/viewvc.php/*checkout*/contrib/py/scripts/addons/system_theme_manager.py?root=bf-extensions

    themes:
    http://sites.google.com/site/bartiuscrouch/blt


    [ Edited by ede 22.04.2011 - 23:11 ]
  • »22.04.11 - 23:00
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    @Ede:

    Got no errors to load some .3do files (except that objects from 3DSMax are HUGE in general... press HOME button after loading ;-)).

    Maybe this file is corrupted in some way.
    Or do you have erased old Python scripts (in 2.57/scripts directory) before to upgrade?
    And now... next project!
  • »26.04.11 - 10:35
    Profile Visit Website
  • ede
  • Caterpillar
    Caterpillar
    ede
    Posts: 35 from 2011/4/19
    From: Poland
    ;-) I knew about bad location and scale objects after import.

    My OBJs are not corupted - it is fresh meat from modo. I tried to use some OBJ from net but the effect was the same.

    I did not upgrade. I did fresh install in new directory. After your post I tried upgrade on previous RC1 version too and all checked twice. I never installed any other python library versions too.

    At the moment the import of OBJ in a blender does not work. For me it is not compatible with other 3d applications.


    Ps. One more thing - export OBJ works fine but import self exported OBJ has the same effect as above.

    [ Edited by ede 27.04.2011 - 12:10 ]
  • »27.04.11 - 10:20
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    @ede: I've found the solution of your problem: it was an issue in a Python script, I've not taken care about python 3.1 new features for a MorphOS specific script.

    Please replace file Libs/python3.1/morphospath.py by this one:
    http://www.yomgui.fr/python/morphospath.py

    and let me know.
    And now... next project!
  • »27.04.11 - 22:10
    Profile Visit Website
  • ede
  • Caterpillar
    Caterpillar
    ede
    Posts: 35 from 2011/4/19
    From: Poland
    :-) Import OBJ is working now fine. Thank you for your help.

    Unfortunately export is not working like before.

    --------------------------------------------------------
    log after export:
    --------------------------------------------------------
    Traceback (most recent call last):
    File "Libs/python3.1/morphospath.py", line 140, in split
    i = p.rindex(sep)
    ValueError: substring not found

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "MorphOS:Applications/Blender257a/2.57/scripts/addons/io_scene_obj/__init__.py", line 121, in execute
    return export_obj.save(self, context, **self.as_keywords(ignore=("check_existing", "filter_glob")))
    File "MorphOS:Applications/Blender257a/2.57/scripts/addons/io_scene_obj/export_obj.py", line 797, in save
    EXPORT_PATH_MODE=path_mode,
    File "MorphOS:Applications/Blender257a/2.57/scripts/addons/io_scene_obj/export_obj.py", line 741, in _write
    EXPORT_PATH_MODE,
    File "MorphOS:Applications/Blender257a/2.57/scripts/addons/io_scene_obj/export_obj.py", line 290, in write_file
    file.write('# Blender v%s OBJ File: %r\n' % (bpy.app.version_string, os.path.basename(bpy.data.filepath)))
    File "Libs/python3.1/morphospath.py", line 186, in basename
    return split(p)[1]
    File "Libs/python3.1/morphospath.py", line 145, in split
    i = p.rfind(altsep)
    UnboundLocalError: local variable 'altsep' referenced before assignment

    location:<unknown location>:-1

    location:<unknown location>:-1


    ---------------------------------------------------
    text from second output window:
    ---------------------------------------------------
    OBJ Export path: 'MorphOS:Stuff/3D/cube.obj'


    ----------------------------------------------------

    Exported file has 0 bytes.
  • »28.04.11 - 00:24
    Profile