Commit Graph

1761 Commits

Author SHA1 Message Date
Ton Roosendaal
3805cf23f5 - fix for calling 'unwrap UV' from faceselect view3d pulldown. it needed
a 'winset' to activate window, otherwise header still active
- removed 'size' button from Magic texture, was accidentally added
2004-01-12 16:51:33 +00:00
Alejandro Conty Estevez
501adfba42 Yafray panel splitted in two so we can add more settings.
Also preliminar square arealight export, not usable yet, will be usefull
as soon as photon export is added.
2004-01-12 16:46:47 +00:00
Robert Wenzlaff
3ed49f3299 -Attempted fix for flipped normal. Solves "No V. Norm flip" problem,
but I doubt it's the whole solution.
2004-01-12 14:42:43 +00:00
Matt Ebb
27e45078c5 Another small fix to some toolbox titles that I missed before. Woops! :/ 2004-01-12 13:48:26 +00:00
Matt Ebb
fa1d682f6f Fixed a couple of small typos in curve menus/toolbox.
Forgot to mention in the last big commit, thanks to William Reynish for reporting/proposing some missing menu items and nagging me to fix them :)
2004-01-12 13:42:16 +00:00
Matt Ebb
708494ae26 Most people will have it collapsed away anyway, but...
* Changed the menu name in buttons panels from 'View' to 'Panels'. Two 'View' menus stacked above each other just looked dumb :)
2004-01-12 13:35:37 +00:00
Matt Ebb
9de93ac9dc * Big menus update
Hard to describe other than by saying:

* Updates, re-thought organisation, etc based on testing
and feedback from 2.30 -> 2.31
* A *lot* of missing entries added
* Toolbox expanded, tidied and more consistent with
 pulldown menus
* A lot of functionality hidden behind secondary pupmenu()s is now exposed through arguments, so that
they can be more easily explored from the pulldowns and
toolbox.

This is the reason for the many changed files in this
commit - had to clean up editing functions. Mixing
interface code in the middle of editing functionality is not
good for menus and toolboxes. Please don't do it!

At this stage, the menu and toolbox system (at least for most window spaces) should be just about 'stable' and 'complete'. It's now up to people to keep them up to date :)
2004-01-12 13:30:00 +00:00
Martin Poirier
e40eaa4d47 Mirror function: Moved push_mesh to functionality function, to truely split functionality and interface. Thanks to broken for spotting that. 2004-01-12 02:46:14 +00:00
Chris Want
3d07196b74 Better pose figuring: fix for the "blender's bone constraints don't work
in pose mode when you merely move the parent of a constraint subtarget"
bug.
2004-01-12 00:53:23 +00:00
Ton Roosendaal
8a0317c8f1 Historical commit... error found in DNA code! <blush>
It is just too hard to describe, just that it didnt check for changing
arrays well enough, causing contents of array textfield[] to be copied in
array text[]....

Anyhoo, this fixes the grey text, as showed up in brokens commit of
saturday. Thanks Matt! :)
2004-01-12 00:15:21 +00:00
Ton Roosendaal
fac8a7027d - fix for cubemap, rendered without render face available.
currently only for preview render and displaylist. It then uses the
  provided texture coordinate itself...
  Solution is not perfect... disadvantage of not having globals! then
  you have to fix all mess! :)
2004-01-11 22:15:24 +00:00
Ton Roosendaal
63f1e17fe5 - tex->nor was not reset to zero for lamp texture. this caused weird thing
to happen when you use lamp textures with material textures.
  Bug provided by aphex, thanks!
2004-01-11 20:58:12 +00:00
Robert Wenzlaff
1b233917ad - Normalized normal vector after perterbing normals to stop
artifacts in displace preview.
2004-01-11 19:53:20 +00:00
Roel Spruit
3f98fc4d61 Clean up of edge select code. found some useless loops.. 2004-01-11 17:12:39 +00:00
Robert Wenzlaff
d0fd7d2fea - Potential future bug in simple subsurf (used & when should be ==).
- out of date comment in Displace code.
2004-01-11 16:20:49 +00:00
Martin Poirier
73529471e7 Fixed headerprint for wrap transform. It wasn't consistent with the rest. 2004-01-11 15:48:32 +00:00
Rob Haarsma
982e299fcf Applied Daniel Fairhead's correction for a correct functioning DELKEY in text input buttons.
(thanks again !)
2004-01-11 11:56:08 +00:00
Robert Wenzlaff
bbe7d8d08e - Better fake for displace preview. 2004-01-11 00:39:17 +00:00
Robert Wenzlaff
3406d3a939 - Displacement now allows use of either Var or Nor slider. Nor uses
texture's Nor channel, Var uses intensity channel.
2004-01-10 23:00:52 +00:00
Roel Spruit
94e93c3782 Bugfix: [ #857 ] Select/Desel vertex groups doesn't update vertex count in headerbar 2004-01-10 20:52:59 +00:00
Roel Spruit
594f1d1101 Bugfix: [ #840 ] ALT-M causes memory leak 2004-01-10 20:26:38 +00:00
Robert Wenzlaff
f1c082da50 - Added ""fake" preview for displacement. Preview does not
use renderfaces so real preview will have to wait for preview
	  overhaul.
2004-01-10 18:49:11 +00:00
Alejandro Conty Estevez
d21cf447ab Fixed unresolved symbol bprogname under win32 2004-01-10 14:14:14 +00:00
Roel Spruit
576284038d added bmp.c and the new yafray files to the MSVC projectfiles 2004-01-10 13:42:35 +00:00
Matt Ebb
589ef22aef * Fixed a silly problem when changing the colours of the 'Neutral' button theme entry (which changed both the outline of buttons and various other grey buttons). Added a new theme colour 'Outline' and left 'Neutral' to remain, well, neutral.
Thanks Desoto for the report.
2004-01-10 13:41:03 +00:00
Ton Roosendaal
b5071f367d Improved method to calculate normals for procedural textures such as
Marble, wood, clouds. Instead of the retarded (but faster :) old method
it now derives the normal based on displacement of a 'nabla' vector;
sampling the texture additionally with three little offsets in x, y and z.

Code provided by Eeshlo, and gratefully accepted!
2004-01-10 12:41:47 +00:00
Matt Ebb
9d78e1164b * Added butspace and sound menus. That's all of them now, phew.
* Very small tweaks to Sequence and Ipo menus
2004-01-10 11:19:05 +00:00
Robert Wenzlaff
6a9d29d1db -Changed "Simple" button to pulldown menu or subsurf type.
Paves way for additional subsurf types, and avoids confusion
	where Simple is on, but Subsurf is off.
2004-01-10 01:22:07 +00:00
Kent Mein
e3080c9580 Added support for outputting bmp's
The padding is slightly messed up, so it produces somewhat trunkcated images
however it works.  I'll try and fix it later but I have to go home now.
Its atleast usable at this stage.

I moved bmp_decode.c to bmp.c and cleaned it up a little bit.

Kent
2004-01-09 22:04:08 +00:00
Alejandro Conty Estevez
b430cd167f Eeshlo's fix for the unit problem with texture paths exporting to yafray 2004-01-09 21:15:08 +00:00
Ton Roosendaal
4f398031b8 - Merged conversion to renderfaces for mesh and subsurfs.
This fixes bug in wrong flipping of normals during render in some cases
  too. Most important, it also allows autosmooth and halos now with subsurf.
  Particles do work, but still use the original geometry.
- I only coded 4 bytes of this, rest is from master zr!
2004-01-09 20:52:44 +00:00
Wouter van Heyst
7b6c2cba1a - Introduce use_precomp on Darwin to decide wether to use precompiled
libraries/headers from lib, or use the system libraries.

  At the moment just use sdl-config output for SDL.
2004-01-09 11:13:58 +00:00
Alejandro Conty Estevez
aba8ca4440 From Eeshlo: fixed bug with dupliverted lamps not exporting. Also now it
skips envmaps, octree and radiosity when yafray is enabled.
2004-01-09 08:31:23 +00:00
Robert Wenzlaff
cef4ef250c - Removed some out-of-date comments in Displacement. 2004-01-09 04:16:16 +00:00
Robert Wenzlaff
024c67bd47 - Displacement scalling. Displacement now handles sizex/y/z of object
properly, and uses the AutoTexSpace button to see if the size of the
	data needs to be adjusted for.

	- Scale now split to x/y/z components.  Not sure if this is the most.
	logical way to do it.  Will have to reconsider later.
2004-01-09 03:57:14 +00:00
Wouter van Heyst
bfdf036b45 - Add new yafray files to SConscript 2004-01-08 23:57:57 +00:00
Alejandro Conty Estevez
5c51bd7e56 Code reorganization to allow a clean export to plugin alternative for
yafray
2004-01-08 23:12:56 +00:00
Daniel Dunbar
32a96642bd - added displist option to 10-timer (ctrl-alt-t), runs makedisplist
on current option (for timing subsurf stuff).
2004-01-08 20:08:27 +00:00
Daniel Dunbar
eb6ef538e9 - committed new uiDef{Icon,IconText,}ButBit? functions
- change object draw flag buttons to use new functions (just an example)

 While I probably wouldn't recommend patching other buttons to use the new
functions a week before release, it is a good (simple but tedious) project
to complete. Note that some code actually defined the constants for the
bit index, when such code is fixed the _BIT constant should be removed from
the headers.

Example:
DNA_constraint_types.h:
#define CONSTRAINT_DISABLE		0x00000004
#define CONSTRAINT_DISABLE_BIT	2

buttons_object.c:
uiDefIconButS(block, ICONTOG|BIT|CONSTRAINT_EXPAND_BIT, ...);

The button definition should change to:
uiDefIconButBitS(block, ICONTOG, CONSTRAINT_EXPAND, ...);

(whats that, the more correct way uses less typing, GOOD GOD!)
and the CONSTRAINT_DISABLE_BIT define should be removed.
2004-01-08 19:53:19 +00:00
Stefan Gartner
239edfc272 some cosmetic changes to make the compiler shut up when building with scons
on os x
2004-01-08 16:28:45 +00:00
Stefan Gartner
0be1e050a5 fix (?) for compiling with quicktime support on some versions of os x
with some versions of gcc (aka. the nasty ID problem). see also
http://www.blender.org/pipermail/bf-committers/2003-November/004660.html
2004-01-08 16:26:30 +00:00
Stefan Gartner
2830db381e fix building with quicktime support on os x.
some platform specific sections had link_env.Append(CPPDEFINES=defines)
(darwin was not one of them). I moved that line to the global part of
SConstruct and added "defines = []" to the platforms that didn't have
it (sunos and hp-ux). I hope I didn't break anything...
2004-01-08 16:14:09 +00:00
Robert Wenzlaff
71597eb061 - Corrected scale factor to be independant of object
rotation.  (Still not right, but better).
2004-01-08 14:19:25 +00:00
Alejandro Conty Estevez
234fb27248 Added export for caustic settings based on the raytrans values. And settings
for casting them from GI (pathlight). A new contro "caus depth" in the panel
controls the maximun number of bounces going through objects.

Now images like this:
http://www.coala.uniovi.es/~jandro/noname/images/causfromblender.jpg
are possible with scenes like this:
http://www.coala.uniovi.es/~jandro/noname/examples/exp_test2.blend
2004-01-08 11:42:40 +00:00
Nathan Letwory
6e97d0bcd3 - fixing a bug which can lead users to potentially resize windows such that they can't be regained anymore. Also, when removing the header from the userdefs, resizing it to 1 pixel height made it very inaccessible. This problem was reported _and_ fixed by ndh (Andreas Haferburg). Thanks! 2004-01-08 09:16:19 +00:00
Alejandro Conty Estevez
059a846f3a From Eeshlo, also create the temporary dir inside yafray's install dir if the
user does not put a valid path on YFexport. So now all windows path problems
should be fixed, but never understimate windows.
2004-01-08 08:55:21 +00:00
Daniel Dunbar
f6f06ba54d - removed duplicate flags from BKE_mesh.h
- removed rendermesh_uses_displist (no longer relevant)
 - converted appropriate me->flag tests to using mesh_uses_displist
 - made vert and face counting (for info header) use proper counts
 - changed flip_subdivision to allow level==0 argument
 - ps. thanks for subsurf orco fix ton
2004-01-08 04:42:29 +00:00
Rob Haarsma
86e32ddcc8 tsk, little screwup on last commit 2004-01-07 23:45:09 +00:00
Alejandro Conty Estevez
50b7c10a7d Possible definitive fix for the problem of not finding yafray executable
on win32. Since yafray saves its installation path in the registry, we read it
from there and convert to a legal path for system()
2004-01-07 23:40:19 +00:00
Rob Haarsma
d959b8127b Applied Daniel Fairhead's patch for a correct working DELKEY in textinput buttons.
(thanks!)

Added a 'void' somewhere to silence a compiler warning.

(Windows only)
Moved the flip fullscreen button in the topheader a little to the right, since the
questionmark button mysteriously disappeared.
2004-01-07 23:33:40 +00:00