Commit Graph

23 Commits

Author SHA1 Message Date
Campbell Barton
1730b7b41d Fix from Bob Holcomb, some materials could be floating point value, I have only had this from Cararra generated 3ds files. 2006-10-19 21:56:11 +00:00
Campbell Barton
e6251f6ae7 removed .parent by mistake in Object.c
made some of the importers raise a nice error if a file disnt exist rather then a python error. will eventually apply to all.
2006-09-26 04:39:46 +00:00
Campbell Barton
e10613c7f7 cleanup and some speedups with assigning materials 2006-08-25 18:05:05 +00:00
Campbell Barton
62b8cad660 simplified 3ds mesh importing by storing verts and faces in a list rather 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.
2006-08-25 09:10:06 +00:00
Campbell Barton
3f5e14abef updated py scripts for changes in mathutils 2006-07-27 03:15:37 +00:00
Campbell Barton
893a36408c This shold fix 3ds opening on macs. thx blendix 2006-07-11 13:30:57 +00:00
Campbell Barton
9a168d8285 added list2MeshWeight and meshWeight2List - faster then the dict equivilents 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
2006-07-07 10:46:46 +00:00
Campbell Barton
518fef7f29 mesh_mirror_tool.py code cleanup, updated UI, tooltips added docstrig.
3ds_import.py minimal updates- changelog.
2006-07-04 10:09:21 +00:00
Campbell Barton
ab5dffc1cd strip 3ds materials names of spaces, 3ds import added a "Bounds" option 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
2006-07-04 01:56:49 +00:00
Campbell Barton
6c4a0d7769 added python 2.3 set importer for BPyMesh_redux
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.
2006-07-03 01:52:14 +00:00
Willian Padovani Germano
9d4ae5ed19 Scripts:
- 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.
2006-07-02 19:50:30 +00:00
Campbell Barton
b2dd3db414 Made 3ds import remove 0,0,0 dummy vert (Thanks Ken)
removed set() from BpyMesh and added some uv utility functions.
2006-06-19 01:27:41 +00:00
Campbell Barton
be22b6e8e8 Cleanum, remove unneeded 'raise's
Stupid hack- added 0,0,0 dummyvert so UVs import right (unrotated).
This script aparently dosent work on powerpc... (endian issues Im guessing)
2006-06-16 10:41:21 +00:00
Campbell Barton
d435b02930 1 liner, bug that raised an error with textureless materials. 2006-06-06 18:12:29 +00:00
Campbell Barton
be2f840c7d Added the option to import as a group instance (creates own scene) - works the same as OBJ Import. 2006-06-06 09:59:36 +00:00
Campbell Barton
fc6597fdcf Made import set the object layer to the current scene layer, applied the 3ds name to the object and the mesh. 2006-05-17 00:47:00 +00:00
Chris Want
8b94135add For 3ds import script, try to get set() function by importing the
function Set() from sets (stoopid python!) if the python version is
less than 2.4.

Campbell: please check!
2006-04-05 19:28:21 +00:00
Campbell Barton
afc8dec921 Small updates to import images in win32. 2006-03-14 20:28:02 +00:00
Campbell Barton
c629128773 - Removed workarounds for Blender 2.41
- 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.
2006-02-06 14:23:55 +00:00
Campbell Barton
4b05af9ca7 - Face import tested to be about overall 16x speedup over 0.93.
- Material importing speedup.
- Tested with more models.
- Support some corrupt models.
(Bug in Mesh causes segfaults on some files still, kens looking into it)
2006-02-03 06:42:07 +00:00
Campbell Barton
88e0f089be 3ds importer distributed with Blender 2.41 is broken in 2 places so bugfixed 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.
2006-02-01 10:52:54 +00:00
Willian Padovani Germano
ad579abf00 Scripts:
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 :).
2005-12-19 17:21:55 +00:00
Willian Padovani Germano
b662fcb694 Scripts:
- 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.
2005-12-15 01:42:45 +00:00