Preview of the next Blender exporter
- mcaden
- Goblin
- Posts: 206
- Joined: Wed Jul 02, 2008 9:29 am
- Location: Texas, USA
- Contact:
- mcaden
- Goblin
- Posts: 206
- Joined: Wed Jul 02, 2008 9:29 am
- Location: Texas, USA
- Contact:
Update!
AHA! Problem solved.
I had the problem again but this time it wasn't related to the mesh so I knew it wasn't blender.
http://www.ogre3d.org/phpBB2/viewtopic.php?t=44573
Texture thrashing...I was using oversized textures. The reason closing blender solved it the first time is that my textures were just under my vid card capabilities...then I fully textured my rat (at the time of the previous problem I was using a placeholder) and it re-appeared without blender.
The first time blender was taking up some of my video memory bumping me over my limit...the 2nd time it was my larger texture...same cause.
I've compressed my textures and reduced their size...everything works great now.
I had the problem again but this time it wasn't related to the mesh so I knew it wasn't blender.
http://www.ogre3d.org/phpBB2/viewtopic.php?t=44573
Texture thrashing...I was using oversized textures. The reason closing blender solved it the first time is that my textures were just under my vid card capabilities...then I fully textured my rat (at the time of the previous problem I was using a placeholder) and it re-appeared without blender.
The first time blender was taking up some of my video memory bumping me over my limit...the 2nd time it was my larger texture...same cause.
I've compressed my textures and reduced their size...everything works great now.
-
- Gnoblar
- Posts: 13
- Joined: Sat Sep 06, 2008 3:28 pm
Hi everybody
I posted a question about the new blender exporter in another thread but I probably wrong thread ... this is the link...
http://www.ogre3d.org/phpBB2/viewtopic. ... 787#308787
tnx.
I posted a question about the new blender exporter in another thread but I probably wrong thread ... this is the link...
http://www.ogre3d.org/phpBB2/viewtopic. ... 787#308787
tnx.
- rogerdv
- Gnome
- Posts: 351
- Joined: Fri May 09, 2003 10:43 pm
- Location: Cuba
- x 1
- Contact:
- mcaden
- Goblin
- Posts: 206
- Joined: Wed Jul 02, 2008 9:29 am
- Location: Texas, USA
- Contact:
BlenderOgreExporterPatched.zip (31.08.2008) works just fine for me in 2.47. It's on the previous page of the thread.rogerdv wrote:Any new version? Blender has released several new versions and exporter works only for 2.44.
-
- Gnoblar
- Posts: 13
- Joined: Sat Sep 06, 2008 3:28 pm
-
- Gnoblar
- Posts: 20
- Joined: Thu Mar 27, 2008 7:12 pm
Hi everybody.
I've got a weird problem on my Mac 10.5.5 when trying to use the Blender exporter ( either the one from the SVN repository, or the one from august 31st ).
The main script loads correctly, asks me where the ogrepkg is and then, when I try to run the script, it says :
Python script error : check console ( btw, I don't know where that is,if anybody knows... ) when reaching the line 232: "from ogrepkg import *".
I've tried using the last Python version, still not working. Any idea?
I've got a weird problem on my Mac 10.5.5 when trying to use the Blender exporter ( either the one from the SVN repository, or the one from august 31st ).
The main script loads correctly, asks me where the ogrepkg is and then, when I try to run the script, it says :
Python script error : check console ( btw, I don't know where that is,if anybody knows... ) when reaching the line 232: "from ogrepkg import *".
I've tried using the last Python version, still not working. Any idea?
- Beauty
- OGRE Community Helper
- Posts: 767
- Joined: Wed Oct 10, 2007 2:36 pm
- Location: Germany
- x 39
- Contact:
Bug report with Blender 248.1
My old exporter (file date of November 2007) works well.
But the current one from SVN has problems:
By the way:
It would be nice if the exporter script get a version number, even if it's still the release date of SVN. Now it's just 'n/a'.
My old exporter (file date of November 2007) works well.
But the current one from SVN has problems:
Line 253: locationLayout = VerticalLayout(cbLayout, True)Compiled with Python version 2.5.2.
Checking for installed Python... got it!
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Programme\Blender Foundation\Blender\.blender\scripts\ogremeshesexporter.py", line 1885, in <module>
application = MeshExporterApplication()
File "C:\Programme\Blender Foundation\Blender\.blender\scripts\ogremeshesexporter.py", line 1646, in __init__
self.preferencesScreen = PreferencesScreen()
File "C:\Programme\Blender Foundation\Blender\.blender\scripts\ogremeshesexporter.py", line 253, in __init__
locationLayout = VerticalLayout(cbLayout, True)
TypeError: __init__() takes exactly 2 arguments (3 given)
By the way:
It would be nice if the exporter script get a version number, even if it's still the release date of SVN. Now it's just 'n/a'.
Help to add information to the wiki. Also tiny edits will let it grow ...
Add your country to your profile ... it's interesting to know from where of the world you are.
Add your country to your profile ... it's interesting to know from where of the world you are.
- Beauty
- OGRE Community Helper
- Posts: 767
- Joined: Wed Oct 10, 2007 2:36 pm
- Location: Germany
- x 39
- Contact:
On the wiki page is a link to the SVN on http://ogre.svn.sourceforge.net/viewvc/ ... nderExport (and a direct link to the current version).
The last update is 3 months old and its log entry is something like Merged revisions (many ones?).
Maybe there some changes were lost?
The function in line 253 has only 2 parameters (as I wrote).
http://ogre.svn.sourceforge.net/viewvc/ ... iew=markup
The last update is 3 months old and its log entry is something like Merged revisions (many ones?).
Maybe there some changes were lost?
The function in line 253 has only 2 parameters (as I wrote).
http://ogre.svn.sourceforge.net/viewvc/ ... iew=markup
Help to add information to the wiki. Also tiny edits will let it grow ...
Add your country to your profile ... it's interesting to know from where of the world you are.
Add your country to your profile ... it's interesting to know from where of the world you are.
- Beauty
- OGRE Community Helper
- Posts: 767
- Joined: Wed Oct 10, 2007 2:36 pm
- Location: Germany
- x 39
- Contact:
ok, now it works. My gui.py file date was from 2006. I didn't know that other files than ogremeshesexporter.py are needed.
I updated the wiki page.
I updated the wiki page.
Help to add information to the wiki. Also tiny edits will let it grow ...
Add your country to your profile ... it's interesting to know from where of the world you are.
Add your country to your profile ... it's interesting to know from where of the world you are.
- lf3thn4d
- Orc
- Posts: 478
- Joined: Mon Apr 10, 2006 9:12 pm
- x 12
Cool. Do note that the official forum page now is at http://www.ogre3d.org/phpBB2/viewtopic.php?t=45922. I'll fix the link in the wiki.
-
- Goblin
- Posts: 287
- Joined: Mon Dec 08, 2008 4:49 pm
- x 10
I've got python 2.6 and I can't get the contents of the tar.gz file to work.
As suggested on the blender site, I've added an environment variable PYTHONPATH to tell where python is.
When exporting the simple cube, it sais "Error: python installation not found", while the console reads:
Any ideas on this?
As suggested on the blender site, I've added an environment variable PYTHONPATH to tell where python is.
When exporting the simple cube, it sais "Error: python installation not found", while the console reads:
Code: Select all
H:\tools\blender-2.48a-windows>blender.exe
Compiled with Python version 2.5.2.
C:\Program Files\Python\Lib\site.py:150: Warning: 'with' will become a reserved
keyword in Python 2.6
'import site' failed; use -v for traceback
Warning: could not determine argv[0] path
Checking for installed Python... C:\Program Files\Python\Lib\site.py:150: Warnin
g: 'with' will become a reserved keyword in Python 2.6
No installed Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "H:\tools\blender-2.48a-windows\.blender\scripts\ogremeshesexporter.py",
line 211, in <module>
import webbrowser
File "C:\Program Files\Python\lib\webbrowser.py", line 5, in <module>
import os
File "C:\Program Files\Python\Lib\os.py", line 757
bs = b""
^
SyntaxError: invalid syntax
- Beauty
- OGRE Community Helper
- Posts: 767
- Joined: Wed Oct 10, 2007 2:36 pm
- Location: Germany
- x 39
- Contact:
Jackmoe made a changed the source URL in the wiki. Now I know why I had an old script version.
The right SVN URL is .../viewvc/ogre/branches/v1-6/Tools/BlenderExport/
instead of .../viewvc/ogre/trunk/Tools/BlenderExport/
Also I added a remark to the wiki that Python 2.5.2 has to be installed.
The right SVN URL is .../viewvc/ogre/branches/v1-6/Tools/BlenderExport/
instead of .../viewvc/ogre/trunk/Tools/BlenderExport/
Also I added a remark to the wiki that Python 2.5.2 has to be installed.
Help to add information to the wiki. Also tiny edits will let it grow ...
Add your country to your profile ... it's interesting to know from where of the world you are.
Add your country to your profile ... it's interesting to know from where of the world you are.
-
- Gnoblar
- Posts: 6
- Joined: Wed Jul 02, 2008 12:46 pm
Re: Preview of the next Blender exporter
Same here. OS X 10.5.5/blender 248.1/python 2.5.2/newest ogre exporter. I get something like this:wraitii wrote:Hi everybody.
I've got a weird problem on my Mac 10.5.5 when trying to use the Blender exporter ( either the one from the SVN repository, or the one from august 31st ).
The main script loads correctly, asks me where the ogrepkg is and then, when I try to run the script, it says :
Python script error : check console ( btw, I don't know where that is,if anybody knows... ) when reaching the line 232: "from ogrepkg import *".
I've tried using the last Python version, still not working. Any idea?
Code: Select all
1/3/09 9:42:56 PM [0x0-0x8f08f].org.blenderfoundation.blender[1444] File "/Applications/blender/blender.app/Contents/MacOS/.blender/scripts/ogrepkg/materialexport.py", line 719, in ?
1/3/09 9:42:56 PM [0x0-0x8f08f].org.blenderfoundation.blender[1444] class CustomMaterial(RenderingMaterial):
1/3/09 9:42:56 PM [0x0-0x8f08f].org.blenderfoundation.blender[1444] File "/Applications/blender/blender.app/Contents/MacOS/.blender/scripts/ogrepkg/materialexport.py", line 742, in CustomMaterial
1/3/09 9:42:56 PM [0x0-0x8f08f].org.blenderfoundation.blender[1444] class Template(string.Template):
1/3/09 9:42:56 PM [0x0-0x8f08f].org.blenderfoundation.blender[1444] AttributeError: 'module' object has no attribute 'Template'
1/3/09 9:43:11 PM [0x0-0x8f08f].org.blenderfoundation.blender[1444] Traceback (most recent call last):
1/3/09 9:43:11 PM [0x0-0x8f08f].org.blenderfoundation.blender[1444] File "<string>", line 1, in ?
1/3/09 9:43:11 PM [0x0-0x8f08f].org.blenderfoundation.blender[1444] File "/Applications/blender/blender.app/Contents/MacOS/.blender/scripts/ogremeshesexporter.py", line 232, in ?
Thanks, and love the new forum look by the way
Sorry for the mess, I rushed with asking stupid questions on the forum. I have python 2.5.2 on my system but had the 2.3 version of blender. Problem solved, lesson learned
-
- Gremlin
- Posts: 155
- Joined: Thu Sep 17, 2009 8:43 pm
- Location: Austria
- x 9
- Contact:
Re: Preview of the next Blender exporter
This doesn't seem to work with 2.7.1
See also: http://gamedev.stackexchange.com/questi ... ender-2-59
I am not sure how i can run this script there. I managed to do it in 2.4.9b though, which should be the last version with the old script usage.
See also: http://gamedev.stackexchange.com/questi ... ender-2-59
I am not sure how i can run this script there. I managed to do it in 2.4.9b though, which should be the last version with the old script usage.