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 Jordan Miller 2 · Jul 29, 2010 at 08:21 PM · cameramovement3dangles

Camera Movement and angles

ok, so this is a really hard problem I don't know if anyone can help me or even if its possible but maybe just maybe someone here is uber-smart.

I'm trying to recreate the 3d monitor from johnny Lee's Wii demo.

skip to the end

I'm wondering if it's even possible. essentially I need to make my monitor act as a window. not just a camera. that's it.

A camera can rotate left and right but as you can see in the video I need part of the screen to remain connected to the edge of the view. I honestly have no idea where to start. please help me!

Comment
Add comment · Show 3
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 e-bonneville · Jul 29, 2010 at 08:30 PM 0
Share

Sounds like you might need an image in the GUI.

avatar image Jordan Miller 2 · Jul 29, 2010 at 08:32 PM 0
Share

what do you mean? I'm so sorry I'm really not very knowledgeable about all this

avatar image e-bonneville · Jul 29, 2010 at 11:37 PM 0
Share

Never$$anonymous$$d. On second thought, I don't know if that's what you want. Sorry for the confusion.

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by StephanK · Jul 29, 2010 at 09:59 PM

What you need to do is calculate an asymetric view frustum that changes with your position. This is not trivial, but I can really recommend this book http://www.amazon.com/Spatial-Augmented-Reality-Merging-Virtual/dp/1568812302 , it has a whole chapter on different projection matrices, which is essentially what you need to achieve this effect.

Comment
Add comment · Show 6 · 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 Jordan Miller 2 · Jul 29, 2010 at 10:34 PM 0
Share

thanks so much but I wonder if it can even be done with Unity 3D - can I change those $$anonymous$$atrices with scripting in unity?

avatar image StephanK · Jul 30, 2010 at 09:57 AM 0
Share

Yes you can. You can change a camera's projection matrix via scripting. In theory you should also be able to do this using fragment shaders, but I am no good at writing shader code, so this is more of an educated guess. ;)

avatar image Jordan Miller 2 · Jul 30, 2010 at 01:30 PM 0
Share

thanks spree, can you perhaps point me in a direction of where I can figure out how to script the camera thusly? I mean I know about the book, but I'm assu$$anonymous$$g I'd have to have some specific knowledge to the unity camera object to be able to code it in unity.

avatar image StephanK · Jul 30, 2010 at 01:45 PM 1
Share

Yes, read the manual... ;) Seriously, this is the reference page you want to look at: http://unity3d.com/support/documentation/ScriptReference/Camera-projection$$anonymous$$atrix.html

avatar image Jordan Miller 2 · Jul 30, 2010 at 01:51 PM 0
Share

you've made me a very happy man. :)

Show more comments
avatar image
0

Answer by jooki-2 · Feb 12, 2011 at 01:48 PM

hey, did you get along with this problem? it's exactly the point i'm concerning about now.

my final project at design studies is about about to deal with the giant multitouchtable they got at my institute, on which i want to put 3d modells on. I want to achieve kind of a holohraphic illusion, that they are really standing on the surface of the table. by the help of faceapi for face viewer tracking... it's hard for me because i'm a graphicdesigner dummy to any code.

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

No one has followed this question yet.

Related Questions

Smooth Camera Follow Script, Weird Movement... Please help! 1 Answer

Moving player in direciton camera is facing 1 Answer

Camerascript works strange! 0 Answers

Completely free moving camera script 4 Answers

How to synchronize both movement and rotation? 1 Answer


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