• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 … 108 109 110 111 112 … 117 Next »

It is possible?
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
It is possible?
06-16-2009, 02:52 AM
#1
jackinthedark
Unregistered
 
First of all i'm not asking to someone make this, i am just curious if this can be done.
So i want to kno if using the post-processing shader on dolphin you could make the grafics to work with the 3D glasses?
[Image: blog_3d.jpg]

If someone don't know what the grafics are like, its something like that.

[Image: 3d_virtualien_anaglyph.jpg]
Reply
06-16-2009, 03:30 AM
#2
Iulius Offline
Senior Member
****
Posts: 410
Threads: 6
Joined: Jun 2009
postprocessing shader only modifies the color of each pixel from the final picture.

as 3d-view through 2 colors needs 2 pictures from 2 different viewing angles, it is not possible this way.
Find
Reply
06-16-2009, 03:46 AM
#3
jackinthedark
Unregistered
 
ok, thanks for the fast answer.
Reply
06-16-2009, 04:14 PM
#4
mudlord Offline
Member
***
Posts: 61
Threads: 3
Joined: Apr 2009
Quote:postprocessing shader only modifies the color of each pixel from the final picture.

as 3d-view through 2 colors needs 2 pictures from 2 different viewing angles, it is not possible this way.

Think:
* Use two render targets.
* Use a shader to post process and mix video output
*....
* PROFIT!!!

>.<
Find
Reply
06-16-2009, 04:24 PM
#5
kuno86 Offline
Member
***
Posts: 78
Threads: 5
Joined: Mar 2009
That idea sounds really great Big Grin
- AMD Phenom X4 9950
- 4GB DDR2 RAM
- GeForce 260 GTX
- Win 7 Ultimate 64Bit
Find
Reply
06-16-2009, 04:39 PM (This post was last modified: 06-16-2009, 04:40 PM by omegadox.)
#6
omegadox Offline
Senior Member
****
Posts: 401
Threads: 17
Joined: Mar 2009
or if you have the depth info of every pixel that is on the Framebuffer.
I almost pulled it off: http://code.google.com/p/dolphin-emu/sou...scopic.txt
:: System Specs ::
Operating System: Windows 7 Professional x64
Video Card: ATI Radeon HD 5770
CPU: AMD Phenom I X4 9550
RAM: 6GB DDR2
EXP Index: 999999.999999
Find
Reply
06-16-2009, 05:06 PM (This post was last modified: 06-16-2009, 05:09 PM by Iulius.)
#7
Iulius Offline
Senior Member
****
Posts: 410
Threads: 6
Joined: Jun 2009
3d stereoscopy works because the eyes of a human being are not at the exact same place.

i really wonder how you would produce 2 pictures from different positions with only one picture and depth info.


example :

you got a dice infront of you and are looking on the 6 with the left eye.

the right eys looks on the other side of the dice and sees a part of the 4 for example.

now in rendering you would only have the 6 and maybe depth info. but how do you make a cyan colored picture showing parts of the 4 out of that ?

i'm really intrested Smile
Find
Reply
06-16-2009, 06:35 PM
#8
ector Offline
PPSSPP author, Dolphin co-founder
*
Project Owner  Developers (Administrators)
Posts: 189
Threads: 2
Joined: Mar 2009
It's possible, but you have to hack the gfx plugin to render to render everything twice to two render targets, then use a shader to combine them. Since the actual vertex positions must be different, you can't just use MRT to render to two render targets simultaneously, you have to buffer up the entire scene and render it again (HARD), or switch back and forth between two render targets really quickly (SLOW).

So, well, not for the faint-hearted.
Website Find
Reply
06-16-2009, 06:47 PM
#9
mudlord Offline
Member
***
Posts: 61
Threads: 3
Joined: Apr 2009
...but as I explained, can be done Smile. I didn't say anything about speed though Tongue.
Find
Reply
06-16-2009, 09:23 PM
#10
abfab126 Offline
Revenge of the B*tch
*******
Posts: 715
Threads: 7
Joined: Apr 2009
Yep , you will need a 120hz monitor to be able to play 60 hz games ! ^^
Pentium G2120 Ivy Bridge 3.1Ghz
8GB 1333 DDR3
ASUS 560 TI CU2 TOP
Crucial M4 64Gb

Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma