Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Patches: Browse

[#30837] UV Offset Modifier

Date:
2012-04-06 19:31
Priority:
3
State:
Closed
Submitted by:
Pawel Kowal (pkowal)
Assigned to:
Campbell Barton (campbellbarton)
Category:
None
Group:
None
Resolution(Old, use status):
Approved
Resolution:
Applied
Patch for:
 
Summary:
UV Offset Modifier
Detailed description
This modifier enables animating uv coordinates.

Detailed info with screencast, video tutorial, example .blend file and modifier help is here: http://kompak.pl/uvoffset

Short movie making heavy use of modifier can be found here: http://kompak.pl/rain

Followup

Message
  • Date: 2012-04-10 13:33
  • Sender: Pawel Kowal
  • Campbell, I've modified the code so it uses vector now instead of two coordinates.

    I'll need your help with getting the bone / target position after constraints / drivers applied.

    I don't agree that offset should be relative. It's difficult to control modifier this way.
    Offset should take into account only target's position.
    If you want to move object and target together parent it to something.
  • Date: 2012-04-10 13:37
  • Sender: Pawel Kowal
  • And the attachment.
  • Date: 2012-04-10 17:27
  • Sender: Campbell Barton
  • attached a patch. makes the following changes.
    - matrix between the object and the target/bone matrix are used for the UV offset (this works like hooks). can think of this like UV hooks.
    - fix error in line 177 on the v2 version of the patch 'else weight == 1.0f;', should be '='.
    - remove comment about use of get_pose_channel(), this checks for an empty string.
  • Date: 2012-04-18 11:28
  • Sender: Pawel Kowal
  • attached a patch, changed target to controller and subtarget to bone in both ui and data structure, still need to agree offset calculations
  • Date: 2012-05-15 10:38
  • Sender: Pawel Kowal
  • changed it to work with 2.63a, controlling with object works Campbell way (except sign of offset), controlling with bone uses only its pose position - rotation and scale are discarded
  • Date: 2012-12-14 05:21
  • Sender: Campbell Barton
  • Applied modified patch to svn -r52987
 

Attached Files:

Name Date Download
uvoffsetmodifier_bmesh.patch.zip 2012-04-06 19:31 Download
uvoffsetmodifier_bmesh_v2.patch.zip 2012-04-10 13:37 Download
uvoffsetmodifier_bmesh_v3_ideasman42_r45507.patch 2012-04-10 17:27 Download
uvoffsetmodifier_bmesh_v4_pkowal_r45619.patch 2012-04-18 11:28 Download
uvoffsetmodifier_v5_pkowal_r46620.patch 2012-05-15 10:38 Download

Changes:

Field Old Value Date By
status_idOpen2012-12-14 05:21campbellbarton
close_dateNone2012-12-14 05:21campbellbarton
assigned_tonone2012-12-14 05:21campbellbarton
Resolution(Old, use status)None2012-12-14 05:21campbellbarton
ResolutionOpen2012-12-14 05:21campbellbarton
File Added20687: uvoffsetmodifier_v5_pkowal_r46620.patch2012-05-15 10:38pkowal
File Added20213: uvoffsetmodifier_bmesh_v4_pkowal_r45619.patch2012-04-18 11:28pkowal
File Added20093: uvoffsetmodifier_bmesh_v3_ideasman42_r45507.patch2012-04-10 17:27campbellbarton
File Added20086: uvoffsetmodifier_bmesh_v2.patch.zip2012-04-10 13:37pkowal
File Added20042: uvoffsetmodifier_bmesh.patch.zip2012-04-06 19:31pkowal