Age | Commit message (Collapse) | Author |
|
There is a problem importing 3ds files where I cant find a way to check if the transforms are applied to the vertex locations or not.
Since 2.44 I made the importer assume they were not since you can manually remove transformations, but not reverse.
Nevertheless most 3ds files have the matrix applied, better not give a bad import by default.
Did some research and other 3ds importers (lib3ds for eg), have the same problem and just assume the transformations applied.
3dsMax imports both correctly so there must be a way to tell but I could not link it to the 3ds version or other mesh options.
Added an option to workaround this problem in rare cases where its needed.
- KX_GameObject.cpp & KX_Scene.cpp, clear the dict before removing the reference in case there is a circular reference.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
moved bpy into bpy.data and bpy will be eventually replace the root level 'Blender' module.
currently we have bpy.library bpy.config and bpy.data
|
|
bpy.*libBlickSeq*.new() - name is now an optiona arg.
moved some more scripts to bpy.* api.
|
|
* stopped bpy from importing automaticaly as decieded in the meeting.
* removed Blender.Main, since we agree it will be called bpy, renamed files also.
* updated epydocs from this and last commit.
* updated scripts to use bpy.*, and bugfix's for widgetwizard
|
|
others, but it seems to follow the 3ds format. for the files it messes up, just remove transformation.
|
|
|
|
appliactions (only way to get textured models from blender to google sketchup)
3ds_import - added option to disable recursive image searching (could be slow somtimes)
export_obj - when making group/object names only use both object and mesh name when they differ.
weightpaint_clean, weightpaint_grow_shrink - minor updates.
Render.py - own error in epydocs.
|
|
material images as well
3ds_import - made it support image maps without a file chunk. unlikely but possible.
|
|
scn.objects.selected = [] # deselect all
scn.objects.selected = scn.objects # select all
scn.objects.context = [ob1, ob2...]
Added epydoc examples and updates importer scripts to use this de-select-all method.
|
|
continual script stuff, minor stuff..
fix for bad return in group.
Added back group.objects.append/remove but print deprectaed warning. also some epydoc changes.
|
|
updated the url in other scripts
|
|
buggy (since tface > mtface conversion)
|
|
added restrictDraw/Select/Render to objects in python
updated group and scene docs for last commit
made 3ds import use new scn.objects rather then Object.New() - (removed import as instance for now)
fixes off import error from this report http://blenderartists.org/forum/showthread.php?t=84182
|
|
only had this from Cararra generated 3ds files.
|
|
made some of the importers raise a nice error if a file disnt exist rather then a python error. will eventually apply to all.
|
|
|
|
then a mesh, before making the final mesh
also make use of meshes faces.extend() indexList option- which means lots of checking can be removed.
indexList is not relyable at the moment so some files wont import but this will be fixed.
|
|
|
|
|
|
and better in some cases.
Speedup for bpymesh_redux (poly reducer) with reducing vertex weights. use list2MeshWeight and meshWeight2List.
renamed vertex gradient files
Removed reload()'s
- 3ds_import.py
- mesh_cleanup.py
- mesh_poly_reduce.py
- vertexpaint_selfshadow_ao.py
|
|
3ds_import.py minimal updates- changelog.
|
|
enabled by default- manu models would import so large that people couldent see the objects without scaling by 0.01.
Other changes are minor tooltips
|
|
made ngon loop-reduce function faster by replacing dicts with sets
off_export has some errors, modernized the script.
added a python 2.3 reversed compat function - just uses ls[::-1]
Further 2.3 compat testing needed.
|
|
- Jean-Michel Soler (thanks!) pointed that the 3ds importer was missing
license info. Added a GPL license block copied from the 3ds exporter by
the same author.
|
|
removed set() from BpyMesh and added some uv utility functions.
|
|
Stupid hack- added 0,0,0 dummyvert so UVs import right (unrotated).
This script aparently dosent work on powerpc... (endian issues Im guessing)
|
|
|
|
the same as OBJ Import.
|
|
name to the object and the mesh.
|
|
function Set() from sets (stoopid python!) if the python version is
less than 2.4.
Campbell: please check!
|
|
|
|
- Mesh objects split by material- many 3ds objects used more then 16 per mesh. and when a face looses its image texture its tedious to set again.
- Removed a lot of unneeded variable creation.
|
|
- Material importing speedup.
- Tested with more models.
- Support some corrupt models.
(Bug in Mesh causes segfaults on some files still, kens looking into it)
|
|
and updated...
Version 0.93
- Tested with 400 3ds files from turbosquid, model cd's and net samples.
- Tactfully ignore faces that used the same verts twice.
- Rollback to 0.83 sloppy un-reorganized code, new code broke UV coord loading.
- Converted from NMesh to Mesh. First importer to use Mesh.
- Faster and cleaner new names.
- Use external comprehensive image loader.
- Re intergrated 0.92 and 0.9 changes
- Fixes for 2.41 compat.
- Non textured faces do not use a texture flag.
|
|
Final (?) updates for 2.40 :) :
- Bob Holcomb sent a better version of his 3ds importer
- Added doc info to bvh2arm: links to doc and mocap tute from author
Jean-Baptiste Perin
- Alessandro Pirovano improved the Lightwave importer.
- Mikael Lagre updated the collada scripts (fixed a bug with camera
lens value)
- Adam Saltsman improved the wings importer (ongoing work with
his pal Toastie).
- Anthony D'Agostino GPL'd his scripts (used Blender's BAL
license previously)
Thanks to all script authors for their work, interest and kindness.
Again, Tom (LetterRip) has played an important part in this, thanks and
welcome :).
|
|
- added import and export scripts for 3ds and md2 (Quake 2) models
contributed by author Bob Holcomb. Thanks!
- updated ac3d importer to be more forgiving and exporter to get rid of
deprecated call.
More additions and possibly fixes to come.
Note: we're forming a group to take care of importers and exporters and
improve the situation as a whole in Blender. Discussions should happen
at the bf-scripts-dev mailing list:
http://projects.blender.org/mailman/listinfo/bf-scripts-dev
Thanks Tom Musgrove (LetterRip) for helping a lot with scripts.
|