Glassmark/Indiemark/Lonet2 FOCUS data into Unreal

Studio Operators Bugs Composer Virtual Camera Camera Tracking External Control Unreal

 

Hi there,

I've searched a few topics but can't find a clear answer on this so am posting a specific query :

I'm using a single Indiemark device to track FOCUS on my cine lens.

I've remapped this in Lonet2 and have seen this work in Unreal-native via a Lonet2LiveLink plugin.

Now I want to get this scalar into Aximmetry and over to Unreal so I can track focus on the camera.

I'm using OptiTrack as the Camera Tracking source = no lens info there

I've also run through the new Camera Calibrator too and am happily using that as the "External Lens Data"

But I see no obvious way to get data from Lonet2 into the Flow mix to get it over to Unreal. So many documents/conversations are focused on ZOOM which I don't need to consider with my prime lens. I do see that I can manually set the Cam Focus parameter to a custom scalar in Aximmetry but see no 'sources' that can feed from Lonet2 although i tried OSC but failed due to lack of experience.

Is there any advice on how to get that Lonet2 data into the mix or otherwise I may have to consider using the LiveLink route and looking into hacking out the blueprint to not update the Focus Distance.


Thanks so much!

Matt Hermans
Electric Lens Co

   Renbry

 
Profile Image
Renbry
8/16/2022 4:19:01 AM
  -  

Bumping this for attention. It seems like a missing part of the workflow and the documentation doesn't describe this process.

 
Profile Image
Patrik@Aximmetry
8/18/2022 7:33:01 AM
  -  

Hello Renbry,

A very similar question has been answered in this forum post: https://my.aximmetry.com/post/649-glassmark-lens-encoder-not-controlling-fo


Best Regards
Patrik

 
Profile Image
Renbry
8/18/2022 7:39:01 AM
  -  

@patrik

Thanks for the reply.

Because it's anything but clear or documented - do you refer to this specific line by Zoltan ? :

Alternatively you can omit using Device Mapper for tracking (clear everything there) and just set the Tracking Device, Tracking Mode, Zoom Device directly on the INPUT panel.

I'll try this out tomorrow and hope it works. It could be worth getting this into documentation for componentised workflows where all tracking, zoom and focus aren't supplied from one source e.g Mosys.

 
Profile Image
Renbry
8/18/2022 7:42:22 AM
  -  

On a similar topic - is there a way to visualise/debug out values that are coming in from 'sources' ? I couldn't find a way to see the data feed in from Lonet. Any kind of 'print' command or such that we could use from pins to debug/develop graphs ? 

 
Profile Image
Eifert@Aximmetry
8/22/2022 10:50:08 AM
  -  

Hi Renbry,

We also have documentation on Lonet: https://aximmetry.com/learn/tutorials/control-methods/using-glassmark-indiemark-encoders/

Once you added Lonet as a Zoom device in the INPUT on the control board. It should send the focus to the Unreal.
You can see the focus value by peeking at the Control Data connection. You can peek by pressing down CTRL while hovering over the connection:

You can visualize the values by adding Camera Tracking module in the Flow Editor:


Then in the Camera Tracking module set the Zoom Device to Lonet.
And then you can peek at the Focus and Zoom output pins. Or you can even connect them out into preview views with Scalar Peeker modules, like this:

Warmest regards,

 
Profile Image
Renbry
8/22/2022 10:53:16 AM
  -  

Amazing!

Thanks for the help - I was confused at first about the Zoom also covering the Focus functionality so now I know they're bundled.

The "peek" is a really cool trick too, thanks for telling me about that. Super handy!

Matt Hermans

Electric Lens Co

 
Profile Image
WillDylan
9/14/2022 10:51:04 AM
  -  

Hi Eifert,

I notice the data is in the Focus Sensor instead of Cam Focus or Focus Distance. Am I heading the right directions?


 
Profile Image
Eifert@Aximmetry
9/19/2022 4:18:33 PM
  -  

Hi Will,

Not really, you should use the Focus Distance pin instead of the raw focus data from the Focus Sensor pin.

Also, you don't need to edit the Control Data collection connection. If you correctly set up the Camera compound, it will send the correct Cam Focus through the Control Data collection connection.
You just need to add the Lonet in the Zoom Device of the Input panel:

Zoom devices include the focus data.

More on Lonet here: https://aximmetry.com/learn/tutorials/control-methods/using-glassmark-indiemark-encoders/

Warmest regards,