algorithmic modeling for Rhino
Hi all,
I'm making this new plugin for Grasshopper recently to connect with Unity to send mesh data in realtime. You can send the mesh geometry as it is to Unity and view it any app which includes VR app, IOS app... etc that are built by Unity.
This plugin is using Socket.IO to send geometry through network so not only you can send the mesh locally but you can send it through internet as well. I haven't made a component yet but technically you can also send and receive geometry between multiple grasshopper files in realtime as well (not sure if this function is useful though).
Still in early beta but if anyone who's interested in testing let me know.
Comment
Hi Junichiro,
Thank you very much for making this plug in and sharing it!
But I have some issues, I downloaded all the plugin and files you uploaded, but the code doesn't work properly. I also tried the debug problem solving you uploaded too.
I don't know any of C# or java script but according to my searching, I think these problems are due to version difference. Do you have plans to adjust the scripts for upper versions?
On Unity script, first there were missing script on MainScene/TestSocket. Is this suppose to be empty? cause the SocketIO in prefabs file had 'SocketIOComponent' script. Second, I tried the beep.js example file to check the problems, it says the } and ) is an error. I don't know why that is an error though. Also, Keyframe.tangentMode doesn't work(VectorTemplates.cs in Assets/SocketIO/JSONObject). It's because the tangentMode script has moved to AnimationUtility class in Unity 2018 (this is my current version).
On Node.js part, I think the app.js works properly cause the 'server connected.' message popped up on the console, but it isn't receiving the data from the grasshopper. The message from the grasshopper plugin also randomly shifts from 'disconnected', 'error' and 'reconnected' every time I change the toggle true. I'm using Rhino 6 now, could it also be because of the version difference?
Thanks!
Hi Junichiro,
really nice project.
I just downloaded your package from GitHub, but I think the GH plugin isn't yet released.
If it's possible, I would love to try it.
Thanks
Hi Junichiro,
Is it possible to send mesh colors with your component ?
I followed your "How to use vertex colors in Unity" tutorial; I am successfull with .fbx imports but not with streamed meshes: Am I missing something ?
I want to try this plugin. Where can I find a compiled version of this?
Thanks :D
Great Components and Programs!
Thanks a lot.
Many thanks @satolas! I'm going to test it and let you know!
Cheers guys
Thanks @Satolas for sharing your video...it's a great resource for using the plugin!
Hello Viola,
Did you grabbed the file from there ?
https://github.com/jhorikawa/MeshStreamingGrasshopper
I guess this version is the stable one.
The answer I gave to Bonny was based on another problem I think.
Just to be sure I made a little video capture to show the steps to follow. I hope that will help you:
https://youtu.be/6o62HBaTQ1s
ps: in the video I do "open scene" (my mistake ^^) but of course on your side do "open project"
And once in the project open the "MeshReceiving" scene.
Let me know if you still have problems :-)
Cheers,
Hey Satolas and Bonny
I'm new of Unity so apologize in advance for my question :)
I'm having problem to connect gh. As @Bonny, I did npm install for the json package, ran app.js in the command line, and the server is running.
I have also changed the ip address in GH with my own ip but I'm not sure where to change in Unity. @Satolas suggest to look for "receive component (c#) " but I'm not sure where can I find it.
Any suggestion?
Thanks
Hi Satolas,
Thank you so much! I think launching the command prompt as administrator did the trick :)
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by
You need to be a member of Grasshopper to add comments!