Page 1 of 2

bf-blender / Windows (2004/06/17)

Posted: Fri Jun 18, 2004 5:18 am
by gabio
One week is gone, the new build is come.

Relevant feature:
-New export script: dx8.
-New python api stuff
-new importer script: obj.
-**Compatibility fix for ATI***
-All the zoom style imaginable is now in a little box...
-floating panels in sequence view
-wireframe outline for selected solid objects

New script:
Ben Omari contributed a DirectX 8 Exporter (thanks!). It will probably be updated before 2.34, as some of the other bundled scripts.

Fix for #1355

Recalculate normals (mesh editmode) had some weak points, as demonstrated
in the bug report sample file. It appeared to be 2 aspects that could be
simply fixed:

- for calculation of the most outer face (to set normal outside) it used
a manhattan distance. making it real distance helped quite some
- but most important: the routine only took triangles into account, which
didn't work proper with very irregular quads, especially with non-flat
quads. It now calculates both trias in a quad individually.
Bug 1349

Envmap render error; when no (f10) envmap option was used, it could give
a 'stripe' effect based on a non-initialized global value. Only happens
for transparant layers...
Bug 1335

Displace mapping + Map-Input using Object wasn't working. This caused
by the inverse matrix of an Object potentially not being calculated when
displace was calculated.

Solved by moving imat calculus to the top of the main function.

Yafray note: the convention to hack out all transformations from
renderconverter could be implemented more elegant, by moving this to
the yafray section (and just matrix-transform back). Makes code less
unreadable, but also support displacement then (and might solve other

changed MT_NDEBUG macro to a MT_DEBUG one and reversed defines
So now by default, assert is not used in moto code.

If you want to use assert (and stop blender if one fail),
define MT_DEBUG.

solve bug #1292 and better fix for #1260

added a new function to the Metaball module, (tks Jiri!) : getMetaElemList
added a new class : metaelem class
updated Metaball doc
added a [get/set]Range function.
Updated documentation accordingly.
(suggested by Stephane SOPPERA, tks!)

* Floating panel cosmetic tweaks

* Minor language/label cleanups I missed first time around.

rewind of previous commit as some experiment bad problems.

This means that bug #1292 is alive again unless you define MT_NDEBUG
which I doubt many do.

- Campbell Barton's (AKA Ideasman) obj importer script (some split improvements)
- I added support of material and texture import (.mtl files) Textures are assigned to faces and materials too.

- New script:
Wim Van Hoydonck contributed the famous Knife script (put under Modifiers group) developed by Stefano Selleri and himself (thank to both!)
- Added helper function Blender.sys.makename, updated docs and script ac3d_export to use it (shall update other exporters too):
this function is just a simple helper to format a filename as needed (change extension, strip dirname, it defaults to use G.sce as path).
- Added a test method: Blender.Scene.getScriptlinks(eventName):
just testing, if this path proves useful other functions will be added and made general, for objects, etc.

- some bug fix: some vert tVerts and normals are seperated by

1/2/3 OR 1//2//3

- some files for testing could be found at:

- New Blender.Draw method by Campbell Barton (Cam / ideasman):
PupStrInput, a wrapper for the Blender String popup (thanks!)
- Fixed bug #1374 reported by Gabriel Beloin (gabio, thanks too): ... group_id=9
There was a minor mistake in the import menu: vrml called dxf and vice-versa and shortcuts were wrong (removed them).
- Doc updates, minor updates elsewhere.

Replace all glFinish() with glFlush().

This is supposed to fix gradual slowdown of Blender interface on ATI cards.

Restored oldstyle zoom in/out, and added a new userpref for denoting zoom

- Continue: is default, old style
- Dolly: is like previous, but not continuous
- Scale: is the new method. Name is based on fact it scales view
Added Panel support in Sequence window, and converted old Nkey menu for it.
Scene.c: added missing code to copy base to object flag
Drawobject.c: added wireframe outline for selected solid objects. needs
some feedback though, at my system it is quite slow.
A new build is available

Posted: Fri Jun 18, 2004 8:18 am
by kencanvey
Thanks gabio I really look forward to these update builds :D , so thanks for doing them.


Posted: Fri Jun 18, 2004 9:12 am
by solmax
good to see the new dolly zoom-mode - it's easier to use then scale-mode (as this lacks some sort of visual guide).

also like the new silhouette-drawing for selected objects.

greets marin

Posted: Fri Jun 18, 2004 12:28 pm
by Monkeyboi
Drawobject.c: added wireframe outline for selected solid objects.
This is brilliant. I've been wanting something like this for ages! Now I can finally see what I have selected in Solid/Shaded mode.

Posted: Fri Jun 18, 2004 12:55 pm
by sten
Monkeyboi wrote:
Drawobject.c: added wireframe outline for selected solid objects.
This is brilliant. I've been wanting something like this for ages! Now I can finally see what I have selected in Solid/Shaded mode.
Ton told that this outlinedraw can make the 3Ddraw a bit he would like some feedback on this for those who try it out...

Posted: Fri Jun 18, 2004 2:38 pm
by gabio
True: Benchmark result: I got exactly 50% slowdown shaded unselected object to shaded selected object like 160-88,

Posted: Fri Jun 18, 2004 6:25 pm
by steve_t
outline draw is absolutely amazing

Posted: Sat Jun 19, 2004 12:01 am
by jd-multi
>-- Bug report --<

Great job guys. I only had to submit one bug that's still in the blender version. When addind a sound actuator, I get a Blender Crash when I want to push the drop down button on that actuator for selecting a sound file. Anyone has that problem too? Well first I didn't had any sound files in blender, but when I push the dropdown button on sound actuator, blender crashes. When I added some sounds to blender, it still crashes on pussing that button. :?

Posted: Sat Jun 19, 2004 4:25 am
by matt_e
The outline drawing is awesome isn't it? Increases the usability enormously. Although it is slower than no outline, it is about the same speed as using the 'Wire' option on objects, so it's not that bad, especially if you used Wire a lot before.

Posted: Sat Jun 19, 2004 8:36 pm
by dmao
The outline drawing is great! :) For one or two objects, the speed hit is minimal, but if many objects are selected, it can get kinda slow. It'd be nice if it could be toggled on/off.

Also, it would be very useful if it could behave like vertices in editmode- when selecting an object, the outline could flash brighter as long as the right mouse button is held and become 50% transparent if it's blocked by another object.

Oh, just a thought. Maybe if the outline is turned off, it could show up as long as the RMB is held and then disappear? This would let the user know what was just selected but not cause any slowdown afterwards.

Finally, the outline shows errors when Optimal is turned on and Subdiv > 0

Posted: Mon Jun 21, 2004 5:43 pm
by ElBarto
Holy Shit,
that rocks!!! Yeah!

BTW: Where is the new Python stuff explained? I missing access to objects of sound block buttons and there properties (file, loop, volume, pitch, mute) and access to text object (not text editor) and the properties (font file, font family, alignment...) would be fine.


Posted: Mon Jun 21, 2004 7:40 pm
by Koba

Looks wonderful (especially the new draw option). Hopefully more of Monkeyboi's proposals will be implemented in the future (but for me this is a biggie).

Is there a Linux build anywhere yet?

Can't believe I was a windows user once (a few weeks ago :D ). I'm properly ashamed. windows just sits on my hard drive now (for emergencies) kindly keeping those illegal operations out of my sight. Linux is just wonderful.

Sorry about the Linux promotion. I just can't help myself after all those years of slavery to the mighty M$ corporation.

Enjoy the windows build :wink:


Posted: Tue Jun 22, 2004 12:13 pm
by crsrma
Great new build, thanks for keeping them coming. :)
The outline drawing is a nice new feature but it can be quite resource intensive when working with dupliverts. I think it should probably be incorporated as a "Draw Extra" toggle in the Object Panel.

Posted: Tue Jun 22, 2004 1:35 pm
by Usagi
In the 2004/06/17 build I experience an annoying behaviour: When I try to move viewport borders they don't follow the mouse pointer immediately but are lagging heavily.

Posted: Wed Jun 23, 2004 12:42 pm
by bertram
Wow! The Outline Mode is an absolutely great idea! Until now it was almost impossible to select the correct object when in shaded view.
Thanks for this!!