Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 5248 / 5574

March 20, 2006, 16:53 (GMT)
Cineon/DPX export didn't survive when Blender gave it negative colors.
Was missing test for it before turning it into unsigned short.
March 20, 2006, 16:24 (GMT)
Fixed an error in the help printout and set out the formats that are not supported on all os's.
Revision 4fcd190 by Ken Hughes
March 19, 2006, 20:45 (GMT)


Fix various gcc warnings.
March 19, 2006, 20:14 (GMT)
Threshold for non-flat quad detection was too wide still. Causing errors
of quads filling in in octrees...
March 19, 2006, 17:50 (GMT)
More environment map stuff:

- added a zoom factor for Planar Environment Map, allowing to zoom in or
out on the reflected object. The zoom is corrected when rendering, so it
just gives control over the resolution.
- Planar maps don't cycle anymore, but only render the front plane, using
standard image texture extend mode.
- threaded rendering is back in envmap render
March 19, 2006, 16:36 (GMT)
=== fileseletor ===

patch #2554: My Documents and Desktop folder automaticly added to the Folders
pulldown of the filesector

Only affects Windows builds.

Uses shell functions to correctly get the My Documents and Desktop folders and
then add them to the fsmenu, right below the drive letters.

Needs shell32.lib linked, which is already linked by default for VS7 project files.
Platform maintainer please check if it has to be added to scons and MSVC6 project files.

Patch provided by Martin Poirier (theeth) - many thanks!
March 19, 2006, 16:25 (GMT)
Added a way to set the renderpath (dir and name) from the command line.
eg
Blender -b c:blendstest.blend -o "c:rendersrender_#.png" -x 0 -F PNG

-x 1/0 for extension enable/disable
-F for format/filetype

This is important because somebody elses Blend files can render anywhere on your PC, possibly a security risk.
And nice for renderfarms to be able to set the path without running a python script inside the blend file.

blender --help (render opts only)
Render options:
-b <file> Render <file> in background
-S <name> Set scene <name>
-f <frame> Render frame <frame> and save it
-s <frame> Set start to frame <frame> (use with -a)
-e <frame> Set end to frame (use with -a)<frame>
-o <path> Set the render path and file name.
Use // at the start of the path to
render relative to the blend file.
Use # in the filename to be replaced with the frame number
eg: blender -b foobar.blend -o //render_# -F PNG -x 1
-F <format> Set the render format, Valid options are..
TGA IRIS HAMX FTYPE JPEG MOVIE IRIZ RAWTGA
AVIRAW AVIJPEG PNG AVICODEC QUICKTIME BMP
HDR TIFF EXR MPEG FRAMESERVER CINEON DPX
Use // at the start of the path to
-x <bool> Set option to add the file extension to the end of the file.

Added details to the -v option
Eg
blender -v
Blender 2.41 Build
build date: 2006-03-20
build time: 16:16:34
build platform: linux-glibc2.3.6-i386
build type: dynamic

Also fixed bugs where nagative/realy big frames could be set- causing Blender to crash.
March 19, 2006, 15:16 (GMT)
Bugfix in environment mapping: Ztransp and Halo didn't show up. Bug is
there since the Render refactor of early january.
March 19, 2006, 14:26 (GMT)
Added option to only render a single side of an Environment map cube,
allowing to use it for planar mirrors. Enable it with the new "Plane"
option in the Environment Map Panel.

Current default is to render the cube side that points to the positive
Z axis direction. To make it work, it uses the same image for all
other cube sides, so it will 'wrap around'.

Also made maximum resolution for environment map to be 4096x4096 now.
March 19, 2006, 13:31 (GMT)
Updated to use Blender.sys.exists() which now uses BLI_exist rather then stat.
March 19, 2006, 13:28 (GMT)
=== bugfix win32 - python ===

Fixed BLI_exist: In Windows stat doesn't recognize
a dirname ending is a slash, exept when it's
the root dir ("C:\"), where it is required.
So trailing slashes are only removed when filename
is longer than 3 chars.
Also fixed Python Sys.c that now uses BLI_exist
instead of calling stat directly.
March 19, 2006, 04:45 (GMT)
Added support for group objects
grp.objects

To have an iterator assigned as well as a list. Since gp.objects is an ietartor this is expected.
grp.objects= someGroup.objects works now.

Some other small fixes made.

Made a wrapper for add_to_group() That handles the OB_FROMGROUP flag. Should be moved to group.c's add_to_group()

void add_to_group_wraper(Group *group, Object *ob) {
Base *base;
add_to_group(group, ob);

if (!(ob->flag & OB_FROMGROUP)) { /* do this to avoid a listbase lookup */
ob->flag |= OB_FROMGROUP;

base= object_in_scene(ob, G.scene);
if (base)
base->flag |= OB_FROMGROUP;
}
}
March 18, 2006, 17:24 (GMT)
Added object.dupliGroup so objects can access the groups they instance.
This is very confusing.
Since in object has
ob.setDupliGroup() # Enable/Disable Dupligroup
ob.getDupliGroup() # see if its enabled.
ob.dupliGroup # the group data this object is instancing.

Not yet added
ob.groups # Groups that use this object.
March 18, 2006, 15:53 (GMT)
Slight change, when moving the active object out of localview, keep it the activew object. Face Select mode, vpain etc need to complain if act ob isnt visible before the modes are activated.
March 18, 2006, 15:23 (GMT)
Moved declerations to the top of the skope so as to work with MSVC?
started removeing // from constant.h to shut GCC's -pedantic up. realized // are used everywhere.
March 18, 2006, 14:47 (GMT)
Added Blender.Group module
The plans for the new Python API are too far off to have this module conform.

Needs testing with MSVC 6
March 18, 2006, 14:45 (GMT)
Tsk! A 'new' for filehandle wasn't combined with a 'delete', which is
probably causing the leakage issues we have exr in linux.
March 18, 2006, 11:41 (GMT)
Update box unpack with faster python use
Update image loader, optional arg for not autocreating the image. - aslo removed some stuff that shouldent have been left in.
Workaround for a bug in Blender.sys.exists()... should fix soon.
March 17, 2006, 16:42 (GMT)
==SCons==

* The documentation for BF_QUICKDEBUG et al, missing from previous commit. Also
provided by Joseph Eagar.
March 17, 2006, 16:38 (GMT)
==SCons==
* Applied patch #4012 by Joseph Eagar. The patch provides a way to quickly assign a list
of libraries to build with debug symbols. Usage:

scons BF_QUICKDEBUG=src,bf_blenkernel,bf_blenlib
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021