Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 4832 / 5574

November 6, 2008, 18:49 (GMT)
Bugfix #17524

The problem is that the audio_fill_seq function try to load the hd file
if the sequence don't have it, but it join the two string (directory path +
file path) without the / (Linux... Windows), so the result is a wrong path.

I change the the strncpy and strncat function for a BLI_join_dirfile (like
the reload_sequence_new_file) and all work fine now.

Also note that the "them go" that Luca report is (or what happen here) the
ctrl+z function, and now both case work fine here.

(interesting.. date from Feb 05.. 2006 ;)

November 6, 2008, 16:01 (GMT)
VideoTexture: fix compile error when FFmpeg is disabled.
November 6, 2008, 08:01 (GMT)
WIP commit before some optimizations,
fix for possible divide by zero.
added BarryCentricWeights2f(), returns weights for points outside the triangle.
November 6, 2008, 03:31 (GMT)
Sketch Retargetting: template selection from dropdown (listing all other armatures) instead of silly object name input.
November 6, 2008, 02:08 (GMT)
added support for smear brush type
November 6, 2008, 01:30 (GMT)
merging 17300:17342
November 6, 2008, 00:28 (GMT)
* While making changes to btools.py and Blender.py, I completely forgot about the name changes.
Here they are.

Platform managers, double check that the compiler flag options still work.
November 5, 2008, 23:24 (GMT)
support for brush blend modes (Mix, Multiply, Darken etc)
November 5, 2008, 23:23 (GMT)
Change remaining Copy() to Clone()
November 5, 2008, 22:27 (GMT)
painting onto multiple images wasnt working, faces with different images are treated as seams even if their UV's match.
November 5, 2008, 21:53 (GMT)
VideoTexture: new VideoTexture.ImageFFmpeg to load and reload images.

The FFmpeg library allows to load image files. Although it is possible
to load images using the VideoFFmpeg class, it is not very efficient.
The new class VideoTexture.ImageFFmpeg is dedicated to image management.

Constructor:
-----------
VideoTexture.ImageFFmpeg('image_file_name')
Opens the file but does not load the texture yet.
The file name can also be a network address. It can also be a video
file name; in that case only the first image is loaded.

Methods:
-------
refresh(True)
Loads the image to texture.
You just need to call it once, the file is automatically closed after
that and calling refresh() again will have no effect.

reload('new_file_name')
Reloads the image (if new_file_name is omitted) or loads a new image.
The file is opened but the texture is not updated yet, you need
to call refresh() once to load the texture.

Attributes:
----------
status
returns the image status:
2 : file opened, texture not loaded
3 : file closed, texture loaded

image
returns the image data as a string of RGBA pixel

size
returns the image size [x,y]

scale
get/set the scale flag.
If the scale flag is False, the image is rescale to texture format
using gluScaleImage() function, slow but good quality.
If the scale flag is True, the image is rescaled using a fast but
less accurate algorithm.

flip
get/set Y-flip flag.
Set to True by default as FFmpeg always provides the image upside down

filter
get/set filter(s) on the image.

Example:
November 5, 2008, 20:15 (GMT)
Sketch retargetting. Templating from other armature objects.

Moving stuff home, saving doesn't work ok yet, will finish this later today, demo video when done.

Also a couple of bug fixes for crashing and some text reformulation and the like.
November 5, 2008, 17:38 (GMT)
VideoTexture: fixing a crash when loading an image as a video file - yes it works, provided that you don't set repeat and also no need to refresh all the time.
November 5, 2008, 15:11 (GMT)
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r17279:HEAD
somehow scripts line endings change is messing things up, these changes wont be included
error is:
svn: File 'release/scripts/scripttemplate_metaball_create.py' has inconsistent newlines
svn: Inconsistent line ending style
svn: Error reading spooled REPORT request response

November 5, 2008, 14:45 (GMT)
projection painting clone tool - gives a similar work flow to cloning in the gimp, Ctrl+Click to set the cursor source, then paint from this location.

todo...
* pixel interpolation.
* clone option can currently only be set from the image paint panel.
* only initialize clone pixels under the mouse.
* overlap between source/target while painting could cause problems. need to look into this.

also fixed some cashes in painting normally.

November 5, 2008, 13:22 (GMT)
VideoTexture: Add support for GLSL. FIx small printout bug in Exception printout
November 5, 2008, 11:42 (GMT)
uniform end-of-line format and set svn:eol-style property to "native" for all scripts
November 5, 2008, 05:08 (GMT)
error in last commit, scanlines had extra offset causing overlapping lines between faces without seams
Revision 633e3e1 by Matt Ebb
November 5, 2008, 04:48 (GMT)
* Updated the 'Consolidate into one image' script to support alpha
November 5, 2008, 03:12 (GMT)
fix for pixels not being drawn in 2 cases.

1 issue was caused by detecting 2d horizontal line intersections for lines that had points equal to the horizontal Y value - solved by detecting point on line cases.
Another was because the 2D bounding box for painting could have faces edges running along it - solved by adding a small margin to the bounding box.


Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021