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
2
Question by QUICKSORT · Feb 07, 2013 at 07:30 PM · projectormultiple-monitorsmulti-displayprojectorsrendertotexture

multi-projector 270° monitor

Hi,

I'm making a game using Unity Engine for a 270° cloth monitor powered by 3 projectors. The projectors are placed on a high angle so that they don't interfere with the person standing in the middle.

This is the screen:

alt text

So the problem is, I have to produce output for 3 monitors which are projected from a high angle on a curved cloth. So I have to transform the video output in such a manner so that the output is presented correctly as in the example image.

I have the necessary calibration tools to calculate how the shape is supposed to look. But I wanted to ask what's the easiest way to transform the output through unity engine, given the necessary info?

I thought of using render to texture, where the game view consist out of a black screen and one 2d model that represents the shape I need to project, and put the actual in game content as a texture(rendere to texture) on that with the correct texture coordinates.

So is that the correct way to do it, or is there a more simple way to do it, as in directly giving shape to the actual game view?

To give you a better idea, here is my situation.

If the output is like this for the three monitors in normal circumstances: (every digit represents a monitor)

alt text

Then I have to transform it into something like this, in order to make the output look straight on the projection cloth: (again digits represent the monitor)

alt text

Though this image might need more explanation. The output is still the whole black area. but the red edges represents the edges of the rendered material (game view) Which needs to be stretched to that form. where the other areas needs to stay black.

I I made my point clear.

Thanks in advance,

Waiting for a reply.

Kind regards

before.png (3.0 kB)
after.png (4.1 kB)
Comment
Add comment · Show 7
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 leonida · Apr 24, 2013 at 02:34 PM 0
Share

I have the same problem .. have you solved? thank you!

avatar image Graham-Dunnett ♦♦ · Apr 24, 2013 at 08:31 PM 0
Share

Sounds like you'd write a shader that applies the distortion you need.

avatar image QUICKSORT · Apr 24, 2013 at 08:47 PM 0
Share

I'm currently still working on it.

What I have now is, A 3d camera is place in the middle of the cave. A snapshot is taken. Out of that data a 2d mesh (vertices, Uv-coordinates and triangles) is created with an alpha masks. That was the trickiest part, creating a mesh out of that snapshot. A quite difficult algorithm.

In the end I managed to create a mesh. Today I was able to load that mesh correctly in Unity dynamically. All I need now is to put the render-to-texture on that mesh. Since the UV-coordinates are pre-calculated, the texture should appear correctly.

So the next few days I'm going to have to look at dynamically putting the render-to-texture on that mesh. Hope it will work out well

avatar image kclai · Dec 16, 2013 at 07:29 AM 0
Share

Hi, I have a 180 deg screen that pre-wrapped 2 projectors onto a single curved desktop, have no problem to display the content with eyefinity if the FOV was properly set. However it's not that easy when doing 270. Do you have a solution yet? Thankyou!

avatar image QUICKSORT · Dec 16, 2013 at 08:55 AM 0
Share

Hi, that was a part of my bachelor thesis. It was finished before summer vacation. It works great. What I did was create custom 3 meshes with correctly calculated UV-coordinates for each projector. For my ingame camera I created a custom omnidirectional camera (consisting out of multiple camera's with a very small FOV each) aligned next to eachother. I'm using that output of the cameras on those three meshes which I project through each projector. and Voila I had perfect result.

And this implementation is also portable, so I was able to view any unity project on that 270 degree cave.

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Clement_Shimizu · Mar 03, 2016 at 06:53 PM

Looks great.
I built a generic system called Omnity for Unity3D that has many powerful methods of projection mapping onto curved surfaces. Check it out on the asset store here. https://www.assetstore.unity3d.com/en/#!/content/7415

Comment
Add comment · Show 2 · 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 V-Jankaitis · Feb 17, 2017 at 02:01 PM 0
Share

Would this plugin work with standard projector?

avatar image emergki · Jun 22, 2017 at 01:22 AM 0
Share

Hi Clement, I'm trying to receive any support from your side, I've purchased your Omnity but I need some help about it, anyway, the Elumenati support doesn't work, no one answer me there.

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

16 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

Related Questions

Command argument "-adapter N" not working as it should 1 Answer

MaterialPropertyBlock Equivalent for Projectors? 1 Answer

Multidisplay: 1 camera output over 3 fixed displays 2 Answers

Projector projects through game objects 1 Answer

Modify Light Projector Shader to be Additive 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