User-contributed CVS development builds. Please test and give feedback!
guitargeek (Johnny Matthews ) 2005/12/23 16:20:27 CET
guitargeek (Johnny Matthews ) 2005/12/24 17:49:02 CETModified files: (Branch: orange)
blender/source/blender/src editmesh_tools.c editobject.c
Some bugreports from the orangers for Shape Vert Copy
1. Selection is now not lost on cancel
2. Subsurf now Updates
3. MMB copys at 100% immediately
4. Full copy removed from menu since due to #3
guitargeek (Johnny Matthews ) 2005/12/24 18:06:14 CETModified files: (Branch: orange)
Update for Shape Vert Propagate...
now sets RECALC for all objects that share the obedit's mesh data. So no more TAB-TAB nonsense One caveat: Undo is on Global Level not editmode level.
Also added header note for Copy Shape Vert that MMB does 100% copy
ton (Ton Roosendaal) 2005/12/28 16:42:52 CETModified files: (Branch: orange)
Getting rid of an unused var
ton (Ton Roosendaal) 2005/12/28 17:00:46 CETModified files: (Branch: orange)
blender/source/blender/blenkernel BKE_node.h BKE_texture.h
blender/source/blender/blenkernel/intern material.c node.c
blender/source/blender/include BIF_glutil.h BIF_interface.h
blender/source/blender/render/intern/source ray.c rendercore.c
blender/source/blender/src blenderbuttons.c butspace.c
drawnode.c drawseq.c drawview.c
edit.c editnode.c editview.c
renderwin.c resources.c space.c
Christmas coding work!
********* Node editor work:
- To enable Nodes for Materials, you have to set the "Use Nodes"
button, in the new Material buttons "Nodes" Panel or in header
of the Node editor. Doing this will disable Material-Layers.
- Nodes now execute materials ("shaders"), but still only using the
- Nodes have (optional) previews for rendered images.
- Node headers allow to hide buttons and/or preview image
- Nodes can be dragged larger/smaller (right-bottom corner)
- Nodes can be hidden (minimized) with hotkey H
- CTRL+click on an Input Socket gives a popup with default values.
- Changing Material/Texture or Mix node will adjust Node title.
- Click-drag outside of a Node changes cursor to "Knife' and allows to
draw a rect where to cut Links.
- Added new node types RGBtoBW, Texture, In/Output, ColorRamp
- Material Nodes have options to ouput diffuse or specular, or to use
a negative normal. The input socket 'Normal' will force the material
to use that normal, otherwise it uses the normal from the Material
that has the node tree.
- When drawing a link between two not-matching sockets, Blender inserts
a converting node (now only for value/rgb combos)
- When drawing a link to an input socket that's already in use, the
old link will either disappear or flip to another unused socket.
- A click on a Material Node will activate it, and show all its settings
in the Material Buttons. Active Material Nodes draw the material icon
- A click on any node will show its options in the Node Panel in the
- Multiple Output Nodes can be used, to sample contents of a tree, but
only one Output is the real one, which is indicated in a different
color and red material icon.
- Added ThemeColors for node types
- ALT+C will convert existing Material-Layers to Node... this currently
only adds the material/mix nodes and connects them. Dunno if this is
worth a lot of coding work to make perfect?
- Press C to call another "Solve order", which will show all possible
cyclic conflicts (if there are).
- Technical: nodes now use "Type" structs which define the
structure of nodes and in/output sockets. The Type structs store all
fixed info, callbacks, and allow to reconstruct saved Nodes to match
what is required by Blender.
- Defining (new) nodes now is as simple as filling in a fixed
Type struct, plus quote some callbacks. A doc will be made!
- Node preview images are by default float
********* Icon drawing:
- Cleanup of how old icons were implemented in new system, making
them 16x16 too, correctly centered *and* scaled.
- Made drawing Icons use float coordinates
- Moved BIF_calcpreview_image() into interface_icons.c, renamed it
icon_from_image(). Removed a lot of unneeded Imbuf magic here!
- Skipped scaling and imbuf copying when icons are OK size
********* Preview render:
- Huge cleanup of quote....
- renaming BIF_xxx calls that only were used internally
- BIF_previewrender() now accepts an argument for rendering method,
so it supports icons, buttonwindow previewrender and node editor
- Only a single BIF_preview_changed() call now exists, supporting all
signals as needed for buttos and node editor
********* More stuff:
- glutil.c, glaDrawPixelsSafe() and glaDrawPixelsTex() now accept format
argument for GL_FLOAT rects
- Made the ColorBand become a built-in button for interface.c
Was a load of cleanup work in buttons_shading.c...
- removed a load of unneeded glBlendFunc() calls
- Fixed bug in calculating text length for buttons (ancient!)
ton (Ton Roosendaal) 2005/12/28 22:50:07 CETModified files: (Branch: orange)
blender/source/blender/src blenderbuttons.c drawtime.c
Yes, there are 2 marker icons... only one was corrected for proper center
broken (Matt Ebb) 2005/12/29 00:18:02 CETModified files: (Branch: orange)
blender/source/blender/src drawnode.c drawtime.c editnode.c
Review done with Matt; so here's a nicer version of the 'mini node'.
- nodes now have in header a triangle to minimize them or restore view
- mininodes have a scale dragger on right hand
elubie (Andrea Weikert) 2005/12/29 11:31:04 CETModified files: (Branch: orange)
blender/source/blender/src drawnode.c interface_panel.c
tiny tweaks to hiding triangles etc
Modified files: (Branch: orange)
Fixed scaling of vector icons. Also cleaned up using explicit number for
icon height with #define ICON_DEFAULT_HEIGHT.
Last edited by jms on Fri Dec 30, 2005 9:37 am, edited 1 time in total.
ton (Ton Roosendaal) 2005/12/29 19:08:02 CET
ton (Ton Roosendaal) 2005/12/29 20:07:00 CETLog:
More node goodies!
First note; this is a WIP project, some commits might change things that
make formerly saved situations not to work identically... like now!
------ New Material integration ------
Until now, the Node system worked on top of the 'current' Material, just
like how the Material Layers worked. That's quite confusing in practice,
especially to see what Material is a Node, or what is the "base material"
Best solution is to completely separate the two. This has been implemented
as follows now;
- The confusing "Input" node has been removed.
- When choosing a Material in Blender, you can define this Material to be
either 'normal' (default) or be the root of a Node tree.
- If a Material is a Node tree, you have to add Nodes in the tree to see
something happen. An empty Node tree doesn't do anything (black).
- If a Material is a Node Tree, the 'data browse' menus show it with an
'N' mark before the name. The 'data block' buttons display it with the
suffix 'NT' (instead of 'MA').
- In a Node Tree, any Material can be inserted, including itself. Only in
that case the Material is being used itself for shading.
Added a new Panel "Links", which shows:
- where the Material is linked to (Object, Mesh, etc)
- if the Material is a NodeTree or not
- the actual active Material in the Tree
The "Node" Panel itself now only shows buttons from the other nodes, when
they are active.
Further the Material Nodes themselves allow browsing and renaming or adding
new Materials now too.
Second half of today's work was cleaning up selection when the Nodes
overlap... it was possible to drag links from invisible sockets, or click
headers for invisible nodes, etc. This because the mouse input code was
not checking for visibility yet.
hos (Chris Want) 2005/12/30 00:26:49 CETLog:
To make learning how NodeTree Materials work easier; changed the default
when you turn a Material into NodeTree.
It now doesn't link own Material to the first added Material Node, but
allows you to do it, or create a new one.
With the royal blessing of guitarGeek, I commit the sharp/flat mesh
editmode selection tools. The documentation can (currently) be
http://mediawiki.blender.org/index.php/ ... FlatSelect
Problems with orange branch
e:\bf-blender\blender\source\gameengine\Ketsji\KX_ConvertPhysicsObject.h(38 ) : w
arning C4005: 'USE_SUMO_SOLID' : macro redefinition
command-line arguments : see previous definition of 'USE_SUMO_SOLID'
e:\bf-blender\blender\source\gameengine\Ketsji\KX_ConvertPhysicsObject.h(39) : w
arning C4005: 'USE_BULLET' : macro redefinition
command-line arguments : see previous definition of 'USE_BULLET'
intern\string\STR_String.h(144) : warning C4244: 'initializing' : conversion fro
m 'double' to 'float', possible loss of data
source\gameengine\Ketsji\KX_ConvertPhysicsObjects.cpp(161) : warning C4244: 'arg
ument' : conversion from 'MT_Scalar' to 'DT_Scalar', possible loss of data
source\gameengine\Ketsji\KX_ConvertPhysicsObjects.cpp(167) : warning C4244: 'arg
ument' : conversion from 'double' to 'DT_Scalar', possible loss of data
source\gameengine\Ketsji\KX_ConvertPhysicsObjects.cpp(189) : warning C4244: 'arg
ument' : conversion from 'double' to 'DT_Scalar', possible loss of data
source\gameengine\Ketsji\KX_ConvertPhysicsObjects.cpp(676) : fatal error C1083:
Cannot open include file: 'CollisionShapes/BvhTriangleMeshShape.h': No such file
scons: *** [E:\bf-blender\build\win32\source\gameengine\Ketsji\KX_ConvertPhysics
Objects.obj] Error 2
scons: building terminated because of errors.