Commit Graph

53000 Commits

Author SHA1 Message Date
Ken Hughes
0fab573205 ===Python API===
Bugfix: epydocs for World API incorrectly described settings for getMode(),
setMode() methods.
2006-05-27 16:40:00 +00:00
Ken Hughes
755f5ce070 Fix spelling error in tooltop. 2006-05-27 15:54:17 +00:00
Ton Roosendaal
e5b39b69d1 So! Finally time to work on finishing render pipeline project.
This commit brings back:

- Field Render
- MBlur Render (old style)
- Border render with or without cropping

Note: Field Render is not supported in Compositor yet. Blurring or filter
will destroy field information.
Both MotionBlur as Field render are done before Compositing happens.

Fixes:

- The "Save Buffers" option only worked on single frame renders, not for
  Anim render.
- Found an un-initalized variable in Render initialize... this might have
  caused the unknown random crashes with render.

Code restructure:

Cleaned up names and calls throughout the pipeline, more clearly telling
what goes on in functions.
This is visible in the updated first image of the Wiki doc:
http://mediawiki.blender.org/index.php/BlenderDev/RenderPipeline
2006-05-27 13:35:03 +00:00
Joseph Gilbert
dee16b9e3d * bug fix
[ #4228 ] Blender.Image.Load(filename) loads only on the first loading
- Image.Load() will now reload the image buffer when a image of the same name is loaded again
- small textual change in render code
2006-05-26 15:28:04 +00:00
Alexander Ewering
b4861110da Slight simplification of windowtype_pup()... 2006-05-25 22:00:12 +00:00
Joseph Gilbert
2132bbb621 *python fix
- save_rendered_image_cb_real has a popup window embedded in it that prevents automation through python as a result python scripts would get a popup which is ignorned by the script
- modified so python scripts overwrite the image by default
2006-05-25 21:34:00 +00:00
Joseph Gilbert
2a6952f386 - bug fix
* C uses braces unlike python :/
2006-05-25 21:13:13 +00:00
Joseph Gilbert
1b577b7f0d *python documention & bug fix
- added documentation to Render - saveRenderedImage has an option to save the zbuffer along with the image
(off by default)
- fixed a really annoying runtime error of uninitialized data being passed to a method in pipeline.c during a render
2006-05-25 21:10:28 +00:00
Joseph Gilbert
af87c651a5 *python fix
- fixed Render.saveRenderedImage() so now it works once again
(it was broken since render refactor)
2006-05-25 20:47:17 +00:00
Joseph Gilbert
d8d720ed3a * update for projectfiles vc7
- added python files
- fixed a small C coding error in vpaint preventing windows builds
2006-05-25 19:18:04 +00:00
Ken Hughes
da31dfe603 Remove dead code in add_primitiveMesh(), left after UV Sphere was made
to aligns with view.
2006-05-25 18:28:51 +00:00
Ken Hughes
8fb3373a78 ===Python API===
Ok, now let's try making the Mesh Primitives documentation accessible.
2006-05-25 17:00:17 +00:00
Ken Hughes
48033e00c4 ===Python API===
Fulfilling a very old feature request: a new Mesh Primitives module is
introduced, which gives script writers access to the Blender mesh datablocks
created from the "Add->Mesh" menu.  You can now do this:

  from Blender import *

  me = Mesh.Primitives.UVsphere(10,20,3) # 10 segments, 20 rings, diameter 3
  ob = Object.New('Mesh','mySphere')
  ob.link(me)
  sc = Scene.GetCurrent()
  sc.link(ob)
2006-05-25 16:45:24 +00:00
Jiri Hnidek
1b2d9b5ade Bugfix:
Ubuntu users can set up locales again (propably some other linux distros
 had same problem)
2006-05-25 15:36:38 +00:00
Campbell Barton
9659cdda80 fix a bug in vpaint when changing scenes,
ob= OBACT;
if (!ob->id.lib) return;

Doset account for OBACT being null, this probably exists in other ares too.
2006-05-25 14:24:22 +00:00
Erwin Coumans
46a98446a4 added a stub for multitex_ext, returning the year I was born ;-) 2006-05-25 14:18:48 +00:00
Ton Roosendaal
44806b034b Plumiferos fix: Material option "Env" did not mask out Ztransp faces in OSA 2006-05-24 18:26:54 +00:00
Ton Roosendaal
9c4f7c1032 Plumiferos fix; having more than 64 Shape Keys didn't allow the channels in
IpoWindow to select.
2006-05-24 17:15:26 +00:00
Ton Roosendaal
b67eac2cfd Removed annoying debug print that checked preview render size while doing
previews in Nodes.
2006-05-24 12:10:28 +00:00
Ton Roosendaal
12a6cd486f Bugfix #4213
Using "Fresnel" for transparency only worked when material had "ZTransp"
set. That's not a real problem, but it made Fresnel not work for Materials
used in Nodes.
Now a Fresnel on alpha works always.
2006-05-24 12:07:54 +00:00
Ton Roosendaal
7198a6cf66 Bugfix #4211
"Copy Modifiers" (CTRL+C) only copied a single modifer, when a specific
type was choosen. Now it copies all modifiers with indicated type.
(Like: when you have a X, Y, Z mirror modifier).
2006-05-23 17:49:21 +00:00
Alexander Ewering
2114b63d32 Fix underlining for text objects to use correct material index (and prevent
renderer from crashing).
2006-05-23 15:11:08 +00:00
Ton Roosendaal
e5791fb40e Bugfix #4214
Dependency order issue: Camera view was calculated before Camera Object
got evaluated for dependency changes, causing lags.
2006-05-23 14:57:40 +00:00
Ton Roosendaal
ebe2958559 Bugfix #4212
Material Nodes: The Texture node didn't do the standard "2d mapping" yet
in case an Image Texture is used. Caused wrong mapping for example for UV
coordinate inputs.
2006-05-23 14:15:07 +00:00
Stephen Swaney
8aeaf82a67 set locale to POSIX so regex works on platforms that set funny
locales.  needed to make "ls [A-Z]*.py" work properly.
Setting LC_ALL=C may be a better choice than LC_ALL=POSIX.
We shall see.
2006-05-23 02:27:22 +00:00
Erwin Coumans
ab71e2a9b5 -added basic support for GameActuator 'load game', relative paths were broken, just load file into memory and load blend from memory.
-near sensor support
- python binding for PhysicsConstraints.setNumTimeSubSteps (dividing the physics timestep to tradeoff quality for performance)
2006-05-22 21:03:43 +00:00
Ken Hughes
677cf7f133 ===Python API===
Adding support for Action Strips to the API.  A new attribute "actionStrips"
has been added to the Object API to access them.
2006-05-22 14:19:52 +00:00
Matt Ebb
a849ba8189 * Disabled the Shift-Space window maximise shortcut while within text object edit mode 2006-05-22 07:07:19 +00:00
Matt Ebb
7706d2e40f * Made the editmode text cursor draw inverted, so you can actually see where it is on a black background 2006-05-22 05:52:48 +00:00
Martin Poirier
f849384fcd === Python API ===
Fixes for the bug introduced by my other commit the other day.

Blender.Draw.Create now does proper error checking.
2006-05-22 01:59:28 +00:00
Joseph Gilbert
58648f0ed2 python documentation update 2006-05-21 21:04:21 +00:00
Joseph Gilbert
023737daa4 *python additions
- added a method Action.getFrameNumbers()
returns the frames at which keyframes were inserted for this action

example usage:
import Blender

myobj = Blender.Object.Get('Armature')
myaction = myobj.getAction()
frames = myaction.getFrameNumbers()

for frame in frames:
	print 'bones at frame %d' % frame
	myobj.evaluatePose(frame)
	pose = myobj.getPose()
	for bone in pose.bones.values():
		print bone.head, bone.tail
2006-05-21 21:02:29 +00:00
Ton Roosendaal
f13d63ca48 Brought back the Scene strip in Sequencer. Even does a full composite with
only images input in compositor. Currently still renders in the scene's
own resolution. It also doesn't show scanline/tile updates yet while
rendering.
2006-05-21 20:59:54 +00:00
Campbell Barton
33c0ebbc8e Intergrated select group editmode into the menus and re-shuffled the Mesh tool buttons to fit a threshold value in.
also changed the way areas/perimeter and lengths are compared so it will be indipendant of scale.
2006-05-21 17:12:10 +00:00
Peter Schlaile
2f4b5dbab2 ==FFMPEG==
Bugfix: Don't draw mux_rate and max_rate output buttons on the same
screen position. (Never noticed, always used presets... )
2006-05-21 14:32:05 +00:00
Peter Schlaile
3874f7cd97 ==FFMPEG==
Bugfixes: If we got problems on open, don't close a codec context, that
was never created. (read: don't dump core ;-)
2006-05-21 12:20:45 +00:00
Ken Hughes
f3ae4d0f4d ===Python API===
Something to try making import/export script writers happy; Mesh.New() will
not create a new Blender mesh datablock unless the mesh is linked to an
object.
2006-05-20 16:52:11 +00:00
Martin Poirier
befd007511 === Python API ===
Blender.Draw.ColorPicker

	Enables scripters to use a color picker in there scripts.

See this file for a trivial demo: http://blenderartists.org/~theeth/colorpicker.blend
2006-05-20 15:44:14 +00:00
Erwin Coumans
6d3afda093 added fixed_framerate command line option 2006-05-19 22:55:12 +00:00
Joseph Gilbert
2cd91acf37 *python addition
- modified the repr for beztriple to print less non-sensical output
- beztriple now prints its handles and control point only
2006-05-19 21:45:27 +00:00
Peter Schlaile
069e83be53 ==FFMPEG==
Bugfix: FFMPEG-Codec Preset now changes values immediately. (One has to set B_REDR on the menu-button,
allqueue alone doesn't do the job...)
2006-05-19 17:39:44 +00:00
Campbell Barton
1022107236 Image and Draw wernt converting the paths of an image properly.
Getting teh size of an image with a relative path "//foobar.png" would always fail.
2006-05-19 15:33:23 +00:00
Peter Schlaile
33b8aba3e3 === Sequencer ===
Bugfixes:
- Made the HDD-Audio-Code silence buffers in advance before doing a seek
  operation. Stops noise on end of file or decoding errors.
- Corrected hanging of audio decoding loop bug on some MP3-files.
  (you had to close blender and restart)
- Made preseeking code not seek before beginning of file.

seqaudio:
- made some "local globals" static.

Problems remaining: VBR-MP3-length isn't detected correctly so the
displayed sequence strip is too long...
2006-05-19 13:30:23 +00:00
Ton Roosendaal
18bcef6777 Plumiferos bug report; duplicating strips with effects crashed.
Was in new code that handlerized callbacks... leaving function pointers
unassigned. Dubious code... I would NULL everything first before filling.
2006-05-18 19:42:47 +00:00
Nils Thuerey
24c3187afe - fixed geometry init problem (stupid, forgot to call reset function) 2006-05-18 13:52:49 +00:00
Chris Want
a0fdbf1c18 Added Blender.Get('rt') so that the pythoner can access the value
of the rt button for setting debugging levels.
2006-05-17 16:42:04 +00:00
Ken Hughes
18b622ca6b ===Python API===
Change code for rigid body access to use attributes instead of methods; also
add documentation to epydoc.
2006-05-17 16:08:54 +00:00
Jens Ole Wund
922cc48f15 #4201 the second
humm .. a bit more testing showed AVI codecs want it 2 byte aligned
found nothing in MSDN Library about that
2006-05-17 11:31:12 +00:00
Alexander Ewering
3417378a3a Fix a buffer overflow in Blender.sys.splitext. It was checking for bounds
(although it did this one char too 'friendly'), but still happily copying
the string even if it was too long.

Pythoneerz, please check if this is the correct fix :)
2006-05-17 10:09:20 +00:00
Erwin Coumans
e41b683605 Ghost can be any bound type in Bullet, so removed the edit restrictions 2006-05-16 23:49:44 +00:00