GithubHelp home page GithubHelp logo

syphon / unity3d Goto Github PK

View Code? Open in Web Editor NEW
97.0 44.0 27.0 52.32 MB

Syphon Implementation for Unity3D Pro

C# 29.33% Objective-C 50.74% JavaScript 0.47% Objective-C++ 13.39% C++ 2.20% C 3.27% ShaderLab 0.60%
syphon unity3d unity

unity3d's Introduction

Unity3D

Syphon Implementation for Unity3D Pro, 4.0+

This project is not maintained.

Consider an alternative such as KlakSyphon.

unity3d's People

Contributors

astellato avatar bangnoise avatar brianchasalow avatar briangibson avatar codeanticode avatar vade avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unity3d's Issues

syphon server texture / multi cam switching

I have multiple cameras set up with a simple switcher script in Unity driven by keyboard input. Each camera has a syhpon server texture attached. I'm recording the syphon feed but getting separate feeds for each camera. Is there a relatively simple solution to modify the server texture script so that the syphon feed is only sending the active camera in the scene? Thanks for any help!

Client flicker when using unity syphon server in the unity editor.

Hi,
I've got an issue where the client image flickers, when a unity project including a Syphon server is 'played' in the Unity editor. No issue when using the built unity project. I'm on a system running:

  • OSX 10.9.2 (also tested on 10.10)
  • Unity 5.1.1.1f1
  • Latest version of the Unity Syphon plugin (Beta 2 a16 - pulled from Git repo yesterday).

Syphon not working in build

Everything is working as it should, but I get no Input in Resolume Arena 4 when I run the build.
Any ideas why this might happen?

Support Unity 5

Hello!
Please tell me when we can expect a new version Syphon plugin for Unity 3D ver 5.02?

DllNotFoundException: SyphonUnityPlugin

Hey guys, its mark fingerhut!

I'm having this error for the first time on windows. I looked at some of the other threads and my editor and plugins folder are in the root.

I can tell you anything you need to know to fix this.

Let me know!!

Black texture

Hi all,
If i simply launch the unity server scene, and check the picture into syphon simple client,
the result is just black.
it never happened to me before.
in the simple client app, i see that the resolution of the picture is the same as my unity game window.
And i can see the framerate fluctuating.
OS x Yosemite. 10.10.4
Unity 5.3.1
It is urgent, do you have any idea about this issue ?

syphon input tiling in Unity

Hello,
When I prepare a texture in Unity, using UV map to have one picture or one movie in part of surface, it works, when I replace it by syphon client texture, it's tiled to cover all the surface.
There is a way to avoid that?
Thank you;
Jacques Hoepffner

troubles on unity 5.3 (OSX)

Hi,
I can't make work syphon on unity 5.3
its due either to the 5.3 updates on OpenGL 4.x core,
or my macbookpro with the good old intelHD3000 and apple's poor GL support.(unity runs with openGL3.3 and I'm not sure to support it fully)

in case somebody else have this : the only workaround for now is to run unity with -force-opengl

[Edit] :
my bad it comes from syphon framework ,
this fork claim to fix that : https://github.com/eromanc/Syphon-Framework

ERROR on play : rect[2] == rt->GetGLWidth() && rect[3] == rt->GetGLHeight()

Hi,

Using Unity3D 4.3.4f1, we've encounter an issue, when hit the play button from the editor and the basic Syphon Server Texture script.

Here it is :
rect[2] == rt->GetGLWidth() && rect[3] == rt->GetGLHeight()

This error appears on each frame as it rapidely grow from 0 to 999+

I've not tried with other script.

Please note that this does not block the system to work as I can get the rendering inside Milumin.

Thanks

Video output seems to be broken

I've tried using a couple different versions of Unity 5.3.x.
Same behavior within the Editor and within built apps.
I'm using a Mid-2015 Macbook pro with the dedicated AMD gpu.

Neither Resolume nor Syphon Recorder were able to actually get video out of Unity, though both recognized that Unity was running a Syphon server. As you can see here Syphon Recorder just glitches when i tried to get video from Unity. I've tried restarting, etc.
image

I don't have any crashes or even any error messages - the video just doesn't work.

Unity 5 + Oculus 0.6.0 SDK Crashing

When trying to use the latest release (a16) with Unity 5 and Oculus 0.6.0 SDK, Unity crashes whenever I have both the Oculus Camera Prefab and a Syphon texture in the scene.

Using either one is fine. Might be related to #8?

Using the latest commit (a1c423a), Unity just stalls with no console/crash output whatsoever.

Easiest way to reproduce is to take the SyphonServerAndClient scene and just add the Oculus SDK.

Crash log:

Process: Unity [3124]
Path: /Applications/Unity/Unity.app/Contents/MacOS/Unity
Identifier: Unity
Version: Unity version 5.1.0f3 (5.1.0f3)
Code Type: X86-64 (Native)
Parent Process: Unity [725]
Responsible: Unity [725]
User ID: 501

Date/Time: 2015-06-23 16:11:22.115 +0200
OS Version: Mac OS X 10.10 (14A389)
Report Version: 11
Anonymous UUID: C11BA1BF-C4D2-C40F-F719-1CECC9A0CE9E

Time Awake Since Boot: 1600 seconds

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
*** multi-threaded process forked ***
crashed on child side of fork pre-exec

Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00007fff8f9d9282 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff95091c13 __abort + 145
2 libsystem_c.dylib 0x00007fff95091b82 abort + 144
3 libsystem_c.dylib 0x00007fff95059c28 __assert_rtn + 272
4 libc++.1.dylib 0x00007fff938cccc9 std::__1::recursive_mutex::~recursive_mutex() + 55
5 libsystem_c.dylib 0x00007fff950928ed __cxa_finalize_ranges + 322
6 libsystem_c.dylib 0x00007fff95092bf0 exit + 55
7 libmono.0.dylib 0x0000000109ca432a mono_handle_native_sigsegv + 812
8 libmono.0.dylib 0x0000000109cebccb 0x109c31000 + 765131
9 libsystem_platform.dylib 0x00007fff94f30f1a _sigtramp + 26
10 libsystem_kernel.dylib 0x00007fff8f9d9282 __pthread_kill + 10
11 libsystem_c.dylib 0x00007fff95091b73 abort + 129
12 libsystem_c.dylib 0x00007fff95059c59 assert_rtn + 321
13 OculusVR.OculusPlugin 0x000000012a87d843 UnityRenderEvent + 357
14 com.unity3d.UnityEditor5.x 0x0000000100fa5080 PluginsRenderMarker(int) + 96
15 com.unity3d.UnityEditor5.x 0x0000000102429aaa GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&) + 16042
16 com.unity3d.UnityEditor5.x 0x000000010242bd4f GfxDeviceWorker::Run() + 31
17 com.unity3d.UnityEditor5.x 0x00000001024259d8 GfxDeviceWorker::RunGfxDeviceWorker(void
) + 72
18 com.unity3d.UnityEditor5.x 0x00000001012814aa Thread::RunThreadWrapper(void
) + 58
19 libsystem_pthread.dylib 0x00007fff9a3612fc _pthread_body + 131
20 libsystem_pthread.dylib 0x00007fff9a361279 _pthread_start + 176
21 libsystem_pthread.dylib 0x00007fff9a35f4b1 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x000000013187eff8 rdx: 0x0000000000000000
rdi: 0x0000000000000203 rsi: 0x0000000000000006 rbp: 0x000000013187f020 rsp: 0x000000013187eff8
r8: 0x0000000000000000 r9: 0x0000000000989680 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x00007fff938e1b62 r13: 0x00000000000003a0 r14: 0x0000000131881000 r15: 0x00007fff938e1af9
rip: 0x00007fff8f9d9282 rfl: 0x0000000000000206 cr2: 0x0000000103d7f000

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

Does not work with modern Unity releases

Does not seem to work in Unity 2017.1 or 2017.2
I have tried:
syphon.cs
syphon server texture
custom resolution
alpha texture

see attached pic - simple server is seeing "unity main camera", but no image is passed. Same in madmapper.

Any help? Is this working in Unity 2017?

screen shot 2017-10-31 at 11 26 23 pm

Glitchy video using Custom Resolution Server (Unity 5)

Hi Brian
I get a strange glitch with the Custom Resolution server texture.

It gives me a very glitchy output, like this:
https://dl.dropboxusercontent.com/u/30356710/syphonunityglitch.mov

(and for some reason the realtime result is even glitchier than this saved video of it)

The video is from a clean new unity project with only the latest Syphon unity package imported.
However, the scripts have been modified by the automatic prompt that updates the API.

I’m running Unity 5.13f1 Personal

I also tried it on a different computer than mine with the same result.

Can you see what the problem is?

I’m basing a major art project on getting a fixed 3200x3200 resolution from Unity, so any help that you can provide me with is of great help!

With kind regards,
Daniel

Syphon Unity 5.5 / OpenGLCore problems

Hello, this problem has already been discussed in a closed thread, but as Unity 5.5 doesn't support OpenGL2 anymore, the workaround consisting in setting OpenGL2 as the renderer in the player prefs doesn't work anymore.

Is the support for OpenGLCore or Metal planned ?

Thank you

Console Errors upon importing Syphon a17 into Unity 5.2.2f1

Hello -
importing a Syphon package ( Syphon for Unity Pro 4.0 1.0 Public Beta 2 a17)
into Unity 5.5.2f1 personal (in a new, blank project… )

generates these error messages in my console:

Assets/Plugins/Syphon.cs(106,28): warning CS0414: The private field `Syphon.updateContext' is assigned but its value is never used

and…

WriteFile returned 25

which renders syphon unusable for me…

Any ideas?

cheers!

[email protected]

Syphon + Oculus SDK

I am having an issue with joining Syphon/Unity3D and an Oculus camera prefab.

I can run a gameobject with Syphon and a texture alone and I can run a Oculus Camera prefab alone. But if they are joined in the scene they crash.

I am on

Unity 4.6.1f1
Syphon for Unity Pro 4.0, a14
Oculus SDK SDK 0.4.4

Any idea what makes them disagree?

Kind regards

jesper

Can Unity receive more than 3 Servers from VDMX5 simultaneously ???

I´m just adding the SyphonClientTexture script to my objects an works well in three different objects with 3 different video sources but when I create more than 3 layers in VDMX5 something weird happens. I can only use 3 different images at the same time. Someone knows why?

Thanks to the syphon devs for this awesome tool.

cannot use in 5.3

just updated unity and all my syphon seems broken. is it the fact that you can't drag syphon.cs to main cam?

Unity 5.3 Personal broadcasting to Resolume Arena 4 – Can't view Unity Personal output

I was able to import the Unity Syphon package successfully in Unity 5 demo. I added the Syphon.cs and the SyphonServerTexture to my Player 1 and Player 2 cameras and ran my Unity game.

In Resolume Arena 4, with Syphon Input on, I can see Unity is broadcasting, but when I drag each of the broadcasts to my composition I see absolutely nothing.

Is this result because I don't have a Unity Pro version? Is it imperative I do or is there something I'm not doing correctly?

Can anyone shed some light on this, please?

Unity 5 Render Texture Support?

I have two cameras. A front camera with an plane displaying a render texture from a third hidden camera at 0 and the main camera at -1 depth. Syphon does not output the front camera, only the main camera. Is this a bug or just unsupported feature?

dll not found

Unity3d version 4.3.1.f1 pro
when play button clicked,unity console show error message-
[DllNotFoundException: SyphonUnityPlugin
Syphon.cacheAssembly () (at Assets/Plugins/Syphon.cs:279)
Syphon.Awake () (at Assets/Plugins/Syphon.cs:317)
AutorunSyphon.myUpdate () (at Assets/Editor/SyphonHelper.cs:48)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/EditorApplication.cs:214)]

i dont see “SyphonUnityPlugin” dll .

Works in Unity 4.3.4 editor but not in final build

I have a Syphon client texture on a plane, works great inside the Unity 4.3.4 editor. As soon as I build all I get is a white texture on my plane object.

I'm working with a 32 bit bundle inside Unity so I'm building for x86 only.

No crashes. What can I send that will help identify the problem?

How to load first available Server?

I have built a simple visualiser that maps syphon feed onto a 3D model using the SyphonClientTexture. Is there a way I can load the first available Syphon Server instead of manual entering the server name and then do a specific build for every different syphon server app.

Thanks
Tom

NullReferenceException when the player window is resized

Hello !
I'm trying to have a Syphon and a window resize (by script or by hand) working together in (Unity 5.3 with openGL 2 and Syphon a17) and it crashes when launching a build of the program. When building in development mode and looking in the logs I get the following error :

Releasing render texture that is set as Camera.targetTexture!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Camera/Camera.cpp Line: 2942)

and then multiple instances of this one :

NullReferenceException: Object reference not set to an instance of an object
(Filename: /Users/anakin/code/AugmentaUnity/Assets/Plugins/Syphon/SyphonTexture-AdvancedUsers/SyphonServerTextureCustomResolution.cs Line: 134)

I managed to remove the second error by adding the following snippet in the Update method of my script, but that would be great if the Syphon plugin could handle it itself :

if(gameObject.GetComponent<Camera>().targetTexture == null){
    ResizeSyphonRenderTexture ();
}

Now my additional problem is that the player still crashes in the normal build mode, even without resizing the window, but it seems to be related to OpenGL2 (which I have to use or it doesn't work either, but the issue has been opened already).

Any thoughts ? Is it Syphon related or should I do something myself ?
Thanks !

Using Camera.WorldToScreenPoint with SyphonServerCustomResolution

Hi Brian,
Wondering what the best way to accomplish passing mouse position while the custom resolution output script is implemented. With a regular Syphon server running, I am still able to use Camera.WorldToScreenPoint, but as soon as I activate the custom resolution script instead, I get a NullReferenceException. Is there a new camera that I can call?

Thanks!!
-Mike

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.