Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by rohKan · Mar 03, 2014 at 08:53 AM · cameranetworkingwindow3d modelbroadcast

Broadcast camera render over network

We have built an app which has a 3D model on the left and user interface to the right. The changes that the user makes on the interface gets reflected on the 3D model e.g if he selects pants then the a pant gets instantiated on the 3D model. But, I would like to see the 3D model in a separate window and the Interface in the separate window. I understand that this has to be done via Networking. Which approach should i go for? Should i use Network.Instantiate(This would be complex since it has many dependencies) or send rendered camera texture?

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Kiloblargh · Mar 03, 2014 at 09:36 AM 1
Share

Is it really worth it? I'd rather have them both in a single window. If you can afford to buy dual monitors for the galley slaves, you could just as easily buy big widescreens, right? (And if you're trying to do this for any other reason than dual monitors, it's completely foolish.)

Flamy's right; just try out the Unity Remote app for a $$anonymous$$ute and you will be cured of the crazier of your two ideas instantly.

avatar image rohKan · Mar 03, 2014 at 11:30 AM 0
Share

Yes i am implementing this for dual monitors. The purpose of this separation is that the 3D view showcases the transformations of 3D model on one screen and the other screen acts as an interface to control the model.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by flamy · Mar 03, 2014 at 09:23 AM

I would suggest you to use Network.Instantiate, how much ever complex it gets... dont even think about sending rendered camera texture. Practically it is impossible to send render texture per frame.

EG: your game is running at 30 FPS and render texture size is 1 mb, you would have to send 30 mb per second which is practically impossible and also dont forget that you have to receive 30 mb from other end. Making it 60MB traffic minimum per second.

Instead what you can do is use Network.Instantiate() and and make sure that everything is instanitated by the server. for example if the action is from client, a request should be send over to the server for instantiating and server would instantiate it (not the only way, just a suggestion.)

The first rule of networking is to keep the traffic as minimum as possible.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image rohKan · Mar 03, 2014 at 12:57 PM 0
Share

Thanks flamy, I think i will have to go for it.

avatar image
0

Answer by Realform · Nov 18, 2019 at 09:34 PM

https://answers.unity.com/questions/190340/how-can-i-send-a-render-texture-over-the-network.html

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

22 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

mirror player camera using one camera 0 Answers

Unity 3rd Person Camera in Multiplayer 0 Answers

camera layer issue, multiplayer. 1 Answer

Using Different Cameras in Network. 1 Answer

Multiplayer camera switch issue 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges