Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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
1
Question by metervara · Jun 09, 2010 at 12:25 PM · renderingpluginstereoscopic

colorcode3d stereoscopic

Hi,

we're investigating the possibility of using http://colorcode3d.com with unity. I'm in contact with their tech support, but things are over my head so I'm hoping someone can help me with a few points:

  1. The colorcode dll requires that I assign left/right images to specific texture slots. Is this possible from within unity?

  2. Rendering output is to whatever rendering target is active on the current device. Would this be the active rendertexture?

Witepaper with code example of implementation - maybe someone understands this :-) http://www.colorcode3d.com/Vault/PDF/SDK%20Whitepaper.pdf

Thanks, Patrik

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by spinaljack · Jun 09, 2010 at 02:09 PM

This question has come up before and I think the consensus is that it's possible you might be able to do it with render to texture with some kind of overlay processing i.e. not possible in free unity.

I'm assuming you mean anaglyph 3D (or similar system), there is another solution which can be done in free unity with just 2 cameras rendering to 2 sides of the screen and then using special lens glasses to combine the 2 pictures, this also means it can be in full colour but it doesn't allow much in the way of viewing angle.

Elements on iPad uses such a technique:

http://boingboing.net/2010/04/03/3d-glasses-for-the-e.html

They sell the glasses for $4.95

Shader program docs:

http://unity3d.com/support/documentation/Components/SL-ShaderPrograms.html

Using plugins (stand alone only):

http://unity3d.com/support/documentation/Manual/Plugins.html

Link to a thread about importing a DLL:

http://forum.unity3d.com/viewtopic.php?p=125698&sid=636b478a59b34f2517629bd50916ee78

Comment
Add comment · Show 3 · 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 metervara · Jun 09, 2010 at 03:38 PM 0
Share

Thanks. Standard Anaglyph stuff is possible, I have that working. Colorcode3d is a proprietary solution where you need to speak to their sdk (dll). So the question is not if it can be done in general but specifically with colorcode3d - which requires some low-level access to texture slots.

avatar image spinaljack · Jun 09, 2010 at 03:48 PM 0
Share

You can write your own custom shaders and call external files and dlls in Unity which I think is a pro feature. There's certainly nothing built in for 3D effects

avatar image metervara · Jun 17, 2010 at 03:32 PM 0
Share

Talking to the dll is not a problem. Issue is that the dll gets the right and left textures for the 3d effect from predeter$$anonymous$$ed texture slots 0 and 1. To my knowledge i cannot assign textures to specific texture slots, so I guess that is what i need confirmation on. The whitepaper has a c++ example of how to talk to the dll, but I'm not proficient enough in c++ / gpu stuff to know how that translates to unity. Any further info is greatly appreciated - Thanks.

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

Test stereoscopic rendering without oculus rift plugged in 0 Answers

Native rendering plugin doesn't work on Linux 0 Answers

Problem with rendering stereoscopic with build application (work fine with Unity editor play mode though) 0 Answers

AR glasses, unity app renders left image on both L/R screens 0 Answers

How do I adjust the parallax when doing stereoscopic rendering? 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