To send a picture to Ventuz via socket from Unity. I change the picture to Byte[], and i got the byte[] in Ventuz, but I can't link the byte[] to Image note or texture node.
Does anyone know anyNode accept byte[],or Know how to render the picture like this.
ps:I want to show the screen shot from unity on the Ventuz Scene!
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
How to render a picture into the screen
Moderator: Support
Re: How to render a picture into the screen
Hi,
I'm not sure that it's possible the way you are trying to do it.
I would save the image from unity to the file system and then send ventuz the file path of the image you saved via the Ventuz remoting library.
Once you have the path in Ventuz you can use it with a texture loader.
Cheers
Gaz
I'm not sure that it's possible the way you are trying to do it.
I would save the image from unity to the file system and then send ventuz the file path of the image you saved via the Ventuz remoting library.
Once you have the path in Ventuz you can use it with a texture loader.
Cheers
Gaz
Gareth - Kinetic Pixel
Re: How to render a picture into the screen
thank you for your reply,To save the image into the hard disk is the secondery choice for me. I want to write a script to load the picture from the memory, which can save a lot of time and computing resource。gaz99 wrote: ↑28 Aug 2018, 12:34Hi,
I'm not sure that it's possible the way you are trying to do it.
I would save the image from unity to the file system and then send ventuz the file path of the image you saved via the Ventuz remoting library.
Once you have the path in Ventuz you can use it with a texture loader.
Cheers
Gaz
i can read the picture from the byte ,but i can't load it into the Scence. i want to find a note to recept the byte array!