Commit Graph

457 Commits

Author SHA1 Message Date
Campbell Barton
aa90678154 renamed texture baker to "Bake Image from UVs"
Added options to use material colors (can be multiplied with vcol)
Added wire option for UV Export type functionality. (implys no bleeding)
Added Option to render with no oversampling
changed alpha blending
2006-07-28 02:08:36 +00:00
Campbell Barton
3d0f27c19d uv_vcol_to_image.py
Added optional support for baking more then 1 unique mesh objects at once.
2006-07-27 17:29:34 +00:00
Campbell Barton
671a7b8e49 Moved this importer to the Mesh module and dropped meshtools dep's
Now imports ngons as fgons and dosent mess up with '#' comments at the start of the file.
2006-07-27 14:17:15 +00:00
Campbell Barton
3f5e14abef updated py scripts for changes in mathutils 2006-07-27 03:15:37 +00:00
Campbell Barton
6a087fcb8b 10-20% speedup with better logic and limit the cache size for box intersections. 2006-07-26 17:43:16 +00:00
Campbell Barton
0740e4ab1c removed the now unneeded resize4d operation for instant 2.43 incompatability. :/ 2006-07-26 12:54:54 +00:00
Campbell Barton
f36fc4fe21 removed reload,
BPyRender accedentaly left the scene rather then removing it.
2006-07-26 11:39:32 +00:00
Campbell Barton
fd281bec04 rewrote this script, for the new bones api.
Use a best fit mirror location to match pairs rather then bone names only.
Location matching works well, but name matching method can be added in also if its needed.
2006-07-26 11:12:29 +00:00
Campbell Barton
c03179c9b3 Added a script that makes an image from vertex colors using UV coords. the advantage this has over other existing scripts is that it bleeds the colors from edge polygons so you dont get mipmapping errors.
usefull for baking radiosity back into an image (with non overlapping UV's) and also has an option for including the texface image, and using normals (instead of colors)

Added BPyRender with a utility function to render off an ortho image from a number of objects.
2006-07-26 02:07:12 +00:00
Campbell Barton
1bf883b799 Added the option for all objects to have their UV's packed into the same texture space, enabled by default. 2006-07-26 01:30:21 +00:00
Campbell Barton
c4429fb796 Added a note in the object docs about object data and editmode
removed mirror_bone_weights, as it was a double another script, contacted the author and hes ok with it.
2006-07-26 00:41:52 +00:00
Campbell Barton
e7263b0c66 removed unused unzip function from console.py,
replaced   x,y,z= tuple(Vec)  with  x,y,z= Vec
2006-07-26 00:30:31 +00:00
Campbell Barton
6234c25678 This script randomizes the selected objects loc/size/rot a set ammount. 2006-07-26 00:20:55 +00:00
Ton Roosendaal
26013bb2ab Bumped version to 2.42a for release target. 2006-07-23 15:09:42 +00:00
Peter Schlaile
873d46aeac == Sequencer plugins ==
applied bugfix by Stephane Soppera, removing two warnings and declaring
pointers explicitly as unsigned char*. (has worked without it, since the
compiler flags declare all (char*) in blender to be unsigned...)
2006-07-20 13:15:28 +00:00
Chris Want
6122d501e7 Converting a mesh object with modifiers to a temporary mesh during
export would cause a problem since the temporary meshes created
would often reuse the same name for many objects. This fix mangles
the object name and uses this for the temporary mesh name to avoid
this problem. (The naming is important, since vrml has 'DEF' and 'USE'
statements that are used like C macros, so if two meshes have the
same name the exporter will try to 'recycle' data to keep file sizes
low).
2006-07-19 13:05:11 +00:00
Campbell Barton
38b6f07251 fixed error that mode this script not work in python 2.3 2006-07-18 10:20:43 +00:00
Campbell Barton
13e4883b96 Bugfix only for a queer bug that occurs (in non of my previous tests) where an edge is added with the same verts- an invalid edge of course. 2006-07-16 13:54:33 +00:00
Ton Roosendaal
5ee3d1da10 The mother of all commits! Bumping version up to 2.42, and new splash. 2006-07-13 16:53:52 +00:00
Campbell Barton
f1eed11ad7 Missing constant added. 2006-07-13 13:41:26 +00:00
Campbell Barton
cfeaf8dfdf Simplified some parts of this script 2006-07-12 12:36:19 +00:00
Campbell Barton
b7e534f412 error it pup block title, still had clean meshes. 2006-07-12 12:09:43 +00:00
Willian Padovani Germano
d6ef293851 Scripts:
- Updating Blender Lip Synchro to the newest version sent by the author,
Benoit Foucque (Dienben). Thanks!

I'm committing a version with a few minor (tested) changes to make it
easier and to fix a small problem, the author received the changes a few
days ago. He would try to send another update implementing a couple
suggestions, but it may not come in time, so better have this. Anyway,
interested users can check his blog for test files and more information:

http://blenderlipsynchro.blogspot.com/
2006-07-12 10:21:38 +00:00
Campbell Barton
6d972220ac rename and update to archimap.
Mainly syntax optimizations and cleaned up parts.
2006-07-12 09:55:09 +00:00
Campbell Barton
0d9002354f Fixed many small errors in this script.
This is a real mess and should be removed/re-written but until we have a nice clean alignment script and its close to release, have to keep it.
2006-07-11 17:59:23 +00:00
Campbell Barton
893a36408c This shold fix 3ds opening on macs. thx blendix 2006-07-11 13:30:57 +00:00
Campbell Barton
5f761a4707 mesh cleanup optimized with some LC's
renameobjectbyblock - made more readable, only operate on objects in the current scene. optimized dict usage.
2006-07-10 10:46:53 +00:00
Campbell Barton
309fb2ec26 removed a script I wrote and added it under a different name.
Moved from NMesh to Mesh and optimized.
2006-07-10 09:22:07 +00:00
Campbell Barton
4c357b4ffa clicking on the second point of the gradient outside the mesh should have blended to alpha zero, but was raising an error, fixed. 2006-07-09 14:54:47 +00:00
Campbell Barton
a06c122772 needed this file for Gradient tool (Window/3d ray picking function) 2006-07-09 14:44:54 +00:00
Campbell Barton
158d430ca9 updated mesh boneweight copy not to error with no selection.]
updated obdatacopier to support mesh objects and added a more general way of choosing data to show or ignore in the button list.
2006-07-09 14:22:21 +00:00
Campbell Barton
219a6b245c vertexpaint_selfshadow_ao adds face uv to the mesh if there not alredy there...
added GPL header and docstrings to other scripts

removed double batch_name_edit, same file is object_batch_name_edit
2006-07-08 06:14:45 +00:00
Campbell Barton
73d50a8289 Updated to the latest cal3d exporter from http://svn.gna.org/viewcvs/soya/trunk/soya/blender2cal3d.py?view=log 2006-07-08 04:51:43 +00:00
Willian Padovani Germano
8aed0ead0b Gui:
[ #4581 ] related to scripts window updates, details here:

http://projects.blender.org/tracker/index.php?func=detail&aid=4581&group_id=9&atid=125

Scripts updated:

-Jean-Michel Soler updated some of his scripts: paths importer (ai,
eps, gimp, svg), kml / kmz importer and also updated Axiscopy.py by A
Vanpoucke (xand) and the knife script (this version handles multiple
materials) by Stefano Selleri and Wim Van Hoydonck. Thanks!
2006-07-07 18:39:51 +00:00
Campbell Barton
db5860df0c updated md2 exporter from 0.17.1 to 0.17.5
(not my work, asume Bob Holcomb's)
some extra features triangualte on export, usibility tweaks and try fan, strip improveemnts.
2006-07-07 16:09:41 +00:00
Campbell Barton
53efbdd3a3 Made this script motherball aware-
Metaballs that are numbered are not included - only the un-numbered motherball when getting the mesh data for objects.
2006-07-07 15:51:32 +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
5b7ccc4bd9 Credits to JMS as a contributer 2006-07-06 19:14:56 +00:00
Campbell Barton
e8d39a3ca3 updated raw import/export nice error messages, optimized with LC's removed meshtools depencancy, use Mesh instead of NMesh 2006-07-06 19:02:22 +00:00
Campbell Barton
14a67d2a3c Added a vertex gradient tool. got the ok from willian to add if its well tested, can do vertex gradient and weight gradient- uses __vertex_gradient__.py which manages to do both. 2006-07-06 13:34:53 +00:00
Campbell Barton
80dda381f3 Made OBJ exporter better remove double normals and UVs on export.
Some people reported using this for games so added an option to calculate high quality normals (from BPyMesh)
2006-07-06 12:25:04 +00:00
Campbell Barton
02bb354cbe merged the functionality of both these scripts into 1 new script,
Both had small problems,

This script works with soft bodies (as fixfromarmature does) and works on multiple objects at once as Apply_def does.
Made them use Mesh over NMesh unless soft bodies are involved- in that case is uses NMesh because Mesh cant get soft body info at the moment.
This script also works with non mesh objects - mballs, text, nurbs etc.
2006-07-06 11:09:44 +00:00
Campbell Barton
1c9a7a032b fixed a bug in poly redux's vgroup weight merging (was reducing the weight each collapse by about half)
fixed some other UI logic in the python menu script
Added an option to use a vertex group for a reduction weight map to force reducing some areas more then others.

Mesh epydocs activeGroups can be None as well as string.
2006-07-05 20:37:07 +00:00
Campbell Barton
d360c4fadf fix for bug 4307, keyframe data was being written and that was buggy somewhere, so commented it out and it works ;)
Theres some other error that only happens when exporting fairly high poly meshes, but this problem is with the old exporter also.

Also added export for non mesh objects as meshes- text, metaballs etc and null material slots dont stop the script.
2006-07-05 07:10:03 +00:00
Ton Roosendaal
de0af9d951 Bugfix #4603
UV coordinates for plane preview (buttons) was rotated 90 degrees.
2006-07-04 20:56:55 +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
c4b4e2922f more updates, mostly 2.3 error checking, nice messages when pythons not installed and some nendo import optimizations.
BPyMesh will work with the exception of the redux function in py2.3
2006-07-03 20:17:40 +00:00
Campbell Barton
b8d8c1fd60 BPyMesh getMeshFromObject was failing to copy the vert weights because is a dumb mistage within a try - Thanks lightbringer for finding the error 2006-07-03 07:14:48 +00:00
Campbell Barton
a33feaf49b Lots of scripts are using Object.Get() where Scene.GetCurrent().getChildren() is what is needed.
When through and replaced the obvious ones but there are still a a few Id rather not touch without more about whats going on.

Did quite a few changes to export-iv also.
2006-07-03 05:05:28 +00:00