Game Editing > Scripts & Support

[ASE] Import/Export scripts for Blender 3D

<< < (2/10) > >>

kat:
Read this section of the Learning Blender 2.5 tutorial series that deals with UVW maps specifically.

To give a quick reply here though, UVW maps are a necessary component of game models because the coordinates ("U", "V" and "W") of the 'map' itself are used by games to figure out how textures are supposed to be applied over a mesh, without them, engine tech is basically looking at a blank canvas. UVW maps don't specifically relate to textures directly in terms of how those are made (except to 'map' areas of a texture to certain corresponding areas on a model).

That error means that if you could get that model into game, it'll likely appear with some form of "shader not found" default image (or depending on the game engine being used, more commonly flat lit as either solid 'black' or 'white') because the game won't be able to map textures to the mesh (so the script is replicating that by spitting out the same message).

So make sure your mesh has at least one material (with an associated texture/image), and some form of a UVW map present before export.

shumphries:
Got it!  Thanks for your help. 

By the way, your tutorial on UV mapping was great.  The first one I have fully understood. 

kat:
ASE export script appears to be broken in Blender 2.56beta with the following error (similar to one mentioned above);

--- Code: ---Traceback (most recent call last):
  File "C:\Users\Ken\AppData\Roaming\Blender Foundation\Blender\2.56\scripts\io\export_ase.py", line 494, in invoke
    wm.add_fileselect(self)
AttributeError: 'WindowManager' object has no attribute 'add_fileselect'

location:<unknown location>:-1
--- End code ---

kat:
OK, a fix came in via NB - cheers matey.
Download the fixed ase export script from the downloads page. Or open the script in a text editor and find line 494 or the below text;

--- Code: ---wm.add_fileselect(self)
--- End code ---

Replace with;

--- Code: ---wm.fileselect_add(self)
--- End code ---

LeiterJakab:
I use the official 2.56b and get the following error:

--- Code: ---Line 474, in execute if os.path.exists(self.properties.filepath):
UnicodeDecodeError:'utf8'codec can't decode bytes in position 30-33:invalid data location<unknown location>:-1
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version