IMPORTANT UPDATE! May 12 13, 2026



Tomorrow Today Last Wednesday, on the 13th of May, the manual Patrons group (the one that gives you your green username AND access to dedicated Patrons spaces on WSL) will be has been DELETED.

This means that your access to those spaces will be has been revoked until you connect your Patreon account to WSL using the link below, which will give you access to the NEW, future-proof Patrons+++ group.

With the imminent release of ZEPPO BETA 2 - tentatively planned for released Friday today yesterday (!!) - I wouldn't dawdle... with Beta 2 (i.e. all my late nights in the past month), Zeppo has become something truly special, battle-tested and multi-user hardened in an actual production.

Yes, there will be a Reactor release eventually, and no, it won't have all the bells and whistles - those are for Patrons, because they are the ones keeping WSL afloat, which is still only barely these days...

I'd better get back to prepping that done did release then!

Thank you,

Pieter


[DEV] Corner Pinner

Where the future is being made, today.

Welcome to the WSL development corner!

In this forum, please post your development projects. You get kudos and feedback here.
Topics ideally have preset prefixes, and this is what they (might) mean:

  • [DEV] - very much work in progress, don't build a business on this, could go anywhere
  • [BETA] - should kinda do what it's supposed to do, please test, give feedback
  • [RC] - this may end up in Reactor soon, polishing up, now's the time for last minute thoughts
  • [ABD] - died a premature death, sadness, will not see the light of day ever (unless someone picks up the scraps)

Once a development project has been released (hurray), topics can be marked as - you guessed it - [RELEASED] :cheer:

Development topics only, please. For generic questions, how-to's, questions and inquiries about existing tools etc, please go to the appropriate other forums.
User avatar
ShadowMaker SdR
Fusionator
Posts: 2085
Joined: 11 years ago
Reactions score: 98
Has thanked: 6 times
Been thanked: 65 times

Re: [DEV] Corner Pinner

#16

Unread post by ShadowMaker SdR »

danell wrote: 1 year ago

Second there is a bug in 3Rn with its DoD

Yes, leave it to me to uncover a completely unrelated bug while testing someone else's tool!

danell wrote: 1 year ago

The perspective cropping also doesn't give the correct image size. It's close but not correct, so I guess there is some finetuning left to do with its code

What method did you use? I think you mentioned Claude to work stuff out. I still think the fSpy rectangle method might be the cleanest approach. And since it's both open source and AFAIK not dependent on an external library like openCV it might be the most accessible method?


User avatar
ShadowMaker SdR
Fusionator
Posts: 2085
Joined: 11 years ago
Reactions score: 98
Has thanked: 6 times
Been thanked: 65 times

Re: [DEV] Corner Pinner

#17

Unread post by ShadowMaker SdR »

I have the feeling that most of the stuff in this document could be used for the perspective crop part. Especially the stuff around page 13. Section 4.3

Using Vanishing Points for Camera Calibration.pdf
You do not have the required permissions to view the files attached to this post.

User avatar
danell
Fusionista
Posts: 588
Joined: 9 years ago
Reactions score: 17
Location: Norrköping
Real name: Jacob Danell
Has thanked: 7 times
Been thanked: 48 times

Re: [DEV] Corner Pinner

#18

Unread post by danell »

v0.5 2025-03-25:

  • Reworked DoD calculations
  • Added clipping mode (None and Frame)
  • Code cleanup of unneeded calculations

@ShadowMaker SdR Apparently the 3Rn thing isn't a bug. Fusion have a DoD and it has a DataWindow. The data window is what contains the data itself while DoD shows the valid window of the image. DCTL reads the DataWindows content from 0-1 so if the DoD is filling the whole image the DCTL kernel won't read the empty data between the DoD and the data window. 3Rn is the only place I have come across where the data window isn't the same as the valid window, but now we know :D
In short, I had to rewrite all DoD calculations but now it works as expected!

Maybe it's time to create a Fuse cource with all of these kind-of-edge-cases-but-not-really things :ugeek:


User avatar
danell
Fusionista
Posts: 588
Joined: 9 years ago
Reactions score: 17
Location: Norrköping
Real name: Jacob Danell
Has thanked: 7 times
Been thanked: 48 times

Re: [DEV] Corner Pinner

#19

Unread post by danell »

v0.6 2025-03-26:

  • All enable-combinations now works
  • Fixed offsets not offsetting correctly
  • Fixed missed mat inverse in CheckRequest
  • Split up BuildMatrix code to reduce duplicated code
  • Shuffle s/d 3 and 4 to match the controls

User avatar
ShadowMaker SdR
Fusionator
Posts: 2085
Joined: 11 years ago
Reactions score: 98
Has thanked: 6 times
Been thanked: 65 times

Re: [DEV] Corner Pinner

#20

Unread post by ShadowMaker SdR »

danell wrote: 1 year ago

Fixed offsets not offsetting correctly

You're quicker in fixing things than I am in reporting them. :-)


User avatar
danell
Fusionista
Posts: 588
Joined: 9 years ago
Reactions score: 17
Location: Norrköping
Real name: Jacob Danell
Has thanked: 7 times
Been thanked: 48 times

Re: [DEV] Corner Pinner

#21

Unread post by danell »

v0.7 2025-04-01:

  • Cleaned up MapQuad and mat calculations
  • The preview controls now follows the image's corners when any corner is disabled or with offsets

User avatar
danell
Fusionista
Posts: 588
Joined: 9 years ago
Reactions score: 17
Location: Norrköping
Real name: Jacob Danell
Has thanked: 7 times
Been thanked: 48 times

Re: [DEV] Corner Pinner

#22

Unread post by danell »

v0.8 2025-04-13:

  • Added quick-connect to tracker node.
  • Fixed bug with DoD not correctly calculated when points are outside the window size.

I think I finally got the RoI request working correctly. I thought it was smiple but man, it required quite some math :P

I also got tracker-linking working. Simply put a tracker node in the Tracker box and press Connect. Everything will then be connected for you.
Not tho that you currently can't pick what tracker goes to what corner.
I will need to figure out how to automatically populate and update dropdown boxes for this to work. I figured out how to add entries but I coulnd't get the list to update. The user would need to select another node and then back to ConerPinner to see the new entries. I also have no idea how to remove entries.


User avatar
ShadowMaker SdR
Fusionator
Posts: 2085
Joined: 11 years ago
Reactions score: 98
Has thanked: 6 times
Been thanked: 65 times

Re: [DEV] Corner Pinner

#23

Unread post by ShadowMaker SdR »

Was any of the info I mentioned useful for the aspect ratio calculation? I am still convinced that if we could figure out the method fSpy uses (and it's open source, so it should be doable to find it) then everything would be fine. I've fed it my test images and the rectangle method it uses to calculate the complete camera matches 1:1 with the image I'm feeding it, when reconstructing the geometry in Blender.


User avatar
danell
Fusionista
Posts: 588
Joined: 9 years ago
Reactions score: 17
Location: Norrköping
Real name: Jacob Danell
Has thanked: 7 times
Been thanked: 48 times

Re: [DEV] Corner Pinner

#24

Unread post by danell »

There is some parts that needs some updating after all features is in. The perspective mode will absolutely need to be re-written. It will come :D

Last edited by danell 1 year ago, edited 1 time in total.

User avatar
danell
Fusionista
Posts: 588
Joined: 9 years ago
Reactions score: 17
Location: Norrköping
Real name: Jacob Danell
Has thanked: 7 times
Been thanked: 48 times

Re: [DEV] Corner Pinner

#25

Unread post by danell »

And with that we're on 0.9!

v0.9 2025-04-13:

  • Replaced Mapping Type buttons with slider for extra flexibility
  • Fixed Bi-Linear interpolation
  • Added Fill clipping mode

So the only thing truly left is to fix the perspective crop :D After that it's cleanup time!


User avatar
Millolab
Fusionator
Posts: 1313
Joined: 7 years ago
Reactions score: 73
Location: Milan, Italy
Has thanked: 5 times
Been thanked: 119 times

Re: [DEV] Corner Pinner

#26

Unread post by Millolab »

I really need to get into this and test it!
🍾


User avatar
danell
Fusionista
Posts: 588
Joined: 9 years ago
Reactions score: 17
Location: Norrköping
Real name: Jacob Danell
Has thanked: 7 times
Been thanked: 48 times

Re: [DEV] Corner Pinner

#27

Unread post by danell »

v0.10 2025-04-14:

  • Updated perspective crop calculation
  • Fixed position preview control if source positions have bin moved
  • You can now connect tracker nodes to source positions
  • Perspective crop now have DoD
  • Fixed show/hide controls correctly when comp is re-opened

@ShadowMaker SdR I did my best to get as good Perspective Crop as possible. I tried to understand the things you sent but man, when math becomes more letter than numbers I'm out :lol:
I had to Claude a lot, tried different algorithms etc and this is the best one I could come up with.
I tried to see where in fSpy's code the perspective calculation happens but coulnd't pin point it.

If you can find it you're more than welcome to try and add it to the fuse!


User avatar
JustCropIt
Fusionator
Posts: 1254
Joined: 2 years ago
Reactions score: 296
Has thanked: 265 times
Been thanked: 286 times

Re: [DEV] Corner Pinner

#28

Unread post by JustCropIt »

A bit late here but version 0.10, at the bottom of the inspector, still refers to it as 0.9.