3D anaglyph support

User avatar
xyz
Member
 
Posts: 449
Joined: Thu Nov 10, 2011 14:25

3D anaglyph support

by xyz » Tue Feb 14, 2012 12:26

I have implemented (/copypasted) this piece of code for anaglyph support to work with Minetest. Here is a simple patch. If somebody has anaglyph glasses (I don't), please test and confirm that this works.
To enable anaglyph add line "anaglyph=true" to your minetest.conf. Also you may be interested in "anaglyph_strength" setting, by default it is 0.01 (some people confirmed that 0.1/0.08 is better).
 

Nemo08
Member
 
Posts: 132
Joined: Mon Dec 26, 2011 04:59

by Nemo08 » Tue Feb 14, 2012 12:38

Cooool!
 

bwog
Member
 
Posts: 283
Joined: Wed Nov 30, 2011 14:09

by bwog » Tue Feb 14, 2012 17:45

I would try it but I'm assuming I'd have to compile it. Could you take a screenshot and post it here?
 

User avatar
xyz
Member
 
Posts: 449
Joined: Thu Nov 10, 2011 14:25

by xyz » Tue Feb 14, 2012 18:10

bwog wrote:I would try it but I'm assuming I'd have to compile it. Could you take a screenshot and post it here?

Here: http://imgur.com/a/dWR1m (taken by Nemo08). But it's better to compile and try yourself.
 

bwog
Member
 
Posts: 283
Joined: Wed Nov 30, 2011 14:09

by bwog » Thu Feb 16, 2012 23:09

From those images, it doesn't work very well. There's too much "ghosting". (Seeing the image twice, therefore making it not look 3d)
 

User avatar
MirceaKitsune
Member
 
Posts: 809
Joined: Sat May 21, 2011 22:31
GitHub: MirceaKitsune
IRC: Taoki
In-game: MirceaKitsune

by MirceaKitsune » Fri Feb 17, 2012 10:34

Oh, I didn't see this thread earlier. I brought this up on IRC a few days ago, and tested the patch with xyz. I play Minecraft with anaglyph stereo most of the time (which looks incredible), so I'd really like this in Minetest too.

Anyway, I played with this patch and it works great. Default anaglyph_strength should not be 0.01 however. That's very little and makes the effect almost useless. Use at least 0.05, though 0.1 matches the strength in Minecraft and looks best.
 

jn
Member
 
Posts: 106
Joined: Tue Jan 03, 2012 19:15

by jn » Fri Feb 17, 2012 11:11

bwog wrote:From those images, it doesn't work very well. There's too much "ghosting". (Seeing the image twice, therefore making it not look 3d)

Are you looking through anaglyph 3D glasses?
 

bwog
Member
 
Posts: 283
Joined: Wed Nov 30, 2011 14:09

by bwog » Fri Feb 17, 2012 13:26

jn wrote:
bwog wrote:From those images, it doesn't work very well. There's too much "ghosting". (Seeing the image twice, therefore making it not look 3d)

Are you looking through anaglyph 3D glasses?

Yes.
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Fri Feb 17, 2012 13:32

bwog wrote:
jn wrote:
bwog wrote:From those images, it doesn't work very well. There's too much "ghosting". (Seeing the image twice, therefore making it not look 3d)

Are you looking through anaglyph 3D glasses?

Yes.

deeeeeeeeeeeeeeeeeeeeeeeeeeeerp
If you can think it, you can make it.
 

bwog
Member
 
Posts: 283
Joined: Wed Nov 30, 2011 14:09

by bwog » Fri Feb 17, 2012 13:38

jordan4ibanez wrote:
bwog wrote:
jn wrote:Are you looking through anaglyph 3D glasses?

Yes.

deeeeeeeeeeeeeeeeeeeeeeeeeeeerp

What?
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Fri Feb 17, 2012 19:37

herp derp is it foriegn to you?
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

jn
Member
 
Posts: 106
Joined: Tue Jan 03, 2012 19:15

by jn » Fri Feb 17, 2012 21:44

So what exactly is so stupid about this conversation?
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Fri Feb 17, 2012 22:29

you asked if he was looking through anaglyph glasses when the whole topic is on 3d support
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Sat Feb 18, 2012 13:36

probably his screen colors don't match the colors of his anaglyph glasses very well. for mine it works as good as anyglyph can be ... anaglyph is never perfect
DON'T mention coding style!
(c) sapier all rights reserved
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Sat Mar 10, 2012 03:28

I haven't tried it yet, but how do you turn it on/off once you have compiled (and installed) it?
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Sat Mar 10, 2012 03:31

ok, I should have read the post completely (stupid me...)
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Sat Mar 10, 2012 04:44

I like it (I used a setting of 0.05 which works great), but there is one bug: The cursor. If you move your mouse over to a block nearby, the black wireframe cursor looks really weird (with the 3D glasses on).
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Sat Mar 10, 2012 16:04

No chance of stereoscopic 3D? I've got that on my tv but not the old red blue glasses:/
Keep calm and code python^_^
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Sat Mar 10, 2012 19:20

I fixed the bug with the block pointer/cursor: http://c55.me/minetest/forum/viewtopic.php?id=1228. Could you integrate it in your patch xyz?
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

TheWesleyOne
Member
 
Posts: 15
Joined: Thu May 10, 2012 17:26

by TheWesleyOne » Thu May 10, 2012 21:23

xyz your pastbin link is gone/dead please update :)
Last edited by TheWesleyOne on Sat May 12, 2012 17:34, edited 1 time in total.
Yes I know the name is not proper, it sounds better this way
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Thu May 10, 2012 23:51

I wouldn't mind seeing this developed further as well, but the user should be able to adjust the colors to match their glasses. The screenshots look like the patch is designed for magenta/green glasses instead of red/blue.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Fri May 11, 2012 21:22

no, it's actually red/cyan, but I agree that people should be able to change the colors.
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sat May 12, 2012 11:09

*looks again*

Oops, you're right. I just can't get my eyes to converge the two fields properly because they're too widely separated. Probably a good idea to make that adjustable too :)
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Thu Nov 01, 2012 15:17

VanessaE wrote:*looks again*

Oops, you're right. I just can't get my eyes to converge the two fields properly because they're too widely separated. Probably a good idea to make that adjustable too :)


I noticed that as well.

The link it still dead
 

User avatar
MirceaKitsune
Member
 
Posts: 809
Joined: Sat May 21, 2011 22:31
GitHub: MirceaKitsune
IRC: Taoki
In-game: MirceaKitsune

by MirceaKitsune » Thu Nov 01, 2012 16:29

This has already been merged in OldCoder's fork. But sadly not in the normal MineTest... I thought it had been months ago :(
 


Return to Minetest Engine

Who is online

Users browsing this forum: No registered users and 28 guests

cron