new blend modes for imagepaint + experimental normalmap painting #17931

Closed
opened 2008-10-30 11:33:05 +01:00 by Vilem Duha · 5 comments
Member

%%%This patch adds support for +10 more blendmodes ported mainly from material system. It doesn't add/change file structure, just adds functions in the same manner blendmodes already were there. There's a char(much faster) and float version of each function. For char version of hue,sat,val and color blendmodes there's an internal conversion to float and back.

This patch adds also 3 special modes for blending normalmaps. They have been added experimentally on request on this forum thread:

http://blenderartists.org/forum/showthread.php?t=137830

These modes will be removed on request, since they are really an experiment.
Here is more info about them:
these blendmodes require special - normalmap - brushes, provided in the file nmbrushesp.blend .
Although this way of painting normals is not correct and if used inproperly can end up weird, in some cases can work well. These blendmodes would be also usefull for overlaying whole image normalmaps(in nodes), since they mix the vectors and result always in a normalmap with normalized vectors.

To try out the normalmap painting, just open the .blend file and start painting.
I'd like much more to implement a internal conversion of greyscale images to normalmaps, but don't have time for it now, since it would probably take me a lot time to implement an on-the-fly conversion during painting.%%%

%%%This patch adds support for +10 more blendmodes ported mainly from material system. It doesn't add/change file structure, just adds functions in the same manner blendmodes already were there. There's a char(much faster) and float version of each function. For char version of hue,sat,val and color blendmodes there's an internal conversion to float and back. This patch adds also 3 special modes for blending normalmaps. They have been added experimentally on request on this forum thread: http://blenderartists.org/forum/showthread.php?t=137830 These modes will be removed on request, since they are really an experiment. Here is more info about them: these blendmodes require special - normalmap - brushes, provided in the file nmbrushesp.blend . Although this way of painting normals is not correct and if used inproperly can end up weird, in some cases can work well. These blendmodes would be also usefull for overlaying whole image normalmaps(in nodes), since they mix the vectors and result always in a normalmap with normalized vectors. To try out the normalmap painting, just open the .blend file and start painting. I'd like much more to implement a internal conversion of greyscale images to normalmaps, but don't have time for it now, since it would probably take me a lot time to implement an on-the-fly conversion during painting.%%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

%%%Agh! forgot to select a category for the patch. can anybody add it to tools?%%%

%%%Agh! forgot to select a category for the patch. can anybody add it to tools?%%%
Member

%%%Hi, trying to update the status of the patch tracker. Please respond if this patch is still viable/useful and needs review or if it can be closed.%%%

%%%Hi, trying to update the status of the patch tracker. Please respond if this patch is still viable/useful and needs review or if it can be closed.%%%
Author
Member

%%%It can be closed. I think some of it got to svn, the rest was just experimental and was superceeded with bumpmap painting with GLSL.%%%

%%%It can be closed. I think some of it got to svn, the rest was just experimental and was superceeded with bumpmap painting with GLSL.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Kévin Dietrich self-assigned this 2014-01-30 21:35:37 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#17931
No description provided.