Page 21 of 23

Re: irrb 0.4 (Blender Exporter)

Posted: Sat Jul 30, 2011 2:42 am
by narpas
Hmm its still not working for me, the checkbox won't let me enable it, I looked at my console and have these errors:

7/29/11 8:39:02 PM [0x0-0x371371].org.blenderfoundation.blender[27771] File "/Users/brookharker/Library/Application Support/Blender/2.58/scripts/addons/io_export_irrlicht.py", line 1927, in menu_func
7/29/11 8:39:02 PM [0x0-0x371371].org.blenderfoundation.blender[27771] default_path = bpy.data.filepath.replace('.blend', '.irr')
7/29/11 8:39:02 PM [0x0-0x371371].org.blenderfoundation.blender[27771] AttributeError: 'NoneType' object has no attribute 'data'
7/29/11 8:39:02 PM [0x0-0x371371].org.blenderfoundation.blender[27771] Traceback (most recent call last):
7/29/11 8:39:02 PM [0x0-0x371371].org.blenderfoundation.blender[27771] File "/Applications/blender-2.58a-OSX_10.5_x86_64/blender.app/Contents/MacOS/2.58/scripts/modules/bpy_types.py", line 534, in draw_ls

Im on Mac btw but because its python I don't think that should affect it.

Re: irrb 0.4 (Blender Exporter)

Posted: Mon Aug 01, 2011 5:59 pm
by pc0de
narpas wrote:Hmm its still not working for me,
That's really odd because that function should only be called when the exporter is invoked from the file menu. What's more is the log is saying Blender's "bpy" module is None...

Can you try it with a more recent version of Blender from http://www.graphicall.org/blender/os-x ? In the meantime I'll try to get access to a Mac for testing.

Re: irrb 0.4 (Blender Exporter)

Posted: Wed Aug 03, 2011 4:42 pm
by narpas
I downloaded one of those and it still would not let me enable (I can enabled other plugins though), although it did not log in the console like last time.

Re: irrb 0.4 (Blender Exporter)

Posted: Thu Aug 04, 2011 6:07 pm
by pc0de
Okay thanks for trying. Go ahead and go back to the 2.58 release and try this updated version of irrB 0.6 - io_export_irrlicht.py.

Re: irrb 0.4 (Blender Exporter)

Posted: Sat Aug 06, 2011 10:15 pm
by narpas
Ok new problem now, still can't enable, here is the latest log:

8/6/11 4:09:59 PM [0x0-0x338338].org.blenderfoundation.blender[36338] File "/Applications/blender-2.58a-OSX_10.5_x86_64/blender.app/Contents/MacOS/2.58/scripts/modules/addon_utils.py", line 219, in enable
8/6/11 4:09:59 PM [0x0-0x338338].org.blenderfoundation.blender[36338] mod.register()
8/6/11 4:09:59 PM [0x0-0x338338].org.blenderfoundation.blender[36338] File "/Users/brookharker/Library/Application Support/Blender/2.58/scripts/addons/io_export_irrlicht.py", line 1936, in register
8/6/11 4:09:59 PM [0x0-0x338338].org.blenderfoundation.blender[36338] _registerIrrbProperties()
8/6/11 4:09:59 PM [0x0-0x338338].org.blenderfoundation.blender[36338] File "/Users/brookharker/Library/Application Support/Blender/2.58/scripts/addons/io_export_irrlicht.py", line 1386, in _registerIrrbProperties
8/6/11 4:09:59 PM [0x0-0x338338].org.blenderfoundation.blender[36338] if len(gWalkTestPath.strip()) > 0:
8/6/11 4:09:59 PM [0x0-0x338338].org.blenderfoundation.blender[36338] AttributeError: 'NoneType' object has no attribute 'strip'

Re: irrb 0.4 (Blender Exporter)

Posted: Tue Aug 09, 2011 6:02 pm
by pc0de
Thanks for testing. I made another update to fix the problem when IWALKTEST isn't defined.

Re: irrb 0.4 (Blender Exporter)

Posted: Thu Aug 11, 2011 3:02 pm
by narpas
Thanks a ton I can enable it now!

Re: irrb 0.4 (Blender Exporter)

Posted: Fri Aug 12, 2011 11:30 pm
by LookingForAPath
So I was running through forums today then I saw this...

Halifax and pc0de, yall have saved me a crap load of time developing a map editor. This is basically plug and build, even with physics(I just gotta hook something up to get ODE running with it, lol).

Thanks a ton, from the very dark core of my heart. O_o

Re: irrb 0.4 (Blender Exporter)

Posted: Sat Aug 20, 2011 10:10 pm
by endless_dark
Maybe this is a noobish question but... when I export my scene it's really tiny compared to the md2 model size. Where is the best point to adjust this? and what is the best way?

Thanks!

Re: irrb 0.4 (Blender Exporter)

Posted: Tue Aug 23, 2011 4:43 am
by pc0de
@narpas - glad to hear it.

@LookingForAPath - You're welcome :)

@endless_dark - Have a look at the bottom of page 12 of this thread to see what sydney.md2 looks like compared to a standard 1x1 cube when imported into Blender.

Re: irrb 0.4 (Blender Exporter)

Posted: Tue Aug 23, 2011 8:53 pm
by sudi
Hey is there a plan to update this addon to the new blende?

Re: irrb 0.4 (Blender Exporter)

Posted: Thu Aug 25, 2011 7:02 pm
by pc0de
Sudi wrote:Hey is there a plan to update this addon to the new blende?
hey Sudi, yes it's already been updated to work with the latest version of Blender - see the link half way up this page. I just need to find the time to finish the documentation. :oops:

Re: irrb 0.4 (Blender Exporter)

Posted: Thu Aug 25, 2011 10:56 pm
by sudi
pc0de wrote:
Sudi wrote:Hey is there a plan to update this addon to the new blende?
hey Sudi, yes it's already been updated to work with the latest version of Blender - see the link half way up this page. I just need to find the time to finish the documentation. :oops:
So it already works for Blender 2.5? thats great to hear! I will try this out when i have some time.

Re: irrb 0.4 (Blender Exporter)

Posted: Mon Dec 19, 2011 6:45 pm
by ACE247
So, to ask what would it take to add exporting a displacement mapped plane from blender as Heightmap Terrain Node in IrrB script and where can I add my own user data per node in Blender?
I'm not very good with Blenders scripting interface or Python for that matter, but I'm learning what I need from your script allready. Also, can you recommend any resources/guides to Blender scripting interface system?

And the animation system with keyframe animation userdata is really great! IrrB has infact now completely replaced any other Editors for Irrlicht I used before! :D

Re: irrb 0.4 (Blender Exporter)

Posted: Mon Dec 26, 2011 3:52 pm
by pc0de
Hello ACE247.
ACE247 wrote:So, to ask what would it take to add exporting a displacement mapped plane from blender as Heightmap Terrain Node
I'll have a look to see what it takes.
ACE247 wrote:where can I add my own user data per node in Blender?
Custom properties added to a Blender Object (mesh, light, camera) are added to the corresponding Irrlicht scene node as "UserData". Custom properties added to a Blender Mesh (data) are exported as "UserData" to the .irrmesh file.
ACE247 wrote:can you recommend any resources/guides to Blender scripting interface system?
I ended up learning by studying the scripts that are packaged with Blender and reading the Blender/Python documentation - http://www.blender.org/documentation/bl ... pi_2_61_0/.