You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a12 added SyphonClientTextureProjector script, and made it so that SyphonClientTexture adds the mainTexture on all materials on a gameObject, not just the first
@@ -30,19 +30,41 @@ Open the .unitypackage to import to an existing project, or simply create a new
30
30
\
31
31
Add a Syphon.cs to your main camera. this will act as your Syphon manager.\
32
32
\
33
-
Syphon Server: \
34
-
You have two options.\
33
+
34
+
\b (*For new users*) \
35
+
----------------------
36
+
\b0\
37
+
38
+
\b Syphon Server:
39
+
\b0\
35
40
1) if you want to simply output the existing Unity scene camera as a syphon server, add a SyphonServerTexture to any camera in your scene. For basic setups, use this.\
36
41
\
37
-
2) (*For advanced users*) if you want to output a custom resolution video texture (i.e., 3072x768 for a triplehead, etc) add a SyphonServerTextureCustomResolution to the main camera in your scene. If you want a quick way to use Unity as a control surface, where its GUI is only visible inside the Unity app itself, additionally take a look at the code in ControlSurfaceExample. See the unity scene SyphonServerCustomResolution.unity for a demo.\
38
-
\
39
-
\
40
-
Syphon Client: \
42
+
43
+
\b Syphon Client:
44
+
\b0\
41
45
Add a SyphonClientTexture to any object in your scene.\
42
46
On the SyphonClientTexture, in the public inspector fields, add the name and appName of the client you just added.\
47
+
48
+
\b ----------------------\
49
+
50
+
\b0\
43
51
\
44
-
Take a look at the code in SyphonClientTexture.cs's ApplyTexture() method to see how to add additional functionality- adding the texture to projectors, bump maps, etc.\
52
+
53
+
\b (*For advanced users*)\
54
+
----------------------\
55
+
Syphon Server:
56
+
\b0\
57
+
if you want to output a custom resolution video texture (i.e., 3072x768 for a triplehead, etc) add a SyphonServerTextureCustomResolution to the main camera in your scene. If you want a quick way to use Unity as a control surface, where its GUI is only visible inside the Unity app itself, additionally take a look at the code in ControlSurfaceExample. See the unity scene SyphonServerCustomResolution.unity for a demo.\
45
58
\
59
+
60
+
\b SyphonClient:
61
+
\b0\
62
+
if you want to use a Projector as a Syphon client, add the SyphonClientTextureProjector script to a gameObject that has a Projector on it, and then in its public inspector fields, add the name and appName of the client.\
63
+
64
+
\b ----------------------\
65
+
66
+
\b0\
67
+
Take a look at the code in SyphonClientTexture.cs's ApplyTexture() method to see how to add additional functionality- adding the texture to projectors, bump maps, etc.\
\b0\cf0 a12: added SyphonClientTextureProjector script, and made it so that SyphonClientTexture adds the mainTexture on all materials on a gameObject, not just the first\
59
83
a11: added a custom resolution syphon example, and fixed a rare threading issue on syphon exit or creation. \
60
84
a10: fixed a bug with OnRetireServer crashing with OpenFrameworks servers exiting.\
61
85
a9: fixed some Unity 4.2 texture creation and 64 bit issues. uses custom Syphon framework with multithreading changes.\
0 commit comments