Commit Graph

478 Commits

Author SHA1 Message Date
Kent Mein
454fceb5f5 Solaris was still using compress for make release.
Everyone else was using gzip.  On the latest downloads many of them
are using bzip2, (I think everyone using scons)
So I decided to update make release so that everyone is using
gzip2.  I don't mean to step on anyones toes, I know at least some of
the platform maintainers do not use make though so feel free to change
it back and or to something different for your platform.

While I was at it I also changed default path of OPENEXR to /usr on linux.
Was suggested on mailing list by Matt.
(I'm pretty sure the linux maintainer is using scons)

Kent
2006-08-03 10:48:20 +00:00
Campbell Barton
f9fb0cf9b0 Option to support non standard BVH files. (alternate rotation order) 2006-08-03 09:16:28 +00:00
Campbell Barton
1d05319e29 materials should render after import without having to enable texface. 2006-08-02 21:43:45 +00:00
Campbell Barton
7ec55d7a62 Made this script test 4 different collapse locations and use the one that results in the least error.
locations are: smart, middle, v1, and v2
where smart is an attempt to generate a loc that will collapse without loosing volume.

This can now collapse a subdivided cube properly.
2006-08-02 04:40:50 +00:00
Campbell Barton
19f3550eab Mostly finished work on bvh import.
before funky stuff like IPO bezier curve fitting etc are added.

* Fixed problem with zero length bones being removed.
* Sped up import by writing to ipo curves rather then inserting keyframes
* detect linear rate of change and ommit unneeded ipo points.
* cleanup
2006-08-01 18:28:42 +00:00
Campbell Barton
4e261039a9 Adding back bvh2arm.py - There is a problem when working with BVH files (small but noticable rotation error)
but aparently its still usefull for empties and Jean assures me the bug will be fixed.
2006-08-01 08:20:19 +00:00
Campbell Barton
6bc2ada6fc Made all the scripts use the file browser for saving images
Added better docscrings

Added a texture baker for procedural textures,

Its able to make a WYSIWYG image from the texture, by using the texmesh property, so texture coords arnt lost up when flattening the mesh.

Use a high res image not to see any seams
2006-07-31 15:22:20 +00:00
Campbell Barton
6a48654cce Added a octree implimentation for doing fast locational vertex lookups. 2006-07-31 13:28:00 +00:00
Campbell Barton
876885df45 rewrote bvh import to be modular,
BVHs can now be imported as armatures pose animations as well as empties.
2006-07-31 09:12:18 +00:00
Campbell Barton
6ca1c28837 Cleaned up and made a bit more efficient.
Now multiplys with existing colors.
2006-07-30 12:28:20 +00:00
Campbell Barton
96b2c0912d Fixed some logical errors and improved skinning method some more. 2006-07-30 05:48:28 +00:00
Campbell Barton
acbc574534 problem reported with making aeroplane wings,
attempted to fix the filling logic, was 50% now is 80% -  not quite up to snuff still.
2006-07-29 19:32:07 +00:00
Campbell Barton
0672038093 Fixed a bug in obj_import
would load faces
f 0 1 2 \
  3 4 5

but not
f 0 1 2\
  3 4 5

Updated JMS's hotkeys script
2006-07-29 17:22:56 +00:00
Campbell Barton
d56de7edb7 Mostly fixed archimap issue where "fill holes" - island filling would hang ths script.
Some optimizations and Ctrl will escape the script properly if you want to skip merging the islands.

Thanks to Melchior FRANZ for the report and debug blend
2006-07-29 12:21:38 +00:00
Campbell Barton
792114e476 removed image_bake_from_uvs and replaced it with a module that does all the work and 4 scripts accessable from the UV/Image menu.
- bake wire
- bake image
- bake vcol
- bake normals

Fitting all the options for these into 1 PupBlock was not good.

An example of 4 different baking made from these scripts

http://members.iinet.net.au/~cpbarton/temp.png
2006-07-29 07:14:11 +00:00
Campbell Barton
9054a81eb2 Big speedup, 2-3x, from better mesh importing. 2006-07-28 19:09:09 +00:00
Campbell Barton
cb86998653 removing this uv relax python script until it has better all round results. 2006-07-28 09:57:50 +00:00
Campbell Barton
92e9a88996 fixed stupid error in flt_import (only allowed 15 materials, not 16)
added an option to Bake From UV's - Selected Faces Only
2006-07-28 09:27:11 +00:00
Campbell Barton
093bc78783 fixed flt_import problem adding materials to the mesh, made untextured faces not go pink.
removed mesh_bbrush, Not worth maintaining anymore with recent developments.
2006-07-28 08:59:44 +00:00
Campbell Barton
a7a3285235 Much needed update to flt_import.py
* NMesh to Mesh
* Optimized vertex importing
* Import NGons properly and make them blender FGons
* lots of other small updates

image_bake_from_uvs - ignore meshes without faceUV's
2006-07-28 08:17:04 +00:00
Campbell Barton
f6ddf8a3c3 removed kloputils, was too old/broken/messy to maintain- functionality needs to be split into a number of scripts.
bvh2arm was for importing empties in a BVH, direct bvh armature import should be good for next release. and Iv removed the Old bvh importer anyway.

Will add a slot in the imaeg meny for image scripts, renamed scripts to go there.
2006-07-28 02:38:02 +00:00
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