Commit Graph

1247 Commits

Author SHA1 Message Date
Campbell Barton
9035253493 [#14392] C3D Import
c3d importer for motion capture data
This could do with some improvements but for now its acceptable.
- Note, could people please not mix tabs and spaces.


-Text copied from the patch submission-
The c3d_import with 2.46 was able to import a mocap cloud for some c3d files. I have improved it:
Version History:
 0.4: PERIN Released under Blender Artistic Licence
 0.5: WICKES used marker names, fixed 2.45 depricated call
 0.6: WICKES creates armature for each subject
 0.7: WICKES constrains armature to follow the empties (markers). Verified for shake hands s
 0.8: WICKES resolved DEC support issue

see also http://wiki.blender.org/index.php/Tutorials%5CMoCap-Section_3 for how this program gets the mocap data into
Blender and creates an armature, like the BVH script does.

I'd like someone to test and verify, and if accepted, replace the current c3d_import.py

--- See patch url for example files http://projects.blender.org/tracker/index.php?func=detail&aid=14392&group_id=9&atid=127
2008-06-22 21:48:02 +00:00
Martin Poirier
b5bde6d4dc More params for reeb graph visualizer 2008-06-20 18:06:41 +00:00
Chris Want
fd8e873e01 == VRML97 exporter ==
Faulty indentation of a line sometimes caused a bunch of empty lines to
be printed into the TextureCoordinate and texCoodIndex fields
(benign error, just ugly).
2008-06-18 21:16:29 +00:00
Chris Want
4ed60f4575 == VRML97 export ==
Don't export vertex colors if a mesh doesn't have any (even if a
texface has 'shared cols' set).
2008-06-18 19:58:05 +00:00
Chris Want
1c1f81914c == VRML97 export ==
Patch #10569 from Michalis Kamburelis (sorry for the delay).

This patch adds a popup menu that lets the user choose whether
they want to export selected, whether thay wanted to export
compressed, and whether they want to export the file from
blender's "Z up" coordinates to VRML's "Y up".

I'm not too crazy about the caching to disk of these options
via GetRegistry/SetRegistry, but since this seems to occur
in many of the other export scripts I'll leave it as is.
2008-06-18 17:13:33 +00:00
Campbell Barton
1e3bdcf198 bugfix from Markus Ilmola (glome)
patch was in [#8540] Import scripts for MilkShape3D file formats

Some animations were incorrectly imported and this adds support for weights.
2008-06-16 14:08:24 +00:00
Martin Poirier
fd1faa5542 Merge from Apricot Revisions 14897, 14913, 14914, 14915, 14929, 15009, 15046
---------------------------------------------------
Snappy stuff

* Align rotation with snapping target: rotate the object, aligning it with the target (object mode only - temporarily) (New icon in the header when snap is turned on)

* Snap to different mesh elements (face, edge, vertice): snapping target slide on faces and edge or use exact position of vertice. When using Align rotation with edge snapping, the normal is interpolated as you slide along.

Snaps correctly to derived mesh (sculpt, modifiers, ...) and duplis. In object and edit mode.

NOTE: The snapping code is now based on faces, so even if you're snapping to vertices or edges, it will not work on meshes without faces. This might change if needed.
2008-06-09 18:41:16 +00:00
Ian Thompson
10d59e7208 Merged from trunk
svn merge -r14988:15170 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-06-09 14:04:19 +00:00
Maxime Curioni
07001e708e soc-2008-mxcurioni: merged changes to revision 15163 2008-06-08 20:12:29 +00:00
Remigiusz Fiedler
cc0d730923 import_dxf.py script update: ver. 1.0.12b3-2008.06.05
bugfix: ob.name conflict with existing meshes (different ob.name/mesh.name)
refactor/support for LWPOLYLINEs
2008-06-05 12:31:16 +00:00
Simon Clitherow
6af06ecdd2 Reverted win installer to give 'current user' option only for Application Data.
Added shfolder.lib linking for win9x SHGetFolderPath() support.
2008-05-29 21:12:11 +00:00
Campbell Barton
056f0564c2 bugfix for zero area faces and adding uv layers was not checking if the
UV layer existed alredy.
2008-05-27 15:14:35 +00:00
Campbell Barton
0eb8ea7429 bugfix, edges with no faces raised an error. 2008-05-27 13:32:10 +00:00
Martin Poirier
1345417f27 Reeb Graph importer (for debuging purpose only) 2008-05-27 13:24:38 +00:00
Campbell Barton
be215f74f3 removing this script, should have been removed for 2.46 since the
functionality is avalable in the UV snap menu.
2008-05-27 09:46:35 +00:00
Maxime Curioni
59df5a23b4 soc-2008-mxcurioni: merged changes to revision 14967 2008-05-25 18:28:52 +00:00
Campbell Barton
55f1b6baa7 for for [bf-blender-Bug Tracker][11843] 3DS importer imports broken meshes 2008-05-25 13:48:36 +00:00
Geoffrey Bantle
7b069b9b60 -> FLT import: Zero area N-gon bug fix
FLT importer would throw errors when importing ngons with
zero area. These faces are now ignored
2008-05-24 18:43:02 +00:00
Campbell Barton
459b4ea5be fix for [#12797] FBX Exporter Exports Incorrect Matterial EmissiveFactor and DiffuseFactor
- own error, swapped diffuse and emit factors
2008-05-24 12:22:53 +00:00
Campbell Barton
99f43e0b07 fix for error when all faces are the same area 2008-05-23 08:39:59 +00:00
Remigiusz Fiedler
61fa5f9126 remove module dxfImportObjects.py. It is obsolete since 2.43, then all functions integrated in the main dxf-importer code 2008-05-22 08:29:54 +00:00
Ton Roosendaal
66af413a4c Part one of the 2.46 release commit 2008-05-18 18:05:16 +00:00
Campbell Barton
58e6861aea fix for [#11542] "Add -> Mesh -> Torus" adds corrupt mesh
previous fix only worked in object mode
2008-05-16 13:05:36 +00:00
Campbell Barton
cf66596d32 fix for [#11667] Minor problem with lightmap_uvpack, LC is getting out of control but keeping to annoy theeth 2008-05-15 19:44:34 +00:00
Geoffrey Bantle
ad397fa16b -> FLT import bug (loose vertices)
New faceweld code broke the import of meshes with loose
vertices. Also added exception handling to the importer
and exporter so that UI doesnt quite when errors are encountered.
Instead traceback is printed to stderr and control returns to
the script UI
2008-05-15 19:35:17 +00:00
Geoffrey Bantle
9f7bc14c57 -> FLT Export bugfix
Export of open faces on export was dropping
the last vertex. Also removed recursion from
function in order to make it safe for large polygons.
2008-05-14 19:29:33 +00:00
Campbell Barton
540c0e0795 uvcalc_lightmap would raise an error on meshes with no faces.
auto-threads wasnt working for baking.
2008-05-14 16:40:25 +00:00
Maxime Curioni
c785d7493e soc-2008-mxcurioni: merged changes to revision 14798, compilation works for rendering/ directry. Still needs to figure out how to compile on non-Unix machines. 2008-05-11 20:28:47 +00:00
Campbell Barton
b9c66e88ea added encoding "# coding: utf-8" to the headers of scripts that python would not run with execfile('....'), python would also riase the error, though there is no practicle use
for running these scripts outside blender.

The error looked like this.
SyntaxError: Non-ASCII character '\xe4' in file ./3ds_export.py on line 10, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
2008-05-11 12:41:12 +00:00
Chris Want
5e5dc2e938 Reverting vrml97_export.py to it's state at revision 14751 because:
1) Bug #6692 is actually a feature request. While I do think that
Michalis' patch is a worthy change, we don't have time to test
this at this stage in the release cycle (and svn is supposedly
closed to new features anyways). I'm sorry Michalis, this will
have to wait until after release.

2) I have looked at bug #8814 a while ago, but I have not yet found
a good solution (and perhaps the solution is to *not* export faces 
without materials assigned). I don't have time to assess whether
revision 14774 presents a worthwhile change or not, and I have no
time to test before release. Also I don't like that the 'fix' for
#8814 is mixed with a fix for a previous faulty commit.

3) Again, another commit to a script I maintain without consulting
me first. Not cool!

Chris
2008-05-10 14:05:35 +00:00
Campbell Barton
cc279a3aa0 fix for [#8814] VRML 97 Exporter bug (empty coordIndex [] indexes) Blender V2.45
null materials were not exported, but would also mess up the assignment of materials for any valid materials after the empty slots.
also made a mistake last recently that Michalis Kamburelis pointed out, changing the default orientation incorrectly. this is now set 
back to what it was in Michalis's patch.
2008-05-10 07:58:10 +00:00
Kent Mein
a7a9c74ccb This is patch: [#9050] Single step .svn dir removal for Makefile (release)
From gsr.

It cleans up removing .svn dirs from the directorys that get copied over.

Kent
2008-05-09 20:00:18 +00:00
Campbell Barton
694dce0e63 render layer saving script assumed scriptsdir existed.
apply def script assumed the mesh had all the objects vertex groups.
2008-05-09 17:13:03 +00:00
Campbell Barton
8f6eda7e5d need to recalc normals for meshes added in object mode 2008-05-09 12:37:26 +00:00
Campbell Barton
9fb7381d2e chris want corrected some of the last commits changes 2008-05-09 06:02:39 +00:00
Campbell Barton
71fbf87304 fix for [#6692] vrml (.wrl) export bug in V2.44 release
patch from Michalis Kamburelis with some minor edits
2008-05-08 20:51:22 +00:00
Maxime Curioni
64e4a3ec9a soc-2008-mxcurioni: merged changes to revision 14747, cosmetic changes for source/blender/freestyle 2008-05-08 19:16:40 +00:00
Remigiusz Fiedler
3faf127707 DXF-importer prepared for ProE files, which are outside of DXF-specification. 2008-05-08 15:58:00 +00:00
Campbell Barton
bda4e3d19f * added support for exporting dupli objects
* option to export modifier applied objects
* option to export quads as tri's
* added back compress option (will default to enabled if you use .x3dz as the extension)
2008-05-07 15:38:40 +00:00
Campbell Barton
4255f3c7ab made python add mesh module respect blenders user settings for editmode and view align.
added sys.cleanpath() was a patch in the tracker but blender's internal path cleaning is now more general and can be used from 
python.
2008-05-06 17:54:55 +00:00
Maxime Curioni
ec90691384 merge to 14689, Freestyle library changes, SConscript start 2008-05-05 16:56:44 +00:00
Campbell Barton
caa7566ee2 wizard_curve2tree was opening FBX wiki docs. leaf dupliface object was being offset each time the script ran. 2008-05-02 12:27:05 +00:00
Campbell Barton
da509d33c7 used fixed width font, set the command history to ignore dupes when pressing up/down 2008-05-02 10:33:32 +00:00
Campbell Barton
5fef83b0ce fix for bugs
[bf-blender-Bug Tracker][6693] x3d export bug in V2.44 release
[bf-blender-Bug Tracker][7773] .x3d exporter problems (moving meshes away)
Updated how objects are transformed, and use Mesh rather then NMesh.
also removed vertex color saving since it was really slow and vcolors are stored per face in blender.
2008-04-30 22:30:52 +00:00
Maxime Curioni
f12cf0e250 Merged changes from trunk to soc-2008-mxcurioni, to revision 14603 2008-04-28 19:21:51 +00:00
Campbell Barton
34c1699e7e fix for [#9649] svg2obj.py needs a patch,
slight change to the fix suggested, the svg imported was assuming that
"fill:" and "#" being in a string meant there was "fill:#", but the # could be used for other properties.
2008-04-28 19:13:38 +00:00
Maxime Curioni
812a0eb1fb Merged changes from trunk to soc-2008-mxcurioni: svn merge -r 14534:14595 https://svn.blender.org/svnroot/bf-blender/trunk/blender/ 2008-04-28 16:21:26 +00:00
Campbell Barton
c6554898cc fix for [#9651] raw_export.py tooltip outdated?
own error, bpath looper was trying to free NULL pointer,
added fromOrig to python mtex api
made FromOrig and FromDupli tooltips be understandable
2008-04-28 16:09:17 +00:00
Campbell Barton
feb440c2cd added sequencer paths to bpath iterator, This needed to use get/set filename callbacks internally because the sequencer stores dir/file separately.
This means when moving large projects with many images/videos/sounds is possible with 'File, External Data, Find Missing Files'.
- needed so we can put peach animatic, glrenders & testrenders on the dvd.
also datatoc.c - brecht's fixes from apricot.
2008-04-25 16:09:16 +00:00
Campbell Barton
4f49a3b906 added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
Martin Poirier
2fb9b30485 Creating GSoC branch for mxcurioni 2008-04-23 02:20:01 +00:00
Campbell Barton
fa27b5bcc7 Script templates, metaball creation script from forTe, and camera script from macouno 2008-04-22 15:37:54 +00:00
Simon Clitherow
46847c8a84 Bug fix for 8634, 6708, and 5989
This replaces the hard-coded '%PROFILE%\Application Data\..." path 
with the correct language-dependant CSIDL_APPDATA.

PLEASE NOTE!

Checks for the previous location have now been REMOVED. Any data
saved in the old hard-coded location will no longer be found by 
Blender (this will only affect users of non-english windows.)

The installer has been updated to help the user to migrate their data
to the new location of their choice, if necessary.

Order of preference for .blender on windows is now the following:

1) %HOME% environment var
2) Installation Directory (location of blender.exe)
3) "Current User" (CSIDL_APPDATA)
4) "All Users" (CSIDL_COMMON_APPDATA)
2008-04-21 15:53:32 +00:00
Campbell Barton
8ac1330b74 Patch from Mario Lapin, fixes [#7394] 3ds File Import is broken 2008-04-20 19:27:48 +00:00
Tom Musgrove
9629d8e561 The mdd exporter was skipping the first frame, fix from bill nieuwendorp (slow67) 2008-04-20 16:18:43 +00:00
Campbell Barton
0441b5354d [#6932] Cal3D Exporter Distort Vertex
Removing cal3d importer, since the soya3d maintain their own and I could not fix a bug in weird bone exporting.
2008-04-19 17:38:40 +00:00
Campbell Barton
92f15c7c0c applied patch from Boris van Schooten, [#8148] Animation bugfix for md2_export script
made some other small fixes while testing. (divide by zero errors)
2008-04-18 23:04:54 +00:00
Kent Mein
981d380fc4 This is an expanded patch of this:
[#8067] external texture plugin thread-safe modifications
Submitted By: David Anderson (davywavy)

It makes it so the "result" array is passed in, instead of a global var.
I expanded the patch so it will play nice with older plugins  that are not
thread safe as well.

I also updated the existing plugins in the release, so they are thread safe.

---------------  What do people think of this.... ------------------
This should maybe be talked about in the functionality board or something,
but what do people think of adding in default texture/sequence plugins.
or making a seperate tree like lib for plugins.

The reason I ask is we have had a couple of upgrades to the plugin system.
(supporting float buffers for sequencer, and this one for textures)

http://www.cs.umn.edu/~mein/blender/plugins does not store revisions of 
plugins I just make sure they work with the latest version.  This is
getting messy.  I haven't upgraded a lot of them to use floats (I know,
I'm lazy, and now this will also make modifications to the plugins)
It would be nice to have some of the standard ones under revision control.

We also seem to be having an explosion of platforms supported.  It would
be nice to have platform maintainers compiling plugins as well for releases.
(Its getting to be more work for me to keep up with things...)

I'll go back to my corner now and be quite. ;)

Kent
2008-04-18 19:10:03 +00:00
Campbell Barton
9a19ab21b5 milkshape3d model importer, can import a textured model with materials and animation 2008-04-17 20:15:37 +00:00
Campbell Barton
3175ecbcc0 Mot importer from ZanQdo 2008-04-17 08:43:22 +00:00
Chris Want
5d0a207ecb Patch from GSR that a) fixes a whole bunch of GPL/BL license
blocks that were previously missed; and b) greatly increase my
ohloh stats!
2008-04-16 22:40:48 +00:00
Campbell Barton
3a9624fd77 ZanQdo fixed exporting of mot files 2008-04-16 20:03:59 +00:00
Campbell Barton
235f793f28 Made aspx/y into floats so we can render precise regions (for apricot terrain baking) 2008-04-09 15:46:26 +00:00
Geoffrey Bantle
b96b7ab83d -> Fix for last commit on FLT exporter
Forgot to change some dictionary keys in source which
would break export. Fixed
2008-04-08 19:35:53 +00:00
Martin Poirier
79ed118fd4 Potential fix for [#8113] Blender.Registry segfault when no permission to write
This converts exceptions in Warning in selected points of the registry module.

While I couldn't reproduce the segfault ( I received the Py error as expected), this isn't a bad idea anyway, since the BPy C counterpart was discarding the error anyway, making it a warning is a bit more inline with its meaning.

The exception is not preventable nor fixable from a script's point of view, so better to silence it and print a warning to the console instead.
2008-04-07 20:56:45 +00:00
Campbell Barton
711306c2ba added a help link to wiki docs for curve2tree, fixed some bugs in flt_toolbar 2008-04-06 17:11:14 +00:00
Campbell Barton
0eb018919a fix for wrong rotation between branch joins 2008-04-05 10:55:18 +00:00
Campbell Barton
8fdfd4cc4c PyAPI - setting a buttons string value crashed. suspect this is a 64bit problem since replacing the string length of int, with Py_ssize_t or long prevented the crash. worked around the problem by removing the PyString_AsStringAndSize command.
wizard_curve2tree - removing id properties didnt work. exit button used a callback it didnt need to.
2008-04-04 23:12:20 +00:00
Campbell Barton
8960f53676 some fixes for python baking function
needed to add a small value to the baking distance for it to include faces of that distance (maybe should make this happen from the user interface too)
2008-03-29 14:50:05 +00:00
Geoffrey Bantle
0010f33bdb -> FLT I/O: UI now undo safe
Both the FLT importer and exporter now store and retrieve
their settings from the blender python registry making
them safe for use with global undo.
2008-03-28 23:06:00 +00:00
Geoffrey Bantle
5fa49b5947 -> FLT I/O: LOD hiding on import
LODS were not getting hidden correctly on import.
Fixed now.
2008-03-28 21:04:27 +00:00
Geoffrey Bantle
b766441658 -> FLT I/O: Hierarchy order fixed on export
Hierarchy was getting reversed on import/export cycle
for FLT files. Fixed now.
2008-03-28 19:45:07 +00:00
Geoffrey Bantle
d32ec4297d -> Double Sided Faces fix for FLT import
Faces marked as double sided in FLT file were
not getting the proper face flags on import to blender.
Fixed.
2008-03-28 00:30:46 +00:00
Geoffrey Bantle
812af46d41 -> Double Sided Faces fix for FLT import
Faces marked as double sided in FLT file were
not getting the proper face flags on import to blender.
Fixed.
2008-03-28 00:26:48 +00:00
Geoffrey Bantle
3b36c10702 -> Extension Node attribute support for FLT I/O
Extension node attributes are now read and stored as ID
props for the following Node types:

-Object Nodes
-Group Nodes
-LOD Nodes
-DOF Nodes
-Inline Light Point Nodes


The extension data is written back out on export.

Note that this commit only adds support for attribute extensions.
Completely new node types via the extension record are still
unsupported.
2008-03-28 00:08:41 +00:00
Campbell Barton
e7651c53c3 baking normals could crash in rare cases because the intersection data wasn't copied when the lambda was bigger then the previous or initialized.
python baking script had a simple error.
2008-03-27 16:28:21 +00:00
Geoffrey Bantle
d94038342c -> Slight fix for Face Weld code in FLT importer
Slight fix for welding of faces that only share one vertex
2008-03-26 16:45:18 +00:00
Geoffrey Bantle
b46bad83bf -> New face weld code for FLT importer
Replaced the use of remove doubles with some new custom 'face welding'
code that wil clean up meshes on import.This will not remove any faces
or do any edge collapse and so is a more suitable method of cleaning
up imported meshes. This same code could potentially be of use when
importing other formats as well (such as DXF...)
2008-03-26 15:59:56 +00:00
Joshua Leung
fa2d6c195e Bugfix #8710:
Typo fix in PyConstraint template
2008-03-23 02:28:24 +00:00
Jean-Luc Peurière
126ab7974d NDOF support added to trunk from ndof branch.
The latter is now obsolete and will be soon 
removed.

Some tiny build tweaks for darwin committed
in preparation of bigger changes for proper
SDK suport both on intel and ppc
2008-03-22 01:39:11 +00:00
Jean-Luc Peurière
32b5138e64 update to trunk r14199 2008-03-21 17:00:40 +00:00
Geoffrey Bantle
895e871d6b -> Color Fixing tool in FLT toolbar
A new tool for for fixing colors on meshes imported from other files with
conflicting color palettes has been added to the FLT toolbar script. This
will find the closest match for all the colors in the faces of selected
meshes and update their baked vertex color representation.

Also added a small tweak to the 'update all' tool which will fix black faces
2008-03-19 21:14:49 +00:00
Geoffrey Bantle
0899bccef5 -> Path handling fix for External references in FLT import
FLT importer had problems with external references that used
relative paths. Fixed.
2008-03-19 19:23:42 +00:00
Geoffrey Bantle
7015700e99 -> FLT importer hierarchy transform bugs
Several transform bugs in the flt importer have been fixed. This included
parent/child relationships and matrices not importing correctly along with
some problems with the import scale option.
2008-03-18 23:16:47 +00:00
Geoffrey Bantle
34c4ac219c -> FLT palette alpha bug
Default FLT palette had all colors with an alpha of zero
which caused problems with some versions of OpenSceneGraph.
2008-03-18 22:55:40 +00:00
Jean-Luc Peurière
8787ad14a2 update to trunk r14104
blenderbuttons is good
and it compiles
2008-03-14 09:59:44 +00:00
Jean-Luc Peurière
a68a7f42b0 resolved conflict state with HEAD r14096
blenderbuttons still bad

not let this compile
2008-03-13 23:54:02 +00:00
Campbell Barton
7287bea1d9 wasnt returning the images in python bake api 2008-03-13 18:34:23 +00:00
Jean-Luc Peurière
526d0bec47 final (??) work on NDOF branch
it is now in a state where it can be safely
merged with trunk.

Note: basic icons were provided but I'm not
an icondesigner and working in a 16x15 grid
is way too small for me, so feel free to 
change them.
2008-03-13 15:40:24 +00:00
Stephen Swaney
4247984df3 French text was breaking python interpreters.
Add character encoding to file like this:
# -*- coding: latin-1 -*-

Thanks to eago for the bug report.
2008-03-13 03:32:23 +00:00
Campbell Barton
8b63333f8c image render to billboard was rotating UV's incorrectly, also make use of texface alpha rather then making many materials with textures. 2008-03-12 10:00:52 +00:00
Matt Ebb
397ece0008 * Updated the material preview so the 'hair' preview option
has UVs. Previously, it would show all noisy and messed up when
 using a UV texture.
2008-03-10 05:22:18 +00:00
Campbell Barton
d9da14d8a7 fix for uninitialized variables in uv stretch drawing,
[#8428] 'Editmesh_active' theme colour not accessible via Python
bugfix problem where saving a theme would raise and error when ~/.blender didnt exist.
bugfix for file selector staying open (introduced with own undo resistant scripts)
2008-03-09 07:35:12 +00:00
Geoffrey Bantle
7292fa5ca6 -> DOF from active tool
Creates (or modifies) a DOF node based upon the active object.
Requires two selected objects, the non-active one will get its
DOF coordinate system from the active selected object. This assumes
that 1 Blender unit == 10 meters
2008-03-07 07:23:55 +00:00
Geoffrey Bantle
5ea3956e4e -> Light points vert normal bug and DOF fixes
If light points are not given a unit normal they will
not show up correctly in some applications. Further DOF
nodes were not being exported correctly.
2008-03-07 02:40:12 +00:00
Geoffrey Bantle
80354af6fa -> Short names fix
Short names (less than 8 characters) were not getting exported
correctly for blender objects with no FLT props attached
2008-03-05 01:31:00 +00:00
Kent Mein
1adc93623c Were path issues with getversion script on some platforms.
Kent
2008-03-03 15:51:55 +00:00
Simon Clitherow
bc76485840 NSIS Installer:
Committing the changes used for 2.45 and the upcoming 2.46 release :) 

(Better late than never!)
2008-03-02 20:12:06 +00:00
Campbell Barton
62bd1b85e6 left in prints 2008-02-27 23:11:04 +00:00
Campbell Barton
345866b61e Fix for [#8382] UV unwrap & export puts seams on all edges.
Maya uses OBJ's UV's to generate seams, some people complained that models imported from blender didnt work well in maya.
It was faster to write every faces UV (without doing a remove doubles), but sharing UV coords makes smaller files and might also be more efficient in other applications.
2008-02-27 23:10:25 +00:00
Geoffrey Bantle
d41cbadf7d -> Minification filter type for FLT attrib files
-Changed the minification filter type from Bilinear to
mipmap-trilinear
2008-02-27 11:52:19 +00:00
Tom Musgrove
40934ef6df This is an update of the french translation, patch from
Erwan Jacq (eon) - .mo to follow

This is also a partial fix of bug 8272 X3D export issues
the rest of the bug might be already fixed in CVS
2008-02-23 20:08:18 +00:00
Campbell Barton
0e935e397b * Displacement baking wasnt working with negative distances.
* Added Normalize option for diplacement so everything in the 'Dist' range is mapped 0-1
* Increased the maximum Dist and Bias to1000.0 (was 10.0)
* Added python utility function in BPyRender.py - bakeToPlane(...), to automate heightmap, normalmap generation for Crystalspace.
2008-02-22 14:27:46 +00:00
Andrea Weikert
b7cf0ecbf6 == ImageBrowser ==
added icon for 'Toggle Bookmark Area'
disabled the bookmarks for databrowse
allow to add path inside .blend file (could be nice to use as material library for example)
2008-02-17 21:34:56 +00:00
Ton Roosendaal
a4b05a18d9 Fix for planar preview, to make Z=0 everywhere 2008-02-15 18:50:13 +00:00
Remigiusz Fiedler
98b4fa74cb ver.1.0.12a9 , minor bugfix 2008-02-10 10:26:29 +00:00
Campbell Barton
746522a0ad Standalone reads a list of scene, start frame, end frame from blend files without having to load them in blender.
Scenes must be tagged to render, (old render daemon button) but selecting scenes in the data browser (shoft+f4) sets this also.

Using this script to generate jobs for the renderfarm much faster then loading blender.
2008-01-30 16:16:38 +00:00
Campbell Barton
0f157c6304 tooltips for some dual toggle buttons as well as tooltips from wim van hoydonck ([#8166] [python-scripts] fix for tooltips of torus primitive + newline) 2008-01-28 10:56:42 +00:00
Campbell Barton
a1f3af3d59 script to save renderlayers to a file so you can load them in other blend's - useful when applying settings in a pipeline (andy tells me ;) ) 2008-01-28 00:05:15 +00:00
Campbell Barton
a4c8a5b670 sorry about this, 3rd commit to fix this small error. 2008-01-25 20:44:36 +00:00
Campbell Barton
ad7a03ef84 minor fix 2008-01-24 22:43:42 +00:00
Campbell Barton
04512c7306 fix for lightwave object loader 2008-01-24 20:31:11 +00:00
Campbell Barton
9f441976a2 outliner messed up shift+clicking on linked objects - would display their library path rather then selecting them. displaying library path could be useful but should add elsewhere. 2008-01-22 00:56:35 +00:00
Campbell Barton
38255fcc6f Script to set timeoffset of all selected objects using the animated path of an active object.
This means you can have 100's of objects animations run by animating an empty over them, (needs docs to explain really) ... Easy to setup and time a Mexican wave for instance ;)
2008-01-22 00:53:10 +00:00
Campbell Barton
e3b202d0b9 minor changes to address bugs
[#8109] Incorrect header information in exported X3D Files
[#8110] Illegal characters in exported X3D files
2008-01-19 21:52:09 +00:00
Remigiusz Fiedler
3df9587b40 update with many improvements:
v1.0.12: 2008.01.17 by migius
 a8 lately used INI-dir/filename persistently stored in Registry
 a8 lately used DXF-dir/filename persistently stored in Registry
 a7 fix missing layersmap{} for dxf-files without "section:layer"
 a6 added support for XREF external referenced BLOCKs
 a6 check for bug in AutoCAD2002:DXFr12export: ELLIPSE->POLYLINE_ARC fault angles
 a6 support VIEWs and VPORTs as cameras: ortho and perspective mode
 a6 save resources through ignoring unused BLOCKs (not-inserted or on frozen/blocked layers)
 a6 added try_finally: f.close() for all IO-files
 a6 added handling for TypeError raise
 a5 bugfix f_getOCS for (0,0,z!=1.0) (ellipse in Kai's dxf)
 a4 added to analyzeTool: report about VIEWs, VPORTs, unused/xref BLOCKs
 a4 bugfix: individual support for 2D/3DPOLYLINE/POLYMESH
 a4 added to UI: (*wip)BLOCK-(F): name filtering for BLOCKs
 a4 added to UI: BLOCK-(n): filter anoname/hatch BLOCKs *X...
 a2 g_scale_as is no more GUI_A-variable
 a2 bugfix "material": negative sign color_index
 a2 added support for BLOCKs defined with origin !=(0,0,0)
 a1 added 'global.reLocation-vector' option

 v1.0.11: 2007.11.24 by migius
 c8 added 'curve_resolution_U' option 
 c8 added context_sensitivity for some UI-buttons
 c8 bugfix ELLIPSE rotation, added closed_variant and caps
 c7 rebuild UI: new layout, grouping and meta-buttons
 c6 rewritten support for ELLIPSE mesh & curve representation
 c6 restore selector-buttons for DXF-drawTypes: LINE & Co
 c6 change header of INI/INF-files: # at begin
 c6 apply scale(1,1,1) after glob.Scale for all mesh objects, not for curve objects.
 c5 fixing 'material_on' option
2008-01-18 17:03:43 +00:00
Campbell Barton
46f93f882d update to m3g exporter by Gerhard Völkl 2008-01-18 10:46:37 +00:00
Kent Mein
caf24d6a34 *sigh* from now on I think I need to run my commits through ispell ;)
Kent
2008-01-15 18:43:29 +00:00
Kent Mein
deaca4b094 Forgot ""'s around string in error message.
Kent
2008-01-15 18:06:48 +00:00
Kent Mein
17f4f8b5a8 Adds a script to automatically determine the blender version #
from BKE_blender.h 
Now we just need to update the other build methods to use the script.
Once thats done we can remove the VERSION file since it will no longer
be needed.

Kent
2008-01-15 15:25:50 +00:00
Joshua Leung
eebab74464 Missed a few lines in import_mdd.py 2008-01-14 05:58:38 +00:00
Joshua Leung
da4c1cd8d3 MDD Importer/Exporter - Bugfixes:
* MDD export failed when using a particle-instance modifier due to the use of different ways of retrieving a mesh to count it's vertices. 
* MDD importer now shows up in menu of importers again
2008-01-14 05:55:24 +00:00
Geoffrey Bantle
e1a45c73b6 -> Fix for select Xref tool
Select Xref tool was broken. Should work now.
2008-01-11 14:25:01 +00:00
Geoffrey Bantle
a7184e9afd -> Fix for billboard faces
Faces with billboard render (axis with alpha) were not being preserved on import/export. Fixed
2008-01-09 19:51:22 +00:00
Joshua Leung
5be2e5aa98 == PoseLib - Overhauled Implementation ==
Based on feedback from Ton, I've recoded the way "PoseLibs" are implemented/exposed. Therefore, quite a bit of code has been changed to fit this in better.

Now, ANY ACTION can be a "PoseLib". A set of Markers which belong to the Action (it's taken a year, but they're finally back), are used to tag "poses" in the Action. These markers are shown using diamond-shaped blue icons (designed by Matt Ebb) in three shades - unselected/normal, selected, active. 

Notes:
* Each Armature Object has an Action which acts as a PoseLib.
* Improved UI presented in buttons panel for this
-- added proper buttons for action assigning
-- renamed "Validate PoseLib" to "Auto-Sync PoseLib" (this option auto-tags poses based on keyframes found) 

Like in the 3d-view, use the hotkeys:
* Shift-L to add a local marker 
* Ctrl-Shift-L to rename a local marker
* Alt-L to delete selected local markers

Note: transforms, etc. are not currently available with these markers 

== PoseLib Preview ==
Added a few features here:
* Left/Right-Arrow keys now change the poses too (previous and next respectively)
* Up/Down-Arrow keys also change the poses, but "jump" to a pose 5 steps away in their respective directions
2007-12-30 12:08:28 +00:00
Campbell Barton
9b89abaa8b BLI_makestringcode dosnt need the first value to be a copy of G.sce since its a "const char"
Removed own script release/scripts/image_find_paths.py since last commit replaced its functionality.
2007-12-20 10:38:01 +00:00
Campbell Barton
b3ff38cacd Problem with OBJ import found by Mark Ivey - would not import an obj if all verts were int values. 2007-12-19 07:44:37 +00:00
Campbell Barton
f4e2005933 UV texture blending was being used when materials were disabled. 2007-12-07 11:56:51 +00:00
Kent Mein
b0c01a414b Fixed up NOPLUGINS and NOSTRIP so they are hints to make release instead of
hardcoded.  Also removed ""'s from around the defines so they were more like
all of the others.

Thanks to Tanner Jotblad for pointing this out...

Kent
2007-12-05 21:46:34 +00:00
Campbell Barton
e756b1cc7d - fix for [#7327] Problem/issue with .PLY export,
editmode was not exited, and vertex normals would not write at all! (probably own error)

- Edited tooltip for texture DVar (was some user confusion in the studio as to its purpose)

- Set render border is disabled when it has no area - so drawing a box outside the camera disables .
2007-12-05 20:21:25 +00:00
Kent Mein
7b2e348d4f This is a modified version of this patch:
[#7660] Solaris 10 x86 support (Makefiles)

Hopefully it will not mess up anything for anyone else.  I removed
some hardcoded static libs and made NAN_*_LIB definitions so they could be 
overridden, to allow greater flexability.

Let me know if there are any problems/questions.

Kent
2007-12-05 16:58:52 +00:00
Campbell Barton
141e279d70 wizard_curve2tree.py - bounding twig mesh didnt work if it had some transformation.
buttons_shading.c - premul button was overlapping movie buttons
2007-12-01 22:00:09 +00:00
Campbell Barton
f06872d493 mesh_edges2curves.py - fix for duplicate points
renderwin.c - stamp info in openGL render
2007-12-01 19:19:49 +00:00
Campbell Barton
a4c17c7c88 anim.c, buttons_object.c, readfile.c, BKE_blender.h - dupliFace scale option, needed for leaves.
modifier.c, BKE_modifier.h - flag for modifiers to say they use pointcache, also new func modifiers_usesPointCache
renamed //pointcache to //blendcache_blendfilename so blendfiles in the same dir dont conflict, and other to show this dir isnt limited to pointcache only (nodes way want to use this)
wizard_curve2tree.py - better defaults for pretty tree's
2007-11-30 10:38:59 +00:00
Campbell Barton
6649ba74d6 - better weighting for fill twig placement
- curve direction isnt used anymore - just make the small end the last.
2007-11-29 14:41:33 +00:00
Geoffrey Bantle
2d38926f13 -> Fix for FLT export
Silly mistake on FLT export meant that when copying textures no check was done
to see if the file being copied existed or not. Fixed
2007-11-28 19:06:00 +00:00
Campbell Barton
d6ce9e4abe curve re-meshing had some errors when making joins, now collapse surrounding overlapping segments when adding joins to allow room for the join, joint rotation was also wrong between branches. 2007-11-28 15:26:02 +00:00
Campbell Barton
07a2f7013a fixed bug that only happened when a curve had 2 points in the same place 2007-11-27 22:09:42 +00:00
Campbell Barton
ee40a913a5 minor errors fixed 2007-11-27 21:19:58 +00:00
Campbell Barton
044b78c83b new function object_is_libdata - checks ob->id.lib but also accounts for proxy's.
Object panels were using object_data_is_libdata, which meant linked obdata could not have object settings changed.

curve2tree 
- option to face leaves up or down
- random pitch and roll options
- place 2 leaves on a point for denser leaves
- random seed entry so you can get reproducible results
2007-11-27 19:23:26 +00:00
Campbell Barton
38e3abae83 reference leaf object rather then group (which wasnt working and only used the last object). for dupli - leaves 2007-11-27 13:08:20 +00:00
Campbell Barton
2a743951fc * Improved Fill Twigs, they now join to make a continues skin like other branches.
* Improved dupli-leaf placement - (should be good enough to use for final renders)
2007-11-27 11:57:18 +00:00
Brecht Van Lommel
7da56f4a9b Particles
=========

Merge of the famous particle patch by Janne Karhu, a full rewrite
of the Blender particle system. This includes:

- Emitter, Hair and Reactor particle types.
- Newtonian, Keyed and Boids physics.
- Various particle visualisation and rendering types.
- Vertex group and texture control for various properties.
- Interpolated child particles from parents.
- Hair editing with combing, growing, cutting, .. .
- Explode modifier.
- Harmonic, Magnetic fields, and multiple falloff types.

.. and lots of other things, some more info is here:

http://wiki.blender.org/index.php/BlenderDev/Particles_Rewrite
http://wiki.blender.org/index.php/BlenderDev/Particles_Rewrite_Doc

The new particle system cannot be backwards compatible. Old particle
systems are being converted to the new system, but will require
tweaking to get them looking the same as before.

Point Cache
===========

The new system to replace manual baking, based on automatic caching
on disk. This is currently used by softbodies and the particle system.

See the Cache API section on:
http://wiki.blender.org/index.php/BlenderDev/PhysicsSprint

Documentation
=============

These new features still need good docs for the release logs, help
for this is appreciated.
2007-11-26 22:09:57 +00:00
Campbell Barton
a29f082728 new twig type that gives more even results - "Fill Twigs" option 2007-11-25 20:49:38 +00:00
Campbell Barton
b21df550d3 ==Python API==
made it possible to remove curves from python with "del curve[i]"
mesh_edges2curves.py - remove unused function.
2007-11-22 22:07:41 +00:00
Campbell Barton
a038363124 mesh_wire.py - gave an error with no faces,
wizard_curve2tree.py - didnt work with no bevel object
Curve.py - ext1, ext2 didnt reference the interface names.
2007-11-22 16:30:14 +00:00
Campbell Barton
0d6d89a27b wizard_curve2tree - mistake while debugging.
buttons_shading.c - short names for world settings were not needed.
2007-11-22 14:10:51 +00:00
Geoffrey Bantle
78ea4f3564 -> Updated FLT scripts
Blender FLT I/O scripts have been updated to have more features.In addition
several utility scripts/applets have been added to aid in working with FLT 
databases within Blender.

Documentation can be found here:

http://wiki.blender.org/index.php/Scripts/Manual/Import/openflight_flt
http://wiki.blender.org/index.php/Scripts/Manual/Export/openflight_flt
http://wiki.blender.org/index.php/Scripts/Manual/FLTools
2007-11-22 01:43:24 +00:00
Campbell Barton
413c24c746 initial support for leaves as duplifaces as well as some a bugfix for loading settings 2007-11-21 16:07:47 +00:00
Campbell Barton
307ad085fc wizard_curve2tree.py - always use active object (local view was messing up the context)
Mesh.c - mesh.faces.extend([..., smooth=True]) - smooth keyword argument, in a number of places was looping through all faces just to smooth them.
mesh_skin.py - smooth by default
2007-11-21 11:53:30 +00:00
Campbell Barton
3a8328784e made twig taper a float rather then a bool, added type conversion when loading settings. 2007-11-21 09:46:08 +00:00
Campbell Barton
aaba5d1a18 Update v1.0.11 from Migius
You can find the update v1.0.11 on http://wiki.blender.org/index.php/Scripts/Manual/Import/DXF-3D

changelog:
c4 added "analyse DXF-file" UI-option: print LAYER/BLOCK-dependences into a textfile
c3 human-formating of data in INI-Files
c2 added "caps" for closed Bezier-curves
c2 added "set elevation" UI-option
c1 rewrite POLYLINE2d-arc-segments Bezier-interpreter
b9 many bugs fixed
b9 rewrite POLYLINE2d-arc-segments trimming (clean-trim)
b8 added "import from frozen layers" UI-option
b8 added "import from paper space" UI-option
b8 support Bezier curves for LINEs incl.thickness(0.0-10.0)
b8 added meshSmooth_on for circle/arc/polyline
b8 added vertexGroups for circle/arc
b7 added width_force for ARCs/CIRCLEs = "thin_box" option
b3 cleanup code, rename f_drawArc/Bulg->f_calcArc/Bulg
b2 fixing material assignment by LAYER+COLOR
b1 fixing Bezier curves representation of POLYLINEs-arc-segments
b0 added global_scale_presets: "yard/feet/inch to meter"
2007-11-19 17:39:52 +00:00
Campbell Barton
80357d7f28 initial leaf support (need to use in production, at the moment its really simple)
Option to generate variation's - This modifies the original shape to make a variation on the original.
2007-11-19 14:00:48 +00:00
Campbell Barton
0b0542c785 typo in Text3d, weightpaint_invert wasnt working properly 2007-11-19 10:49:12 +00:00
Campbell Barton
cf60bf576b simple weight invert script for the weightpaint menu, removed a print from weightpaint_average.py 2007-11-19 10:17:55 +00:00
Campbell Barton
e0fb0a1783 wizard_curve2tree - more twig options
- gravity (like particles)
- follow parent (like gravity but use the parent normal)
- limit the number of twigs on each branch
- limit the radius that a twig may be placed on a branch
- trim the base of branches in a way that better deals with small branches on large branches
2007-11-17 01:17:23 +00:00
Campbell Barton
ad700ba24f * wizard_curve2tree.py - Automatic alpha blended, textured image joins using material textures and UV layers. Also added some detail options and made it easier to get low poly results.
* Mesh.c bugfix, "mesh.verts = None" didn't set the mesh->mselect pointer to NULL, wizard_curve2tree so would crash when in editmode.
* Texture.py - MTex.uvlayer doc was missing
* buttons_shading.c - Stencil tooltip was stupid.
2007-11-16 14:47:31 +00:00
Campbell Barton
07110e83fd - bounding meshes with loc/size/rot didnt work.
- better sorting of twigs (for recursive twigs)
- An option to lengthen child twigs.
2007-11-13 21:32:53 +00:00
Campbell Barton
1ece8b81cb - new UV scaling option works better for big/small branches.
- Can constrain twigs to only grow in a bounding mesh. And an option to prune twigs that grow out.
2007-11-13 16:50:43 +00:00
Campbell Barton
924f7e5146 Tree Wizard.
'Twigs' - branch's added to the existing, made from blending existing branches into new ones.

Some user settings for scale, orientation randomness, number of twigs and recursive twigs.
2007-11-12 23:19:33 +00:00
Campbell Barton
fe6d470dba added options to weightpaint normalize script
- armature only - so when using weight groups for other things only armature groups are affected,
- Active only - so you can normalize all weight groups
2007-11-12 20:02:36 +00:00
Campbell Barton
828eba4842 Loop in parents cant happen anymore, better dealing with segments with more then 4 children. print timing stats. 2007-11-11 21:14:44 +00:00
Campbell Barton
3a90b35db8 Undoing 'undo' fix 12365, it didn't work the same on mac's, Ton would like to fix the bug himself.
Tree From Curve,
- report error when nurbs or poly curves are used.
- don't throw errors when >4 branch's per segment are used. also try deal with this better. though no nice solution exists.
- default speed is 10x slower then before.
2007-11-11 15:18:53 +00:00
Campbell Barton
b7d3a8786a Rewrote the part that converted blenders curves into branches,
Was converting into a mesh and then doing location checks, to figure out what the radius should be and then interpolating. this was the slowest part of the script and it made a mesh every time.

Now use blenders bezier interpolation function and calculate points like blender does.

fixed a driver syntax error for the Z axis (typo)
2007-11-10 20:00:15 +00:00
Campbell Barton
250d473180 better segment collapsing (check for radius/angle difference)
remove vert groups from existing mesh when its being reused
2007-11-09 23:06:31 +00:00
Campbell Barton
57edc9f480 branch cap ends, UV scale options, Automatic update option added. as well as some bugs fixed. 2007-11-09 16:51:24 +00:00
Campbell Barton
42a2b662d3 saving and loading of settings per tree, also added a way to get unique animation using object locations in drivers 2007-11-09 12:19:10 +00:00
Campbell Barton
ddf2336084 curve2tree - animation settings - speed and magnitude
Python api - texture.evaluate can now accept tuples of numbers as well as vectors
2007-11-09 10:29:19 +00:00
Campbell Barton
95661081f9 tree branch bones can now animate using drivers that reference textures, so animation can be controlled from clouds, noise settings after being created. still need to add user preferences for animation speed and magnitude. 2007-11-09 01:35:00 +00:00
Campbell Barton
8e377cfe75 Branch's now have weights assigned to the mesh and an armature modifier applied so the bones effect the tree. 2007-11-09 00:05:15 +00:00
Campbell Barton
0da704af0d automatic armature generation follows branch's 2007-11-08 22:13:40 +00:00
Campbell Barton
3c3256c6f1 bug fix with trimming intersecting branches, added setting for branch joint smoothing. some speedups 2007-11-08 20:25:56 +00:00
Campbell Barton
4482f3b2e8 user interface added for 'Tree from curves' tool.
renamed Filter to Blur to Filter for #define as well
2007-11-08 15:41:11 +00:00
Campbell Barton
3275821759 (work in progress commit) - tree wizard, makes a subsurfed skin from curves. also adds UV's (and soon bones)
needs a user interface.
2007-11-07 21:39:23 +00:00
Campbell Barton
f25629932a ==Unfolder python script update==
Patch from Matthew Chadwick (celeriac) [#7603] fix for bug#7520
Replaced overlap detection code with code using Geometry.LineIntersect2D
2007-10-24 09:02:58 +00:00
Joshua Leung
6422a740c2 == Constraints System - Recode 2 ==
Once again, I've recoded the constraints system. This time, the goals were:
* To make it more future-proof by 'modernising' the coding style. The long functions filled with switch statements, have given way to function-pointers with smaller functions for specific purposes.
* To make it support constraints which use multiple targets more readily that it did. In the past, it was assumed that constraints could only have at most one target.

As a result, a lot of code has been shuffled around, and modified. Also, the subversion number has been bumped up.

Known issues:
* PyConstraints, which were the main motivation for supporting multiple-targets, are currently broken. There are some bimport() error that keeps causing problems. I've also temporarily removed the doDriver support, although it may return in another form soon. 
* Constraints BPy-API is currently has a few features which currently don't work yet
* Outliner currently only displays the names of the constraints instead of the fancy subtarget/target/constraint-name display it used to do. What gets displayed here needs further investigation, as the old way was certainly not that great (and is not compatible with the new system too)
2007-10-21 23:00:29 +00:00
Campbell Barton
8bcfafa3d9 changed default nan_definitions.mk to use python 2.5 for linux (ai64 default was py 2.2 which probably wont even compile anymore)
pose.c - left a print here
export obj would ask about file overwriting twice.
2007-10-21 17:38:17 +00:00
Campbell Barton
d7fa5ab168 python console, removed word wrap - was far too slow
when console_autoexec.py wasnt present, the standard blender import wasnt executed.
2007-10-20 19:47:19 +00:00
Campbell Barton
e9c2aa691e updated pyconstraint template from nathan (cessen) which exposed some
bugs with pyconstraints, also added a missing decref from python (wasnt freeing the return value from the settings 
button).
2007-10-15 15:28:09 +00:00
Kent Mein
34200718db This fixes make release so that it does not package .svn dirs with the
build.
This is bug [#7387] Release files pack the .svn metadata directories

I took a breif look at the scons files and it looks like it has a fix
for them already.  It would be great if someone that uses scons could
just do a quick double check and let me know if there are problems with it
and or just fix whatever slips through.

Kent
2007-10-12 16:28:19 +00:00
Campbell Barton
1fde6d4570 Made the remaining UV py scripts work with editmesh now.
DrawShadow option didnt check the final derived mesh had CD_MTFACE's can would crash when enabled with mirror modifier.
2007-09-24 09:40:09 +00:00
Campbell Barton
aee06ac0d0 added an active face for the mesh editmode and normal mesh - this is needed because the TFace flag was not always easy to access from editmode.
using the last selected face was almost good enough however when selecting verts and edges the last selected face would become inactive and the space image would flicker about too much.
The active face is used for getting the space image at the moment and keeps scripts that use this flag working also.

This has 2 commands to get and set, so the variable is not accessed directly.

all "UV Calculate" scripts work now

last commit crashed when in solid draw mode, it seems subsurf modifier is ignoring the displayMask since MTFACE is available. just made it do a null check for now.

uvcalc_follow_active_coords.py - should be done inC and put in the snap menu.
2007-09-22 17:54:13 +00:00
Campbell Barton
0ed3e0bb4f made sticky UV editing options more accessible by adding them to a popup in the header.
Changed how the sticky setting is stored in DNA - (as a char rather then 2 flags).
replaced the UV/FACE icon with another needed for the sticky menu.
removed 2 unused icons.

commented the UV transform panel since it only had 2 buttons in it.

depgraph update calls needed to be added to Ctrl+V/E/F menu's because some commands were crashing.
2007-09-22 06:58:40 +00:00
Campbell Barton
2f46df39b4 meshes with no faces would raise an eror when setting their .faceUV to true. 2007-09-19 09:15:16 +00:00
Kent Mein
cea4524d09 Updated make release so that it adds in python version info:
blender-2.44-linux-glibc2.5-x86_64.tar.bz2
is now:
blender-2.44-linux-glibc2.5-x86_64-py2.5.tar.bz2

I know know the same as scons builds but its cleaner with the Makefiles
this way.  I could make it like the scons versions but will be more hackish

Kent
2007-09-12 20:31:13 +00:00
Campbell Barton
722fe627bc udates from stable 2007-09-11 10:22:00 +00:00
Martin Poirier
1f0b07c37b Version bump to 2.45 and splash screen for stable release 2007-09-10 16:29:31 +00:00
Campbell Barton
64019f709b update from stable 2007-09-08 12:09:51 +00:00
Campbell Barton
d18d0aaabb fbx update from stable (parent/child hierarchy isnt flattened anymore) 2007-09-08 08:49:56 +00:00
Campbell Barton
40c0b37a2a update from mingus 2007-09-07 23:33:30 +00:00
Campbell Barton
f85cd06873 When Optimize keyframes was enabled, the comma's wernt written in the right place, oddly enough this still loaded in the FBX SDK. 2007-09-07 00:36:56 +00:00
Campbell Barton
9eb46e47fc constant name was wrong. possibly changed between blender versions 2007-09-05 01:02:03 +00:00
Andrea Weikert
356ab94373 == imagebrowser ==
Initial commit of imagebrowser in trunk.
BIG COMMIT!

Main changes:
* completely reworked imasel space
* creation and storage of the preview images for materials, textures, world and lamp
* thumbnails of images and movie files when browsing in the file system
* loading previews from external .blend when linking or appending
* thumbnail caching according to the Thumbnail Managing Standard: http://jens.triq.net/thumbnail-spec/
* for now just kept imasel access mostly as old imgbrowser (CTRL+F4, CTRL+F1) a bit hidden still.
* filtering of file types (images, movies, .blend, py,...)
* preliminary managing of bookmarks ('B' button to add, XKEY while bookmark active to delete)

More detailed info which will be updated here: http://wiki.blender.org/index.php/User:Elubie/PreviewImageBrowser

Places that need special review (and probably fixes):
* BLO_blendhandle_get_previews in readblenentry
* readfile.c: do_version and refactorings of do_library_append
* UI integration

TODO and known issues still:
* Accented characters do not display correctly with international fonts
* Crash was reported when browsing in directory with movie files
* Bookmark management still needs some UI work (second scrollbar?), feedback here is welcome!

Credits:
Samir Bharadwaj (samirbharadwaj@yahoo.com) for the icon images.

Many thanks to everyone who gave feedback and helped so far!
2007-09-02 17:25:03 +00:00
Campbell Barton
6c0893947b * dupli-objects were not exporting (animated dipli's and armatures that are dupli's still dont work)
* added support for exporting blenders groups (will export groups that any of the selected objects are apart of)
2007-08-30 17:16:09 +00:00
Campbell Barton
f386120411 sync with stable 2007-08-29 19:53:49 +00:00
Campbell Barton
c96cde42bd Objects can now be animated (camera paths, lamps etc)
However meshes that use an armature cant use object animation.

faster exporting for non modifier applied, armature meshes (transform all verts using wrapped C func)
2007-08-29 09:50:08 +00:00
Campbell Barton
1d43cae37b * added a bindpose (3ds max was complaining)
* export materials emit value
2007-08-29 05:42:39 +00:00
Campbell Barton
99493ef6d9 * added some missing tooltips
* made name string cleaning function allow chars ,.()[]{} in fbx model names
* clamped export lamp intensity to 200
* each mesh only links to the image-textures it uses. (before it linked to ALL textures)
* added support for AllSame mapping, this means when a material or texture only uses one, a single mapping index can be given rather then a big list with the same value in it.
* improved material and texture mapping method
2007-08-29 03:56:22 +00:00
Campbell Barton
18478d1e62 scaling the model by 10 by default didnt work for some people, scaling 1.0 by default for now. 2007-08-29 00:10:23 +00:00
Kent Mein
4e2143f639 This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone.
Patch provied by gsrb3d

bug tracker #7061

Kent
2007-08-28 10:07:08 +00:00
Campbell Barton
2b8a8b0508 left in test, should not be working when tired. 2007-08-28 08:54:29 +00:00
Campbell Barton
3049b89e36 thaught Id run the colbits test but that part wasnt running, tested and error fixed now. 2007-08-28 08:30:37 +00:00
Campbell Barton
a20071a195 * texture indicies were exported incorrectly
* copy textures didnt work
* Export blenders ClampX/Y settings
* removed unneeded imports
2007-08-28 05:32:00 +00:00
Campbell Barton
13ad2de90a Fixes
* material indicies were incorrectly exported
* export object materials using colbits
* scaled armatures would scale bones twice
* scenes with no world would raise an error

Additions
* added options for global scaling and rotating, defaults will load correctly in MotionBuilder
* modifiers can be applied to skinned meshes, the armatures are set to their rest positions for python to get the un-deformed mesh. This makes exporting a mesh with subsurf and armature applied work as expected.
* meshes with parent bones are exported as weighted meshes.
* use lamp modes for cast light and cast shadow FBX settings.
* batch exporter, scenes or groups can be exporter to a file each.
* help button to load the wiki exporter page.
2007-08-28 02:11:49 +00:00
Campbell Barton
ba6f02fb29 cleanup and fixed more problems with namespace collisions (should be all solved by name) 2007-08-26 01:35:03 +00:00
Campbell Barton
0cfe5527b0 fix from stable - if modules cant be imported- popup an error rather then nasty python message 2007-08-24 21:52:56 +00:00
Campbell Barton
a28bd3adb1 armature animation is not messed up when the mesh and armature objects have transformation.
python 2.4+ without any modules should work.
python 2.3 should work now also (need to import the sets module).
2007-08-24 12:13:34 +00:00
Campbell Barton
bba7506598 own dumb mistake missing a return 2007-08-24 11:57:26 +00:00
Campbell Barton
45cbafe08d fbx export update
* normalize bone weights (deep exploration 5 assumed they were normalized and does crazy stuff otherwise)
* fixed some mistakes in last commit.
2007-08-24 07:07:18 +00:00
Campbell Barton
f51acfb724 FBX export update
* added a user interface
* added support for exporting multiple actions as FBX's 'Takes'
* added support for one armature effecting multiple meshes
* added support for multiple armatures (bone names wont have namespace collisions)
2007-08-23 16:34:15 +00:00
Campbell Barton
567e634253 obj export had the overwrite confirmation commented out from testing, UIBlock needed to clear the events so tooltips show. 2007-08-21 19:37:03 +00:00
Campbell Barton
798001556a FBX armature + mesh + weights works now.
So it can be used to export walk cycles etc.
Animated armatures also work (import BVH and export as FBX for instance)

Pose data is transformation is key'd on every frame at the moment, so IK's and constraints are applied but blenders keyframes are not used.

at the moment one armature applied multiple meshes wont work properly and armatures cant have transformation.
2007-08-20 23:38:39 +00:00
Campbell Barton
4ef547a79d path seperator check was wrong 2007-08-19 23:49:48 +00:00
Joilnen Leite
32c5a5cee9 fixing mute ipo icon 2007-08-19 16:24:52 +00:00
Joshua Leung
982d45162b == PyConstraints ==
I've added the ability for PyConstraints to define a function (doDriver) that is able to directly modify values of the owner/target, so that certain setups can be created reliably. Users should take note that this is against the basic concept of what a constraint does, and that under no circumstances may they set the values of any variables controlling the transforms. For more details, check out the information in the PyConstraint template script.

I've also updated PyConstraints to be aware of geometry targets. The script template has been updated with this information.
2007-08-18 06:17:50 +00:00
Campbell Barton
7cf316a037 initial support for baked bone animation - works for simple tests 2007-08-15 00:48:33 +00:00
Campbell Barton
fb985daf01 move mesh_vgroup_average to the weightpaint menu and rename. also added an option to add the active weight group or all groups.
- fix from 2.44 so makeDisplayList updates 3d text
2007-08-12 06:14:33 +00:00
Campbell Barton
0d5f195ba7 left a print in and didnt account for no vgroups BPyMesh also had an error when meshWeight2List was called on a mesh with no vgroups 2007-08-12 01:38:12 +00:00
Campbell Barton
35c2498a40 script submitted by Johnny Matthews (guitargeek) - but I rewrote to make use of some existing functions in BPyMesh.py
This averages the weights of vert groups per island (based on face connectivity)
Nice for making scales and works well with new dual-quat interpolation
2007-08-12 01:30:14 +00:00
Campbell Barton
9776f489e6 Mesh.c - getVertFromGroup ~25% speedup.
export_fbx.py - initial support for bones applied to weighted meshes.
2007-08-09 13:34:44 +00:00
Campbell Barton
b3eb06f8a9 * added armature (bones) support to the fbx exporter. Only rest state, no animation yet.
* fix for PLY from 2.44
2007-08-06 20:20:20 +00:00
Campbell Barton
c6785e3292 fixes from 2.4x 2007-08-03 16:33:08 +00:00
Campbell Barton
f707382e1e misc changes from stable 2007-08-01 18:04:44 +00:00
Campbell Barton
311d7e31cc minor changes from stable 2007-08-01 10:19:16 +00:00
Campbell Barton
8b127a9bc1 this importer tried to be smart by splitting quads that were not planer. - This is not somthing an importer should do and a user was having problems importing meshes to subsurf from lightwave.
also some other updates, and small cleanup.
2007-07-30 02:24:17 +00:00
Martin Poirier
becc4feb5f Fix for #6946 Save UV layout broken for large wire sizes
This also helped me pinpoint a couple of off by one errors in the UV rasterizing code. One especially noteworthy was that all UV at 1.0 (on the 0..1 scale) didn't render properly.
2007-07-23 01:12:07 +00:00
Campbell Barton
dfa6e0b8d6 bugfix's for 6917 and 6913 - Both were because I forgot to check all other selected meshes for faceUV's
Also made image_auto_layout.py use blenders internal boxpacking rather then the slower python one.
2007-07-09 17:33:38 +00:00
Kent Mein
a47f3f2f82 I cleaned up make release a little bit, now
its not hard coded if it trys to do a static build or not.  It
uses the same vars that decide if your building a static blender to
determine if it should make a static package.

I also found a typo on OSX for make release and thats fixed now

Kent
2007-07-06 18:20:48 +00:00
Joshua Leung
4e1fcd42cf Icons Bugfix:
Remove a single annoying 1x16 unwanted pixel column from one of the icons I added earlier today.
2007-07-03 11:53:17 +00:00
Joshua Leung
b6ccafc501 == Action/IPO Mute Icons ==
Added new defines for the icons used to show this, on the request of Matt Ebb. For now, the eye icons have simply been duplicated to the new spaces, but 'more descriptive' icons should be made.
2007-07-03 01:23:30 +00:00
Campbell Barton
5610ac067b edits from zanqdo as well as randomize on single axis was broken.
and some other minor tweaks from me
2007-07-01 08:08:16 +00:00
Nathan Letwory
83c65e71e8 * adds EmptyMesh to the menu 2007-06-28 08:33:04 +00:00
Chris Want
e3ed38be6b For a texture, write out the Image.filename instead of Image.name. 2007-06-18 20:03:23 +00:00
Joshua Leung
9a4c02c51d == PyConstraints - Script Template ==
Here is a script template for the "Script Templates" menu in the Text Editor. It provides you with the necessary functions for a PyConstraint set up, and also includes descriptions on what is required in each function.
2007-06-18 11:36:05 +00:00
Campbell Barton
d1959e51b2 was missing editmode exit in script template 2007-06-10 17:28:21 +00:00
Campbell Barton
22e6e836fa bugfix for [#6818] object_find.py assumes active uv layer is set
was assuming meshes had UVs
2007-06-10 04:10:25 +00:00
Campbell Barton
b0921f3d79 exporting normals wit the "High Quality Normals" option disabled, exported localspace normals.
not too bad since HQNormals were enabled by default.
2007-06-06 04:34:59 +00:00
Campbell Barton
f368b60baf OBJ smooting groups exported enabled for by default for the first smooth group (should have been disabled)
gen_library.c - Own error, hashing did not decref the tuple it created.
Draw.c - callback also missed a decref
2007-06-04 08:15:27 +00:00
Nathan Letwory
8b2a129294 === SCons ===
* Finally cleaned up the NSIS installer creation process
  This is now a proper action and command, with simple printout
  The 'nsis' target (only on Windows) now properly depends on
  all the build process, and will be done as very last.
* Make LZMA (Solid) default compressor for installer (= the best)
2007-05-31 11:15:47 +00:00
Campbell Barton
6057ab05f0 Updated this script not to choke on some blank lines (example file from Lekane)
Also removed the use of list.index() all over the place where the index was known. (saves searching the file and the possibility of duplicates messing it up)
2007-05-31 06:12:09 +00:00
Campbell Barton
7585adc8cc Script from Gerhard for exporting blender to m3g and java source,
see website for examples
http://www.nelson-games.de/bl2m3g/default.html
2007-05-29 21:39:29 +00:00
Campbell Barton
9fec189e7a remove xreadline, some other small updates (testing new svn) 2007-05-29 04:15:45 +00:00
Campbell Barton
288631d215 lamp import was broken. 2007-05-28 17:52:53 +00:00
Martin Poirier
d9e85385fd === Patch ===
[#6666] Updates to UV layout export script

Moving from NMesh API to Mesh
2007-05-27 14:42:17 +00:00
Campbell Barton
deffce3c19 Key.c/h - Removed unneeded functions. and ipo in struct wasnt being used.
Lattice.c - removed warning
Mesh.c - (own error) when running me.update(key="...") didnt update the right keyframe.

mesh_cleanup.py - Bugfix from a report by plumiferos that started uncovering all the memory leaks.
Removing NAN verts didnt work with mesh keyframes.
2007-05-26 12:58:46 +00:00
Campbell Barton
7df1d78a99 renaming to match JMS's names 2007-05-21 16:01:49 +00:00
Campbell Barton
ae5c665abe updated rvk1_torvk2 from JMS and added GPL headers 2007-05-21 15:26:50 +00:00
Joseph Eagar
e176e471f1 =IDProperty Script GPL Update=
ID Property browser script updated to have a GPL license block.
Heh I can't believe I forgot this. :)
2007-05-20 21:40:57 +00:00
Campbell Barton
3efeff7666 adding GPL headers 2007-05-20 17:30:30 +00:00
Campbell Barton
c81fbce399 I added a duplicate script, not realizing "Python Reference" was refering to "Blender Python API"
removign the other one anyway since it would make URL's including subversions and I dont think we want that.
2007-05-20 12:29:19 +00:00