The Meaning of Life, the Universe, and Everything.
Join Date:
10/14/2010
Posts:
58
Member Details
MessiahAndrw's Renderer Wrapper
Description:
The MessiahAndrw's Renderer Wrapper is a mod for Minecraft. It enables you to play Minecraft in a variety of 3D modes (the NVidia 3D Vision Kit is supported!) as well as customize the full screen mode. It should be update-safe for now as it does not modify minecraft.jar.
Features:
[*:1ml1cxzv]Customizable 3d depth (two values - eye width, distance from screen)
[*:1ml1cxzv]Customizable anaglyph colours
[*:1ml1cxzv]Cross-eyed 3D
[*:1ml1cxzv]NVidia 3D Vision support (enable using NVidia keys rather than F9)
[*:1ml1cxzv]Full-screen mode with custom resolution/refresh rate
[*:1ml1cxzv]Extract archive over the top of the Minecraft (%appdata%\.minecraft). It will not overwrite minecraft.jar so your other mods should be safe.
[*:1ml1cxzv]Run MinecraftRendererConfiguration.exe to configure the graphics settings.
[*:1ml1cxzv]Run Minecraft :smile.gif:
Controls:
[*:1ml1cxzv]F9: Toggle 3D stereo
[*:1ml1cxzv]F6/F7: Change eye distance in real time (resets when the game quits)
Limitations:
[*:1ml1cxzv]You can't switch between full-screen and window mode while the game is running.
[*:1ml1cxzv]There are two windows open in window mode. The back one is the Java window (which should be blank), the front one is the DirectX window. I can't eliminate this without editing minecraft.jar which I want to avoid doing. Don't attempt to resize the Java window - you've been warned!
[*:1ml1cxzv]I've had reports of the sound being funny for some people - post your experiences please.
[*:1ml1cxzv]Can't screenshot in full-screen. FRAPS will work fine though.
[*:1ml1cxzv]The NVidia 3D Vision crosshair doesn't work with the game.
Release history:
[*:1ml1cxzv]2010-03-03 - Improved overall performance by improving the texture locking and copying. Adjusted brightness for anaglyph presets (Cyan is now half as bright as red, because it receives two colour channels. Otherwise cyan would be twice as bright as red and one eye will over power the other eye, this'll also minimize leaking from the brighter eye into the darker eye) - you can change the brightness back how it use to be if you prefer it though.
[*:1ml1cxzv]2010-02-28 - First release.
Does this work with the 3d glasses that you can get from a movie theater?
you don't even need this mod for that, it's already in the options, if you have the glasses you can play Minecraft in 3d.
I think he means the non-crappy non-colour ones.
Rollback Post to RevisionRollBack
Yes, I know his name was actually spelled Fibonacci.
Funnily enough, I think Pascal was cooler.
My AdventureCraft maps Website: http://www.adventuremap.webs.com
Ooo I have to try this. I was using Manyaglyph to make the 3D better. I'm curious is this is better than that.
Will try and report back. Thanks for this!
The Meaning of Life, the Universe, and Everything.
Join Date:
10/14/2010
Posts:
58
Member Details
Quote from R3P1N5 »
This. Is. Awesome.
Thank you!
Quote from R3P1N5 »
Is there any way to get this to work with the default screen capture button? I had to use fraps to capture the above images.
That's interesting, maybe it's because Direct3D draws straight into the video card's overlay when in full screen. I haven't tested Minecraft's inbuilt screenshot function but it will most likely just save one of the eyes (Notch's code has no concept of my renderer wrapper drawing in 3D behind it's back).
The Meaning of Life, the Universe, and Everything.
Join Date:
10/14/2010
Posts:
58
Member Details
Quote from Orcworm »
Looks very promising, going to have to try it with 3D Vision tonight. Nice to see this being implemented after months of being stuck with the basic red / cyan mode.
Please do and comment on it! That's one of the main features I focused on when making this.
The Meaning of Life, the Universe, and Everything.
Join Date:
10/14/2010
Posts:
58
Member Details
Quote from Orcworm »
Doesn't seem to work correctly for me.
Is the only problem the performance or is there something not working?
Quote from Orcworm »
The 3D effect is definitely there, the only problem is it crushes my FPS, looking at 9-12 on fast / tiny @ 1920x1080 with 2 480s :tongue.gif:.
Edit: Actually, configuring the game using your file and then starting it seems to crush FPS whether 3D is on or off, getting only 25-30 with 3D disabled.
I think I may know what's causing this. I'm locking a Direct3D texture to draw the output of the game in to, and I think this locking has a performance penalty so there should be a way to significantly speed this up. I'll look into it soon! Thanks!
The Meaning of Life, the Universe, and Everything.
Join Date:
10/14/2010
Posts:
58
Member Details
Quote from Jonhy05 »
I have a problem, the 3D and textures look color but with only 1 problem, they all have a lack of color. Red color to be specific ><
Are you using Red/Cyan glasses? The problem with the anaglyph (tinted glasses) is that the lens are tinted to only let specific colours through to each eye - so you are going to loose one colour channel (out of red, green, blue) to one eye, and that colour will instead be sent to the other eye. With Red/Cyan glasses you sacrifice red. There's nothing I can do about that.
You can also get Green/Magenta and Blue/Yellow glasses. I think Blue/Yellow glasses will give the best effect because you sacrifice blue, giving the sky and water a washed-out grey/slightly-green tinge but otherwise sand, grass, and wood retain it's colour.
The Meaning of Life, the Universe, and Everything.
Join Date:
10/14/2010
Posts:
58
Member Details
Quote from Laurina »
First of all: It is a glorious thing you're doing here, and very very nice work so far.
Thank you very much!
Quote from Laurina »
1) As already observed above, there is a hard FPS hit using this. I can alleviate that to some extent by lowering resolution to 720x480 (rather than native 1920x1080). Obviously it doesn't look very good that way.
Yeah, I'm going to work on that issue. It's to do with me locking GPU resources each frame - I've thought of a bunch of ways to speed it up.
Quote from Laurina »
2) A minor issue compared to item 1, but one that would be nice to fix nevertheless; enabling the Nvidia 3D vision crosshair. Turning it on and off manually doesn't produce a crosshair, although the on-screen-display of the driver outputs text about it being turned on/off.
I don't think that will work unless I manually draw the NVidia 3D Vision crosshair in because of the way I'm mixing OpenGL/DirectX. I will experiment. Likewise I'm ignoring the depth values the NVidia 3D Vision controls tells me to use and overriding it with the values you set in the configuration tool I provided. I could add an option to ignore the custom depth values and use NVidia's instead - then you can use the 3D Vision dongle's wheel to adjust the depth!
You're doing amazing. So far it's fantastic. But I'm having trouble with the Anaglyph 3D part that is giving me undue headache. The left and right eye don't move simultaneously. The eyes sorta follow each other. I'm not sure which is following which but it takes a moment for the images to match up, and the faster you turn the worse it gets. And turning view bobbing on makes it just killer on the eyes.
The sound is horrid. For some reason the audio doesn't like to end, instead it just repeats any sound it's told to play over and over again.
Other than that, fantastic. The ability to change the eyes to monochrome is definitely great, since making the Green side monochrome on Magenta Green really makes things less difficult on the eyes.
Does this work with the 3d glasses that you can get from a movie theater?
I popped out the lenses and taped on tinted plastic sheet thingys. (They were from the Monsters v. aliens superbowl commercial.)
Rollback Post to RevisionRollBack
I'm a decent Java programmer learning Python, and I'm skilled with server administration, WorldEdit, redstone circuitry, etc. Feel free to show me mod ideas, I'm thinking about starting to make mods, and I'd be happy to give insight as to how a mod could be implemented in Minecraft.
The Meaning of Life, the Universe, and Everything.
Join Date:
10/14/2010
Posts:
58
Member Details
Update out! See top post. I've improved the performance of the stage where the OpenGL image is copied into a Direct3D texture. There are still more improvements to be done and I haven't worked on the other stuff yet.
Quote from Laurina »
Coding something to draw a crosshair at, say, the average Z depth of a small area at the center of the view would work just as well - that is pretty much what the Nvidia driver does.
That wouldn't be so hard - but you need to disable Minecraft's cross hair or else it will interfere. I can't do that without modifying minecraft.jar (which I want to avoid since it means my mod will break with updates).
Quote from Laurina »
The option to ignore the configuration values and use the standard Nvidia setup would be interesting too, and quite a bit less work to implement than coding your own crosshair system, I suspect.
That would also allow the use of Nvidia's convergence hotkeys as well, and just maybe it would make the crosshair appear.
Yeah but it wouldn't stop you from seeing double crosshairs (infact the z-depth of Minecraft's crosshair might interfer with the NVidia's cross hair making it appear a lot closer than the actual depth where it should be).
Firstly, thank you for doing this. I've been wanting to use my 3D Vision on this game for some time. Sadly, all I get is a black screen when trying to use the Nvidia 3D vision setting. I have no other mods installed, currently.
Edit: NM, I had to reinstall DX and it's working. Very cool! I didn't notice a drop in FPS but then again I am testing it on a vanilla MC. Might have to play around with it to get the 3D effect just right, but otherwise amazing work!
Description:
The MessiahAndrw's Renderer Wrapper is a mod for Minecraft. It enables you to play Minecraft in a variety of 3D modes (the NVidia 3D Vision Kit is supported!) as well as customize the full screen mode. It should be update-safe for now as it does not modify minecraft.jar.
Features:
[*:1ml1cxzv]Customizable 3d depth (two values - eye width, distance from screen)
[*:1ml1cxzv]Customizable anaglyph colours
[*:1ml1cxzv]Cross-eyed 3D
[*:1ml1cxzv]NVidia 3D Vision support (enable using NVidia keys rather than F9)
[*:1ml1cxzv]Full-screen mode with custom resolution/refresh rate
Requirements:
[*:1ml1cxzv]Windows
[*:1ml1cxzv]The latest version of DirectX (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&displaylang=en).
[*:1ml1cxzv]A video card with at least Pixel Shader 2.0 support.
Download: http://www.mediafire.com/?gfgftr2kgu335h9 (2011-03-03)
Installation:
[*:1ml1cxzv]Extract archive over the top of the Minecraft (%appdata%\.minecraft). It will not overwrite minecraft.jar so your other mods should be safe.
[*:1ml1cxzv]Run MinecraftRendererConfiguration.exe to configure the graphics settings.
[*:1ml1cxzv]Run Minecraft :smile.gif:
Controls:
[*:1ml1cxzv]F9: Toggle 3D stereo
[*:1ml1cxzv]F6/F7: Change eye distance in real time (resets when the game quits)
Limitations:
[*:1ml1cxzv]You can't switch between full-screen and window mode while the game is running.
[*:1ml1cxzv]There are two windows open in window mode. The back one is the Java window (which should be blank), the front one is the DirectX window. I can't eliminate this without editing minecraft.jar which I want to avoid doing. Don't attempt to resize the Java window - you've been warned!
[*:1ml1cxzv]I've had reports of the sound being funny for some people - post your experiences please.
[*:1ml1cxzv]Can't screenshot in full-screen. FRAPS will work fine though.
[*:1ml1cxzv]The NVidia 3D Vision crosshair doesn't work with the game.
Release history:
[*:1ml1cxzv]2010-03-03 - Improved overall performance by improving the texture locking and copying. Adjusted brightness for anaglyph presets (Cyan is now half as bright as red, because it receives two colour channels. Otherwise cyan would be twice as bright as red and one eye will over power the other eye, this'll also minimize leaking from the brighter eye into the darker eye) - you can change the brightness back how it use to be if you prefer it though.
[*:1ml1cxzv]2010-02-28 - First release.
you don't even need this mod for that, it's already in the options, if you have the glasses you can play Minecraft in 3d.
I think he means the non-crappy non-colour ones.
Yes, I know his name was actually spelled Fibonacci.
Funnily enough, I think Pascal was cooler.
My AdventureCraft maps Website: http://www.adventuremap.webs.com
No, you need a special expensive polarized monitor to use the RealD glasses. (Donations of such monitors are welcome if you want me to add support!)
Will try and report back. Thanks for this!
of course now I'm stuck like this; >_<
Is there any way to get this to work with the default screen capture button? I had to use fraps to capture the above images.
Thank you!
That's interesting, maybe it's because Direct3D draws straight into the video card's overlay when in full screen. I haven't tested Minecraft's inbuilt screenshot function but it will most likely just save one of the eyes (Notch's code has no concept of my renderer wrapper drawing in 3D behind it's back).
Please do and comment on it! That's one of the main features I focused on when making this.
Is the only problem the performance or is there something not working?
I think I may know what's causing this. I'm locking a Direct3D texture to draw the output of the game in to, and I think this locking has a performance penalty so there should be a way to significantly speed this up. I'll look into it soon! Thanks!
Mjölnir Hammer Mod
Are you using Red/Cyan glasses? The problem with the anaglyph (tinted glasses) is that the lens are tinted to only let specific colours through to each eye - so you are going to loose one colour channel (out of red, green, blue) to one eye, and that colour will instead be sent to the other eye. With Red/Cyan glasses you sacrifice red. There's nothing I can do about that.
You can also get Green/Magenta and Blue/Yellow glasses. I think Blue/Yellow glasses will give the best effect because you sacrifice blue, giving the sky and water a washed-out grey/slightly-green tinge but otherwise sand, grass, and wood retain it's colour.
Here is a list http://en.wikipedia.org/wiki/Anaglyph_image#Possible_color_schemes of popular colour schemes and what colours they sacrifice.
Thank you very much!
Yeah, I'm going to work on that issue. It's to do with me locking GPU resources each frame - I've thought of a bunch of ways to speed it up.
I don't think that will work unless I manually draw the NVidia 3D Vision crosshair in because of the way I'm mixing OpenGL/DirectX. I will experiment. Likewise I'm ignoring the depth values the NVidia 3D Vision controls tells me to use and overriding it with the values you set in the configuration tool I provided. I could add an option to ignore the custom depth values and use NVidia's instead - then you can use the 3D Vision dongle's wheel to adjust the depth!
You're doing amazing. So far it's fantastic. But I'm having trouble with the Anaglyph 3D part that is giving me undue headache. The left and right eye don't move simultaneously. The eyes sorta follow each other. I'm not sure which is following which but it takes a moment for the images to match up, and the faster you turn the worse it gets. And turning view bobbing on makes it just killer on the eyes.
The sound is horrid. For some reason the audio doesn't like to end, instead it just repeats any sound it's told to play over and over again.
Other than that, fantastic. The ability to change the eyes to monochrome is definitely great, since making the Green side monochrome on Magenta Green really makes things less difficult on the eyes.
I popped out the lenses and taped on tinted plastic sheet thingys. (They were from the Monsters v. aliens superbowl commercial.)
That wouldn't be so hard - but you need to disable Minecraft's cross hair or else it will interfere. I can't do that without modifying minecraft.jar (which I want to avoid since it means my mod will break with updates).
Yeah but it wouldn't stop you from seeing double crosshairs (infact the z-depth of Minecraft's crosshair might interfer with the NVidia's cross hair making it appear a lot closer than the actual depth where it should be).
Edit: NM, I had to reinstall DX and it's working. Very cool! I didn't notice a drop in FPS but then again I am testing it on a vanilla MC. Might have to play around with it to get the 3D effect just right, but otherwise amazing work!