€3+

C4D Realtime Camera w. Phone [OSC / C4D / XPresso]

I want this!

C4D Realtime Camera w. Phone [OSC / C4D / XPresso]

€3+

C4D CAM controlled by phone accelerometer (OSC & Xpresso), Realtime preview and recording data (baked as keyframes)

C4D supported versions: R26 / MultiSense OSC (Android) / Supposed to work with all rendering engines.

What's in the package?

  • C4D Scene file and ressources
  • fOSC plugin (update Python version) originally by Fillmember (Github)
  • Documentation (It will go through detailed computer and phone setup, also reviewing the C4D elements of the 3D scene).

Current C4D file is setup for Android (MultiSense), but for Apple users, you can download any OSC app and adapt the Xpresso's parameters to match the Android OSC setup (ref. Xpresso screenshot).

Continued support may not be available on this setup, it's an exploration project I've built that led me to create tools inside C4D.

PS: I do not own the rights on the fOSC original version and MultiSense OSC, here I'm offering the camera setup using these technologies, which I have built in the context of my own research.


How to make it work?

The computer and phone had to be connected to the SAME WIFI, otherwise it can't work

Computer setup:

  • Download and Clone the updated fOSC plugin in the "plugins" folder of your C4D.

    Windows: C:\Users\Name\AppData\Roaming\MAXON\CINEMA 4D R1x_xxxxxxxx\plugins

    MAC: ~/Library/Preferences/MAXON/CINEMA 4D R1x_xxxxxxx/plugins/



    Inside the fOSC folder, open the "fOSC.pyp" with your coding application (ex: Visual Studio) and on ligne 51, add your IP_ADDRESS in the "...", save and quite


  • Open the C4D setup file "CAM_OSC_C4D_01.c4d"
  • In C4D, open the fOSC plugin window (Extensions > fOSC), Always keep the plugin's window open if not it won't work

  • Options: "Create Null Objects" create Null object from OSC input appear into the scene; "Record Incoming Data" record the OSC data as keyframe while realtime playing the timeline project, uncheck the box when you finished live recording otherwise it will overwrite the data (keyframes)
  • OSC Server: "Start Listening" start the OSC communication between computer and phone ; "Stop Listening" Stop the communication
  • Listening to Port: Add the same port on the Phone OSC app and Computer fOSC window to get it work

Phone setup:

  • Download the free app MultiSense OSC (Android)


  • Add the same IP Address, and Add the same port (7000 is the default setting)
  • Enable "Orientation" (3 entry: Yaw, Pitch, Roll)
  • Enable phone OSC connection clicking the red power button (top right) so it turns green



Once the OSC connection is established between Phone and Computer, we can start looking at the elements in the C4D scene

C4D Setup (in order):

  • Enviro - Sky (HDRI from Polyhaven)
  • fOSC-Container: the 3 Orientations phone OSC output (Yaw, Pitch, Roll) as Null objects, it's also where all OSC parameters will appear if you check the fOSC plugin "Create Nulls Objects"
  • Xpresso: Xpresso tag of camera setup (OSC Nulls are mapped into the camera parameters, ref image)

  • Null:CAMS: First camera "CAM ACCELEROMETER_RAW" that received the raw OSC data, second camera "CAM ACCELEROMETER_REMAP" is constrained to the first one but with a smooth effect. I recommend to use the second one as your principal view


Please consider supporting this with a fair price as it take a long time and effort to build that kind of tool. Don't hesitate to tag me on your own projects and experimentations so I can see how far this tool can be pushed!

If you have any questions, you can contact me by email: theo.rocq@gmail.com

📱 Follow me on instagram : https://www.instagram.com/theorocq/

Enjoy!

€
I want this!
27 sales
Size
25.4 MB
Copy product URL
30-day money back guarantee