Expose VRC Camera to OSC
tracked
Korro Bravin
Having camera functions (such as focus, zoom, position etc) exposed to OSC would allow for some interesting control setups and use cases.
Log In
★ Klonoa ★
Would be nice to have while flying in flight worlds. Could have the camera change angles automatically, fly around me, manually select an angle with a bind...
This post was marked as
tracked
CuddleTheFoxcat
This definitely needs to be added now that Desktop Stream Camera is a thing.
I could create a Visual Basic .NET program that registers global hotkeys and uses them to send camera-based OSC commands.
Here’s an example binding I’d go with using NumPad:
8=forward
2=back
4=left
6=right
plus=up
minus=down
0=reset anchor
comma=local anchor
3=world anchor
1=pin 1
7=pin 2
9=pin 3
5=toggle look-at-me
divide=zoom out
multiply=zoom in
divide+multiply=reset zoom
enter=toggle camera on/off (useful to let OBS see Window Capture instead)
(and I'm sorry, but I cannot make my message/post/reply/whatever_it's_called appear like others'. How do I use this Canny?)
FloydianSound
+1 to this.
i already have a few ideas on how to program a PTZ-like camera control system. my use-case is to control the stream camera with hardware rather than the "virtual camera" in game
we simply need to have the endpoints exposed. here's a couple example:
Change PIN : /vrchat/streamcamera/pin = [1,2,3] (INDEX)
Change Zoom : /vrchat/streamcamera/zoom = [0-1] (FLOAT)
Change Masks : /vrchat/streamcamera/mask = [ThisMask,ThatMask] (CONSTANT)
Change Position : /vrchat/streamcamera/position = [X,Y,Z] (either [XY]+[Z], or two graph [XY] + [WZ])
Take a Picture : /vrchat/streamcamera/snap = [0,1] (BOOL)
i can think of a couple of ideas to put this into quick beta...
there are many other features of the camera and stream camera that could be exposed this way(filters, effects, etc...)
but these are the obvious ones that i would like to see available if we move into open-beta, because they are the most obvious ones that resembles how PTZ camera works IRL.
here's a mockup pic in TouchOSC that could drive some more ideas
GreySole
This would be incredibly useful to me as a streamer. I'd be able to make my mods a remote to operate the camera, so they can fiddle with it while I'm in VR. Also be able to switch between pinned cameras.
ashe-to-dust
This would be very good for smoother zoom and positioning.
Fuuujin
This is a really good idea, it would allow huge amount of possibilited for automating camera movement etc
m
mocha____
with the drone mode this would be especially useful. and it would allow for rudimentary camera animation to be done externally before it's added officially as well. i'd be pretty happy with being able to control the camera with the exact same methods you can now (two-axis flying, toggling behaviors, zooming, and focus) just through OSC instead.