Age | Commit message (Collapse) | Author |
|
|
|
Basically this commit gets rid of most of the derived mesh immediate mode
drawing (cases such as subsurf excluded). Even when VBO is turned off
in user preferences, we still use vertex arrays, which are very similar to
VBOs but memory is client side. Vertex arrays are OpenGL 1.1 so compatibility
is not an issue here.
Reviewers: campbellbarton, sergey, jwilkins
Differential Revision: https://developer.blender.org/D919
|
|
commits.
|
|
This is a copy of what the outliner does and seems to work.
|
|
|
|
This doesn't currently do anything clever when a single vertex is shared by multiple islands
(uses closest only).
|
|
subsurf needs the same modifications in its derived mesh function or
materials don't get updated at all anymore.
|
|
Basically, our drawing code assumed we always use the edit mesh
materials, which can be different from the derived mesh
materials in modifiers doing overrides. We usually we want to use the
derived mesh when it is available instead.
There are two fixes here for both solid and textured mode. Unfortunately
the fixes do not help to make the display code less labyrinthian but I
expect this "should work" (tm and famous last words)
Solid mode fix is 95% from Bastien, thanks!
|
|
counting handles was out of sync, now use exact same logic.
|
|
|
|
|
|
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D917
|
|
environmental mapping when crossing the seam boundary.
Also output our favourite magenda on missing texture.
|
|
Patch by Romanov Alexander of blen4web team!
Differential: D842
Thanks for the patch!
|
|
|
|
This is added in the spirit of the general cycles GLSL system
which is pretty much WIP still.
This will only work on cycles at the moment but generating for blender
internal is possible too of course though it will be done in a separate
commit.
This hasn't been tested with all and every node in cycles, but
environment and regular textures with texture coordinates work.
There is some difference between the way cycles treats some coordinates,
which is in world space and the way GLSL treats them, which is in view
space.
We might want to explore and improve this further in the future.
...also </drumroll>
|
|
|
|
|
|
|
|
|
|
commits.
Basically, we don't set a draw buffer until draw time comes. Also add
explicit validation function to validate after all textures have been
attached (could be done automatically at bind time too probably, but
left out for now)
|
|
rendering in that case, not user preference also set alpha to 1.0
(transparent drawing just clears to zero)
|
|
of an option or for tools)
|
|
|
|
This patch includes the work done in the terrible consequencer branch
that hasn't been merged to master minus a few controversial and WIP
stuff, like strip parenting, new sequence data structs and cuddly
widgets.
What is included:
* Strip extensions only when slipping. It can very easily be made an
option but with a few strips with overlapping durations it makes view
too crowded and difficult to make out.
* Threaded waveform loading + code that restores waveforms on undo (not
used though, since sound_load recreates everything. There's a patch for
review D876)
* Toggle to enable backdrop in the strip sequence editor
* Toggle to easily turn on/off waveform display
* Snapping during transform on sequence boundaries. Snapping to start or
end of selection depends on position of mouse when invoking the operator
* Snapping of timeline indicator in sequencer to strip boundaries. To
use just press and hold ctrl while dragging.
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D904
|
|
|
|
Previosuly, world was shown on the background if "Render Only" was used.
Now user should be able to set it independently. This is a prelude to
(drumroll)...
|
|
|
|
|
|
|
|
|
|
in fact support for this combination wasn't added at all.
|
|
also don't make library paths relative on image load.
|
|
- only modify paths for newly loaded images
- don't attempt to read from library paths
|
|
|
|
Do not know why this shows up now, probably a recent tweak in BLI_utildefines.h or so...
|
|
Images are now added with relative paths to the Node Editor and the 3D View.
|
|
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
|
|
This module is intended for path manipulation functions
but had utility functions added to access various directories.
|
|
|
|
`ED_render_scene_update()` should ensure it does have some WM to work on...
|
|
scenes"
|
|
gpencil_data_duplicate() was being used for gp drawing undo buffers, where using an
exact copy is exactly what we want/need. Instead, the code here now has an additional
arg for determining whether a direct copy is warranted or not.
|
|
Grease Pencil data (bGPdata) is now a datablock, so it isn't safe to use
MEM_dupallocN() for copying new instances of these anymore.
|
|
|
|
Patch T42637 by @donfabio
|
|
|
|
|
|
|
|
the material panel.
Patch by Phillipp Oeser (D62) with some minor modifications, thanks!
|