Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a node that allows for anaglyph ( red- cyan ) SBS 3D effect . . #1805

Closed
jasperbrooks79 opened this issue Nov 11, 2020 · 68 comments
Closed

Comments

@jasperbrooks79
Copy link

Describe the project you are working on:
A Tomb Raider game, now also have Oculus Quest 2 VR head-set, and got some red-cyan 3D glasses . .

Describe the problem or limitation you are having in your project:
Well, I've been wanting for a cheap, reliable, hardware-independent way, of making the 3D effect, like on 3D tv's, and it turns out there are anaglyph glasses, passive polarized glasses, and active shutter 3D glasses . . The last two require a special screen, but anaglyph glasses work, right away, on any standard monitor . . I thought the 3D effect would be really bad, but after watching a 3D anaglyph movie, on youtube, it is as good, or better, than the cinema, but many or, some of the videos, are not so good . . I was wondering if Godot could maybe get a setting, to turn on anaglyph 3D rendering, looks like this image . .

2020-11-11 1743

The cost of such glasses are 10 - 12 dollars, for two pairs, and they work on ALL monitors, and TV's, connected with a cable, also . . One can also download SBS 3D movies, and play them in VLC player, and there's the movie 3D effect . . If you have the time, or so, try and get some red-cyan 3D glasses, and watch this movie, it's really amazing, really cool . .

https://www.youtube.com/watch?v=e00N024D7Lg

3D is a bit, of a gimmick, or so . . But, that movie, and a few other on youtube look REALLY good, even better than the 3D movies, except for the slight tinge effect, towards yellow, greenish, from the colored glass . . Since this works really well, and is a super-cheap way for people to experience 3D, I was hoping you could make a special AnaglyphCamera3D, it require two cameras nearly side-by-side, and over-laying the two perspectives, seen it done, in a shader, but since this is very, very cheap, as in 10 - 12 dollars, for TWO glasses, it seems a fitting way, for people to have a bit of silly fun, with 3D in Godot, and doesn't require a special monitor, projector, or polarized screen . . . If you try and get some of these glasses, they look like this, watch the youtube video, I think you'll agree, the effect is stunning, for such a low cost . .

2020-11-05 0359

Since Godot is totally free software, and looking at youtube videos, one needs to really tweak the settings, to get the right look, not sure if the distance between the two side-by-side cameras is individual, so maybe there should be a setting, for this . . Anyway, it's a really cool way to get a nice 3D effect, and I think you'll have your minds blown, if you watch the above video . . It's dirt-cheap, fun, and doesn't require special hard-ware, IF Godot was to get some sort of 3D effect, on any monitor, this would be a good place to start, so I hope we could get an AnaglyphCamera3D, that's basically two cameras, side-by-side, with the images rendered, so they look, like this . .

2020-11-11 1750

It's so cheap, I see no reason it can't be a camera, or, a node, in Godot, and it takes 20 minutes to code it, but one needs to know how to do shader stuff, so I can't do it, it's simply too difficult, but the video I saw, I think to get the optimal effect, one needs to add some different settings, like maybe eye-distance, or so . . Was thinking Godot could get this, or so, for fun . . .

Describe the feature / enhancement and how it helps to overcome the problem or limitation:
3D is sort of, cool and, nice, or such . . Would really like to have a new node, maybe in Godot 4, or so, that renders a 3D viewpoint, in anaglyph setting, but a really well - implemented version, so it looks like the above video, which is pretty amazing <3

Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
I'm not sure how to do this, but it'd be a nice thing, in Godot, since it's so cheap, glasses cost 10 dollars, or less, it works on any monitor, down to the cheapest, also tv sets and, then people can have some fun with 3D, or so . .

If this enhancement will not be used often, can it be worked around with a few lines of script?:
I think it could be cool, if it was really well implemented, since 3D is pretty amazing, but so far isn't supported, with a quick feature, or so . . It actually looks amazing, if you could get some of these glasses, and see the Bunny Buck video, it's actually the full 3D effect, of modern cinemas, but basically available to all, regardless of monitor, hard-ware platform, etc, and it could be fun to play a 3D game, made in Godot, where the only hardware required, is some 8 - 10 dollar glasses, from internet . . <3

Is there a reason why this should be core and not an add-on in the asset library?:
Well, bec. 3D is cool, and sort of fits the 3D game engine, very well <3 . .

@Calinou
Copy link
Member

Calinou commented Nov 11, 2020

As far as I know, this can already be implemented with a shader which can then be distributed on the asset library.

Also, red-cyan (or other two-color) anaglyph modes tend to be on the way out. They don't provide an actually good experience and are considered a novelty in 2020 more than anything else.

@jasperbrooks79
Copy link
Author

I googled it, and found some images immediately, that look STUNNING . .

Uploading 2020-11-11 1757.png…

2020-11-11 1758

2020-11-11 1759

If you look at these images, the 3D is DEAD stunning, amazing, it's like you can leap into the picture, there are no artifacts, it's SIMPLY mind-blowing . .

Given the price, and no need for a monitor, if it was implemented as well as these images, it'd be crazy - fun . . <3

@jasperbrooks79
Copy link
Author

I think maybe the problem is, they didn't know how to optimize the effect, the stuff you see in these images, or by googling anaglyph 3D images, is near 100 % the best 3D experience, I've ever seen, and it's so cheap to get started, also . . 8 - 10 dollars, and you have a 3D tv, or game dev environment, it's just amazing, really . . <3

@jasperbrooks79
Copy link
Author

These, look mind-blowing, like you can dive into it, or you're hovering over the images, in real life . . .

2020-11-11 1802

2020-11-11 1803

Maybe one could add a setting, under Camera3D, to render anaglyph 3D, so it's quite easy . .

I can honestly say, the pictures are some of the best, cutting - edge 3D effect I've ever seen, to date, with simple anaglyph glasses, you'll be amazed, at the effect, and cost, is 8 - 10 dollars, often for two pair <3

@jasperbrooks79
Copy link
Author

I also thought the 3D effect had to be last-gen, or really bad . . But, trust me, the images above literally POP, and feel ' real ', the effect is simply AMAZING, maybe people with different eye distance will need to find other images, I googled anaglyph images, and right away, there were some REALLY good ones, REALLY nice . .

Please, consider . . <3

@SIsilicon
Copy link

I have skimmed through your proposal, and see that the main reason to add it to Godot is "because it's cool".
Have you taken into consideration the following that this isn't commonly used nowadays? This is a little too specific to be added to the engine. Plus, adding to what @Calinou stated, an implementation of this can be made with a shader an a couple viewports, so it doesn't even need to be a part of the engine. Don't forget.
If it can be made an add-on, it should probably stay an add-on.

@jasperbrooks79
Copy link
Author

jasperbrooks79 commented Nov 12, 2020

Yes, but the person I saw that made an add-on, it gave a really bad result, but it was 3D, to get a really good shader, and the correct camera set-up, might require some real pro shader coders, like in some images, the 3D is semi-good, but in others, it's like REALLY, REALLY good . . So, it seems one doesn't just need to convert an image, but actually know some techniques, or so, ie. it will require some research, so on . . Also, since it's not for static images, but for converting an actual 3D world into 3D, with dynamic backgrounds, distances, so on, making the effect run well, might be more complex, than making a viewport shader, with maybe interlacing . .

My biggest thing is, when I got the glasses, I was like this is dated, ancient technology, and it will look awful, the WORST 3D effect you can get, but after seeing some 3D movies, with glasses in the cinema, I can tell you, against my expectations, the 3D effect, when it's done correctly, not all images ' just ' work, is BETTER, than what I have seen, in ANY movie, to date . . The above images are the best I've found, the effect is SIMPLY amazing, and I think it has to do with, one has to render the images really well, ie. the tech behind making the images have actually improved, so it 100 % rivals, or is better, than in 3D movies, with more expensive glasses . . The ONLY down-side is, it sort of affect the colors, so the colors are a bit limited, but for the black-and-white images, the 3D effect is so good, you'll literally think, this is as good, as it gets . .

Since these are very cheap, and work on any monitor, I think it'd be cool to have a AnaglyphCamera3D ( basically two cameras, that render a side-by-side images, in an interlaced way ), like you think these glasses make the 3D effect, from movies from the 1980's, or 1970's, but when you put them on, the 3D effect is as good or, better than what is in the movies . . I'm not sure why, but these glasses rock, and you'll be mind-blown, when you find some well-rendered images, the thing is, I don't know the difference between the good images, or the bad images, so some real cool 3D people, and shader experts would have to figure out, how to get an amazing result . . Even if it was only SUPER-good for black-and-white images, those are the BEST I've seen, bec. the colors stay the same, to the eyes, one can make amazing things, entertainment-wise with such glasses, and they're so cheap, and easy for people then buying or, downloading the games, that it's simply not, an issue, like you can get them 8 dollars, on amazon . .

This image, is literally how good the best rendered image looks, or 90 % close, I had no idea, got them for fun, I think the tech behind rendering 3D images, also for anaglyph has vastly improved, since the 1980's, or so . .

2020-11-12 1424

Try getting a pair, if you have the time, order the cheapest from amazon, and you'll see something like the above, so I think it could be cool, and a fun thing to add, to the engine, so people can experience the 3D effect, at like zero investment, and even make stuff or, games in it . .

The 3D effect, is NEARLY this good, except it only goes into the screen, not out, or so . . You think it's a joke, but the rendering technique, for making the images must have gotten a lot better, or so . .

2020-11-12 6

That's why I think this could be cool, for Godot, bec. it's so cheap, it's ridiculous, and one can make stuff like the two above images, or 90 - 95 % of that, that's how much the making, of the images, has improved, even for anaglyph . . Thanks . . . I honestly thought the 3D effect would be terrible, but the above images, I get 90 % of that, in the good images, when I search for anaglyph images, on google, in 2 secs . . The effect, in some of the images, is stunning and, evocative, amazing . . .

I think it'd be cool, since game engines, 3D, 2D, code, so on, making 3D worlds, etc, fits well with the idea, of 3D tv's, and effects in general, and it'd be a nice feature, OR to have a setting in Project settings, or under a camera, to make it out-put an anaglyph 3D images . . ie., there are more subtle ways, of adding it to the engine, and also, rendering two viewports, it doesn't look like that is what makes the images really pop, I think it needs to be a more amazing shader, to really make it cool, that's why I wanted to ask, for the engine makers, to maybe look into it, and make it so, one can click on any Camera3D, to make it render an anaglyph image ( ie. make two cameras, and give the BEST technique, for the effect . .

@jasperbrooks79
Copy link
Author

if you've tried the new Oculus Quest 2, or a VR head-set with the ' 3D ' effect, imo. this is as good or, better, when the images we rendered the most pro way, so asking the engine makers to consider adding support for this, the best tech for rendering the images, so it really pops, or looks amazing . . . .

@SIsilicon
Copy link

SIsilicon commented Nov 12, 2020

I'd like to see the shader code that was used to make the effect.

I'm thinking that a good implementation of this would require two viewports to render the scene from two slightly different perspectives. Then in a screenspace shader, overlay them on top of each other with red and greenish color modulation. Maybe the implementation you've seen was just separating the red and green-blue channels without actually rendering the scene twice.
Could you give a link to the shader itself?

I'd also would like to know how making it built into the engine makes it any better than using a viewport shader setup.

@jasperbrooks79
Copy link
Author

Here's the video, it's a bit strange, or so . . But, stuff works . .
https://www.youtube.com/watch?v=WfhdeLrq6_k

The reason I think the viewport shader set-up is not as good, is that SOME anaglyph images look really good, others look really, really bad . . I think there are different ways to make this effect, and that it makes a big difference, what camera set-up you use, maybe each user needs to have a custom distance, between the cameras ( eyes ) to make it look really nice, so one would need a slider, in the shader, where one can set the distance, between the two cameras, for individuals . . That's why I think the cool dev people here, that really understand 3D, would be needed to make a shader, that makes the best results, which is where the effect gets so good, it's use-ful <3 . . Thx . . .

@jasperbrooks79
Copy link
Author

jasperbrooks79 commented Nov 14, 2020

The reason I think it should be built-in, maybe just as a toggle, under the Camera3D, or in ' Visual ' project settings, or have an AnaglyphCamera3D, is bec. when it's done well, the results are stunning, but sometimes even if an image it ' technically ' anaglyph, with glasses on, it looks REALLY bad, ie. the 3D effect is completely weird, and it looks buggy, so on . . That's why I think it's not just enough to make an ' anaglyph ' viewport shader, people actually need to work with it, pro people, to make sure the effect is on a good enough level, ie. it will look good, for all users, in some of the images I've found on google, it looks completely like, well, a big mess . . And, I think that has to do with the fact, it's not just ' enough ' to make an anaglyph image, booom it works, one needs to know how the effect works, to really optimize it, so it looks amazing . . ie., it's not as simple, as making a view-port shader, to get the BEST result, some pro people are required, to make the stuff work, at the highest level <3

And, I don't actually know, what it is that makes certain images look AMAZING, with the glasses, most of them look pretty good, but some of them, look really bad, like the rendering went bad, or so, and I have no idea, why that is, atm . .

@jasperbrooks79
Copy link
Author

The effect is only really good, when the images are rendered the ' best ' way, I also think, it might be necessary to render 3D object, onto flat planes, and then move the planes, in like billboard mode, to get the best effect, but, that could easily be done, later . . The point is, 3D is sort of, a nice thing, I love 3D movies, and this actually works, these dirt-cheap glasses, that don't require a special monitor, in terms of 3D effect, is JUST as good, as what is in the cinema, if you get some, you will be amazed at how well it works, or so . . You'd think the effect looks as good, as in the 1970's, or 1980's, where the red-cyan glasses first were released, but I tell you, this stuff can make as good, or better 3D effect, than any current movie, you can see, in the cinema . . Maybe, bec. the way they render the IMAGES, has been improved, so one can better use ALL 3D glasses, also, the red-blue ones <3

@SIsilicon
Copy link

Yeah, I watched that video before. I don't think he implemented it well either.
You're saying that sometimes the effect doesn't look good. You mean based on scenario or implementation?

Either way, I think the user who did that was ether doing it poorly, or it just looked bad to you. I don't have anaglyph glasses myself so I can't tell.

@SIsilicon
Copy link

SIsilicon commented Nov 14, 2020

There is a better way to do it in vanilla Godot. You can use the following shader.

shader_type canvas_item;

uniform sampler2D left_camera;
uniform sampler2D right_camera;

void fragment() {
    vec4 left = texture(left_camera, UV) * vec4(1, 0, 0, 1);
    vec4 right = texture(right_camera, UV) * vec4(0, 1, 1, 1);

    COLOR.rgb = left.rgb + right.rgb;
}

Try doing the same setup that that guy did, but instead of using two texture rectangles, use one with the the shader above and with the two viewport textures in they're respective sampler uniforms.

@jasperbrooks79
Copy link
Author

Well, I'm super - noob, in shaders, and I don't know how to any of that, never coded a shader before, a written one, ever . .

I think one reason it might look bad is, to get the best depth version, one needs to have the cameras be the same distance, as ones eyes, also works for VR head-set, set the distance between the eyes, or it doesn't look good . .

The reason it COULD be in Godot, is bec. it's such a simple shader one has to write, and it's instant - fun, same way there's an ARVRCamera3D, there could be an anaglyphcamera3D, and it could have the settings needed, to get a really good effect . . Some of the google images, and anaglyph videos look REALLY bad, but some of them, look REALLY good, and I think it might be because the images render with, different eye-distance in mind or, so . .

I can say one thing, the 3D effect AS good, as anything in the movies right now, but it does have an effect on the color, so things look more greenish-orange, or yellow . .

Again, if you get a cheap pair from the internet, cost is like 10 dollars, or lower, you could see that it actually is a very cool technology, and the effect isn't ' behind ' current cinema or, tv stuff, in fact, it looks better than any 3D movie in cinema or, on tv I've ever seen, but then certain images, look REALLY bad, so I think it's a matter, of having the right settings, before rendering, and I wanted to ask some REALLY cool 3D coders to help doing this, and then make it a fun add-on, in Godot . . It could either be a new AnaglyphCamera3D node, or it could be a setting, under the normal Camera3D, to render like, also looking at the complexity of the shader code, I don't think it would add very much to size, of Godot :O :O . .

@jasperbrooks79
Copy link
Author

jasperbrooks79 commented Nov 15, 2020

Also, I don't know how to put the written shader code into Godot, do I need to have two cameras, one called left_camera, one called right_camera, I am asking for this feature, bec. I don't know how to code it myself, at all, and the 3D effect is VERY solid, even if the colors look a bit weird, black-white images, look amazing, no color distortion, so one could make a film noir grey-scale themed game, or so . .

Also, for some reason I think 3D vision, or so, fits really well with a fun, silly, amazing game engine, like it's really amazing . . <3

2020-11-15 0854

And, once one knows the colors it shows best, one can start adding colors, also . .

Again, no lie, it really looks THIS good, right out of the box, using google for, anaglyph images . .

2020-11-15 0855

I think the reason is, they've found some cool ways of improving the RENDERING, so these old 1980's glasses, suddenly look amazing, the method for MAKING the images, themselves, have improved or so, the effect is stunning . . :O :O <3 . .

When I got the glasses, I thought it'd be REALLY bad, the 3D effect, I had my mind blown, in less than 10 minutes, these glasses are 1-to-1 or, better than any 3D effect, I've ever seen, also in modern movies, in the cinema . . the down-side is, the colored glass limits the color palette, when doing color stuff, but for black and white style games, the effect is AS good, as cinema polarized glasses, or better . . I had to try it, to get this, it's SOLID stuff, runs well . . . .

@jasperbrooks79
Copy link
Author

jasperbrooks79 commented Nov 15, 2020

Last, since I suspected one could do it better, I wanted ask here, since there are some super-cool coders, with a TON, of rendering, 3D knowledge, that might know, how to make this, an amazing shader, or add it to Godot . . I'd really like to play a bit, with 3D depth stuff, in Godot, and the price is staggeringly low, most cost 8 - 10 dollars, for either 1, or 2 glasses, on the internet . . And, it runs on ANY monitor, also, not special 3D hard-ware . .

Also, I'm so beginner at the engine, if somebody doesn't make it for me, I won't be able to make it work . . </3

@AlphinAlbukhari
Copy link

Since you use visual shader, I converted @SIsilicon's code to visual shader
image

But that seems you need 2 cameras, so here's the single camera version
image
You can change the offset by adjusting the values on VectorOp nodes
And note that to use ViewportTexture, you have to mark "Local to scene" first.

@jasperbrooks79
Copy link
Author

ok, I will try it, seen your stuff on the Facebook, Alphin, you're a shader god, every-thing is, mint stuff <3 . .

Thx . . .

@jasperbrooks79
Copy link
Author

jasperbrooks79 commented Nov 15, 2020

Not sure, does the above shader add a 'red' tint to one side, and 'cyan' ( light blue-green color . . ), to the other side . .

I have to admit, this stuff feels so difficult, it's for an engine expert . . <3 :O . .

Like, I have NO idea what is even happening, even with the visual shader <3 . .

@jasperbrooks79
Copy link
Author

That's why I wanted to ask here, bec. the effect can really suck, but when it's done right, by tech-experts, it's a solid 3D experience, no bull . . <3

@AlphinAlbukhari
Copy link

I've updated the shader, now you dont need 2 different textureuniforms anymore
image

@AlphinAlbukhari
Copy link

@jasperbrooks79 well actually to understand better with it, VisualShader should output preview from TextureUniforms, so you can see what's happening on every step

@jasperbrooks79
Copy link
Author

jasperbrooks79 commented Nov 15, 2020

Also, I think by using interlaced images, one would get a worse 3D effect, than by using some sort of, mix or, blend shader, of the the two cameras . . I'm also not sure, if one needs to rotate them, to a focus point, so if one looks 10 m from camera, to an object, they need to sort of, rotate, or for close, to eyes, lol . . Sorry, for the bad images, was only one <3

2020-11-15 0912

This is stuff, that I would not know if was important, but 3D experts, would better know it <3

Sigh, I don't know how to set that up, can someone make a ' sample ' project, for me, I'm super noob, this stuff is super - complex, for me . . .

@jasperbrooks79
Copy link
Author

jasperbrooks79 commented Nov 15, 2020

I was sort of hoping, we could get a ' pro ' anaglyhcamera3D node, OR maybe a setting, under an Camera3D, to make a ' anaglyph ' 3d picture <3 I have no idea how to set up those features, or what the camera should be called, or so . .

Maybe, to get started, someone could make a quick add-on, in the assetlib <3

Thanks, for the amazing support, tutorials <3

Also, since the quality of anaglyph images are so differing, I suppose one needs settings like, eye distance, so on, to get best result, anyway hoping someone will make an anaglyph add-on, just, for fun <3 . . .

@jasperbrooks79
Copy link
Author

jasperbrooks79 commented Nov 15, 2020

Here's how good it looks, 98 % this image, with SOME of the images or, youtube videos . .
2020-11-15 0921

Sry, for the many posts, hope maybe someone could make an add-on, where one press play, the thing is done, with anaglyph mode, or something one can use, even when editing, the levels, or so . . <3

I thought the 3D effect would be really bad, but it's REALLY good, especially for black-white base images, or so . .

@AlphinAlbukhari
Copy link

First, let's start with TextureUniform
Actually, there's a Texture node where you can use it to use any texture, but you can't use ViewportTexture with it because it should be local to scene, I guess it's because nodes are resources and you can't change directly to local or not. So I use TextureUniform instead, the difference is TextureUniform export variable that can be changed from the inspector or param, and since it's 'exported' the texture you're going to use can be local. But at cost you can't see preview from it directly, I think this is normal but I hope they will implement it.

And to offset things, I use UV, UV is something that controls your texture or pixel coordinate or whatever I can't explain. Then I add the UV a bit to move the position to right, and the second one is substracted to move it to left, and I created 2 texture nodes with different UV, resulting the same image but has different coordination, and Multiply node to color things, for example, I multiplied with 1,0,0, meaning that we will only get red and no greenness and blueness, and finally to combine them together I use "add" node which add every pixel with second image's pixel

@jasperbrooks79
Copy link
Author

Take my word for it, if you get some anaglyph glasses, the cheap ones, and look for google anaglyph images, you'll be be mind-blown, not sure why, maybe when they were used in 1980's, they didn't have virtual 3D worlds, to use to make the effect, they were limited to bad cameras, early tech . . <3

@jasperbrooks79
Copy link
Author

First, let's start with TextureUniform
Actually, there's a Texture node where you can use it to use any texture, but you can't use ViewportTexture with it because it should be local to scene, I guess it's because nodes are resources and you can't change directly to local or not. So I use TextureUniform instead, the difference is TextureUniform export variable that can be changed from the inspector or param, and since it's 'exported' the texture you're going to use can be local. But at cost you can't see preview from it directly, I think this is normal but I hope they will implement it.

And to offset things, I use UV, UV is something that controls your texture or pixel coordinate or whatever I can't explain. Then I add the UV a bit to move the position to right, and the second one is substracted to move it to left, and I created 2 texture nodes with different UV, resulting the same image but has different coordination, and Multiply node to color things, for example, I multiplied with 1,0,0, meaning that we will only get red and no greenness and blueness, and finally to combine them together I use "add" node which add every pixel with second image's pixel

THANK YOU, I'm COMPLETE noob <3 Hope, we can get a high-tech, high-level Anaglyph stuff, in Godot <3

@SIsilicon
Copy link

SIsilicon commented Nov 16, 2020

Good news! I just made an anaglyph camera addon. I hope you're happy.
image
Anaglyph Camera.zip

It gives a new node with two properties.

  • separation: How far apart the "eyes" are. A larger value gives a stronger effect.
  • convergence: The distance at which objects appear normal.

@jasperbrooks79
Copy link
Author

THANK YOU SO MUCH, I WILL DOWNLOAD IT IMMEDIATELY, THIS IS SO COOL THANK YOU ! ! <3

AMAZING . . <3 <3 🤤 <3

THANK YOU

IS ON ASSETLIB, OR I DOWNLOAD IN THE LINK ? <3 THX . .

@jasperbrooks79
Copy link
Author

OMG, the 3D effect is REALLY good, it LOOKS like fluid, vibrant, glorious 3D, this is so amazing, thank you, Omg try and get some glasses, this is COOL . . :O :O . .

THANK YOU, made my day, SO AMAZING <3

@jasperbrooks79
Copy link
Author

And, it's not even a bad 3D effect, it looks as good, as in the cinema, it's like, WOWOWOW <3 . .

I know it's not place to ask people to get cheap 3D glasses, anyway they cost 10 dollars, for 2 pairs, the 3D effect is REALLY good, one can see the ' orbs ' HOVERING, in SPACE, behind the pillars, this isn't a beta implementation, this REALLY rocks <3 . .

THANK YOU ! ! ! <3 <3 :D :D . .

@jasperbrooks79
Copy link
Author

OMG, it LOOKS ALMOST, ALMOST LIKE THIS . .
2020-11-15 0855

There is a problem, the frame-rate is REALLY low, normally my laptop makes Godot run 144 FPS, atm it's like 10 FPS . . But, the 3D effect is REALLY, REALLY good, AMAZING already <3

2020-11-17 0310

I can almost make a MOVIE, in Godot right now, so cool . . The add-on works REALLY well right now, except the frame-rate is for some reason, SUPER - low . . the 3D effect is NEARLY as good, as best I've ever seen <3

@jasperbrooks79
Copy link
Author

First, this is an AMAZING thing, it has like a 90 - 100 % pro cinema look . .

But, the frame-rate is some-what low, like 5 - 10 FPS, on my laptop, that normally runs Godot, at 144 FPS, or higher, for a simple level . .

The 3D effect is SOLID, but the frame-rate is LOW, is there any way to make it faster . .

Seriously, you need to see this, it's AMAZING . . <3

@jasperbrooks79
Copy link
Author

rouyell, you ABSOLUTELY nailed it, it looks AMAZING, I added a 3D model, of a dragon, and it's SPECTACULAR . .

the only problem is, the frame-rate is like, 5 - 10 fps, so it has a ' jagged ' look, the animations . .

but, the 3D effect, is 90 %, or 100 %, of what a 3D movie looks like, in the CINEMA . . <3 Thx . .

@jasperbrooks79
Copy link
Author

Omg omg omg, now we can make 3D MOVIES, in Godot <3 AMAZING, GLORIOUS, WORLD-CLASS <3

@jasperbrooks79
Copy link
Author

the add-on is AMAZING, REALLY nice, only thing is, it lowers frame-rate a TON, right now, not sure why . .

@jasperbrooks79
Copy link
Author

I just checked on amazon, you can get 5 pair, for 5 pounds, or 8 dollars . .

If the frame-rate can be improved, maybe 30 fps, or even 60 fps, this will be super-cool, I also think the effect looks best, when it's black-and-white, then there isn't the weird color effect . .

2020-11-17 0337

2020-11-17 0338

I know it's a lot to ask, but could you consider maybe spending 5 pounds, on some glasses, and test it, make it REALLY nice . . I give to Patreon, I wouldn't mind giving 10 dollars more each month, or 20 <3 it looks REALLY good, right now, with 60 FPS frame-rate, it'd be the best <3

@jasperbrooks79
Copy link
Author

jasperbrooks79 commented Nov 17, 2020

Right now, add-on is 9.8 / 10 review . .

Can't say, how cool this is . . <3 . .

@jasperbrooks79
Copy link
Author

for instance, here are 5 glasses, 5 pounds, that's like price, of a sandwich . . <3

https://www.amazon.co.uk/Basage-Anaglyph-Dimensional-VISION-Glasses-Blue/dp/B08722NR3M/ref=sr_1_3?dchild=1&keywords=anaglyph+glasses&qid=1605581156&sr=8-3

2020-11-17 0347

also, atm 3D movies are only 1080p, but Godot is running effect, in 4K, on my computer . . if it could get to 60 FPS, it'd be best 3D effect, in the world <3

@jasperbrooks79
Copy link
Author

tried changing the demo-level, in add-on, to black - white objects, and it looks AMAZING, world-class <3

@SIsilicon
Copy link

Dude.
Chill.

@SIsilicon
Copy link

SIsilicon commented Nov 17, 2020

Also, the reason why the framerate's low might have something to do with the fact that the scene is being rendered twice. One for each camera. This yields a pretty "ground-truth" Anaglyph 3D effect. VR doesn't come cheap, and neither does 3D. The framerate can be improved by lowering the main viewport's resolution.
And, no, integrating it into the engine won't help. It's a GPU thing.

I'm also not going to spend any money online for some glasses (mainly because I don't have any), but I did just setup a PayPal account today. Just got no money right now for that. And even if I did, I'd rather spend it on better computer hardware in my current situation.

@jasperbrooks79
Copy link
Author

Ok, sorry, you'd be amazed, at how well the plug-in works . . it's really like in the cinema, a really cool effect . .

Thx . .

@jasperbrooks79
Copy link
Author

well, thank you, without any settings, it looks like a Disney Pixar 3D movie effect, or cinema mode <3

if you ever get the chance, it's really spectacular, already, with like just this one, maybe it can be made cheaper . . I guess it's the taking two 4K images, then ' blend ' them into a new image, during each frame, that slows the plug-in down . . <3

@aaronfranke
Copy link
Member

aaronfranke commented Jan 11, 2021

@SIsilicon Can you publish this on the Godot Asset Library so that it's easily available for users? Then we can close this proposal.

If you are committed to maintaining this, I would be willing to buy you some glasses, they're fairly cheap, and having this feature available would be nice for the users who want it.

@jasperbrooks79
Copy link
Author

jasperbrooks79 commented Jan 12, 2021

@SIsilicon @SIsilicon wait, I wanted to ask, since ' blending ' two images is more performance heavy, if maybe the shader could be interlaced, and since we now have wide-screen, compared to old tv's, from way back when, maybe vertical, instead of horizontal interlacing, of the two camera images, might give much better performance . .

Also, the plug-in, as it is, is 80 - 90 % as good, just put some 3D objects in, or animate them, they fly over or, under your head, seriously, this is a cool plug - in . .

but, a problem with the glasses are, they sort of mute some colors, yellow, blue and, red are fairly normal, but green especially sort of, looks ' faded ' . . I wanted to ask, for a way to boost certain PARTS, of the color spectrum . . Right now, in environment settings, one can set the ' Color range ', but it doesn't, afaik allow to boost only some colors, but leave others . .

And, I can guarantee, trying out this effect will blow your mind, I've gotten some 3D movies, and it's almost like the movies, except the green colors, are not so good . . but, for black and white, it's like no problem . .

I was hoping it could be optimized, as I'm thinking of using the effect, for cut-scenes, in my games, bec. I can lower amount of objects, there . .

Cost for glasses = 10 dollars, for 2 pair, on amazon . . And, if you've seen a 3D movie in the cinema, the 3D effect is the SAME, but the colors, especially green, sort of, becomes ' feint ' or, mute . .

Thanks again, for an amazing plug-in, right now it's so slow, I can't really use it, was hoping interlacing the two images, might be better :O <3 . . Thanks . . .

As it is, one can make an amazing black-and-white game, with this effect, and it's 100 % good 3D, no bull . .

2021-01-12 0241
Old Nintendo game, called Mad world, or . .

or . . <3

2021-01-12 0242

Right now, it makes my frame rate drop to 12 - 14 FPS, was hoping interlacing might make it better . . :O . .

like, in color pictures the ' green ' is muted, sort of ' pale-ish ' but, for black-and-white anaglyph images, there's no difference, in before and, after putting on glasses . . Thanks :OO . .

@jasperbrooks79
Copy link
Author

jasperbrooks79 commented Jan 12, 2021

Atm, the 3D effect in the plug-in is a bit better, than this, if it explains it . .
2021-01-12 0248

But, frame rate drops, to 12 - 15 FPS, in 1080p, even . .

If the speed was there, I'd make a game in it, start with a black - and - white story, since the glasses don't affect that, when looking, or so . .

was thinking, if it was done by interlacing images, like this . .
2021-01-12 0252

but, bec. tv's are wide now, use vertical instead, it'd be much faster <3 Thanks .. like, where every other line, is the ' green ' camera, every other line, of pixels is ' red ' lens, or so, thanks . . . :OO . .

@SIsilicon
Copy link

@SIsilicon Can you publish this on the Godot Asset Library so that it's easily available for users? Then we can close this proposal.

If you are committed to maintaining this, I would be willing to buy you some glasses, they're fairly cheap, and having this feature available would be nice for the users who want it.

I'm kinda busy with the current wild Jam, so I'll look back at this project when that's over. As for buying me glasses, that would be nice, but I live in Jamaica, and I don't want to bother with the hassle of shipping.

@SIsilicon
Copy link

SIsilicon commented Jan 19, 2021

Ok now. It's pending review in the asset library.
https://godotengine.org/asset-library/asset/edit/2941

I also went ahead and added a couple properties to it.

@jasperbrooks79
Copy link
Author

@SIsilicon Thanks, for this amazing plug-in . .

For me, it runs really slow, even in forced 1080p, it runs at maybe 10 - 15 FPS . . Hope it can be optimized, maybe with interlacing, instead of blending the two images . . Anyway, the 3D is rock - solid and, amazing . . it just needs to run faster, even with like 30.000 poly in a scene, it lags like crazy ( two 10.000 characters, and some buildings ) . . .

@SIsilicon
Copy link

SIsilicon commented Jan 20, 2021

Have you tried the new half_res property of the node? It reduces the vertical resolution of the two viewports by half. It trades image quality for performance. There really isn't any other way of doing this. Interlacing the videos didn't help. They're no more expensive then blending.

@jasperbrooks79
Copy link
Author

Thank you, for developing this, I download new version <3

@jasperbrooks79
Copy link
Author

jasperbrooks79 commented Jan 20, 2021

Okay, I've tried it, first of all the grey-scale function, so good . . It looks rock-solid 3D, no color distortion, the plug - in can be used for commercial 3D games, at this point . .

The half-resolution is difficult to say, bec. I haven't got other settings just right . .

As it stands, it's an amazing plug - in, simply put . .

Thank you, this is all I wanted, amazing work . . .

I feel, with right settings, I could not make games but, also movies, at this point <3 plug - in is, AMAZING, thanks . .

last, if some could get some cheap glasses, and maybe test it, right now it's almost movie quality, maybe it can be made faster or, so on . . or, like a calibration screen, on start up, so one can get ' right settings ', in a tutorial . . this is all I ever wanted or, hoped for, so good, 9.8 / 10 <3

add, maybe make it so, the camera rotates, instead of going up - down . . the effect, is really cool <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants