what math in minecraft did you change and what does it do to the game have it any negative effects?
(i get 200 fps with 256sphax and 100 mods installed so i dont need the mod but i make private mod packs for me and my friends and some of them need an fps boost)
what math in minecraft did you change and what does it do to the game have it any negative effects?
(i get 200 fps with 256sphax and 100 mods installed so i dont need the mod but i make private mod packs for me and my friends and some of them need an fps boost)
It changes Notch's old and funky Sine/Cos methods with Java's Sine/Cos MATH methods. It just optimizes how functions are defined within the minecraft enviroment.
It changes Notch's old and funky Sine/Cos methods with Java's Sine/Cos MATH methods. It just optimizes how functions are defined within the minecraft enviroment.
I'm thinking why Mojang don't implement this to vanilla...
Thanks a lot my friend you changed my life in Minecraft I used to have 80 to 100 FPS but when I added this mod I have at least 160 to 200. I didn't ever think that there would be a noble man like you to make who have half half computers be happy and comfortable at playing Minecraft and Thank you a lot for the work and the time you spent on making this mod and again thanks
If you like fixes for LAG in MINECRAFT then you will like my mod;D [url="http://minecraft.curseforge.com/mc-mods/fpsplus-lagfixes/"]http://minecraft.cur...splus-lagfixes/[/url]
If you like fixes for LAG in MINECRAFT then you will like my mod;D [url="http://minecraft.curseforge.com/mc-mods/fpsplus-lagfixes/"]http://minecraft.cur...splus-lagfixes/[/url]
If you like fixes for LAG in MINECRAFT then you will like my mod;D [url="http://minecraft.curseforge.com/mc-mods/fpsplus-lagfixes/"]http://minecraft.cur...splus-lagfixes/[/url]
If you like fixes for LAG in MINECRAFT then you will like my mod;D [url="http://minecraft.curseforge.com/mc-mods/fpsplus-lagfixes/"]http://minecraft.cur...splus-lagfixes/[/url]
The Meaning of Life, the Universe, and Everything.
Join Date:
2/25/2013
Posts:
370
Minecraft:
abandenz
Member Details
I'm not having this problem. Nothing with the network should be changed at all. Couldn't even be a bug cause by my mod really. EDIT: Double checked and I can connect to server just fine. and login to my account.
If you like fixes for LAG in MINECRAFT then you will like my mod;D [url="http://minecraft.curseforge.com/mc-mods/fpsplus-lagfixes/"]http://minecraft.cur...splus-lagfixes/[/url]
I would like to see some proper benchmarking and testing at this point. How often are these functions actually being used in the game? Where are they being used? Are they relatively intensive at all in respect to the grand scheme of things?
So I did some benchmarking.
The following is in a new world ("Benchmark"), looking down, max settings, advanced opengl off.
Weirdly enough, it's the server that does more math calls than the client. Java.lang.StrictMath has ~11% of the total self time for the server. Specifically atan2. For comparison, it's the second-highest class - the only higher class in the server is net.minecraft.src.LongHashMap. (I wonder if that could be optimized too? Checking if a chunk exists uses it and happens on every block get / set)
That's mainly coming from updating entities - I'm guessing that, considering that when people complain about lag tends to either be an absurd number of mobs or itemdrops, that will help more in the situations when people complain the most.
For the client most of the time is either in nglCallLists or Frustum.isBoxInFrustum, neither of which use the math functions much at all.
The following is in a new world ("Benchmark"), looking down, max settings, advanced opengl on.
MCPatcher has some nice features, but it's 100% incompatible with Forge mods, and thus useless for many of us. When/if they reconsider, I'll look at it again. At the moment it's a moot point, as even Optifine doesn't work with NEI, and I really need that mod for recipe lists.
The following is in a new world ("Benchmark"), looking down, max settings, advanced opengl off.
Weirdly enough, it's the server that does more math calls than the client. Java.lang.StrictMath has ~11% of the total self time for the server. Specifically atan2. For comparison, it's the second-highest class - the only higher class in the server is net.minecraft.src.LongHashMap. (I wonder if that could be optimized too? Checking if a chunk exists uses it and happens on every block get / set)
That's mainly coming from updating entities - I'm guessing that, considering that when people complain about lag tends to either be an absurd number of mobs or itemdrops, that will help more in the situations when people complain the most.
For the client most of the time is either in nglCallLists or Frustum.isBoxInFrustum, neither of which use the math functions much at all.
The following is in a new world ("Benchmark"), looking down, max settings, advanced opengl on.
Basically the same as above.
Yes some more things can be optimized but the draw off is the faster the math the less precise it is which could have some problems down the line, The new functions should of helped with making atan2 faster. And yes LongHashMap can be changed to something better and I was working on that, it just takes longer.
If you like fixes for LAG in MINECRAFT then you will like my mod;D [url="http://minecraft.curseforge.com/mc-mods/fpsplus-lagfixes/"]http://minecraft.cur...splus-lagfixes/[/url]
(i get 200 fps with 256sphax and 100 mods installed so i dont need the mod but i make private mod packs for me and my friends and some of them need an fps boost)
It changes Notch's old and funky Sine/Cos methods with Java's Sine/Cos MATH methods. It just optimizes how functions are defined within the minecraft enviroment.
http://www.youtube.com/user/xpew75
I'm thinking why Mojang don't implement this to vanilla...
Woah woah!
I have better performance with vanilla
Woah woah!
MCPatcher?
Woah woah!
Well Jeb did mention huge changes and redoing Minecraft's entire rendering frame during MineCon, question is when.
and MCPatcher isn't playing nice with forge atm
SP614X, once mentioned implementing A different Math method into Minecraft, dunno whats up with that...
Windows 8
System:
Rating: 4.3 Windows Experience Index
Processor: Intel(R) Celeron(R) CPU B830 @ 1.80GHz 1.80 GHz
Installed Memory (RAM): 4.00 GB (3.82 GB usable)
System Type: 64-bit Operating System, x64-based processor
Is this a good PC for gaming or Minecraft it self
If you like fixes for LAG in MINECRAFT then you will like my mod;D [url="http://minecraft.curseforge.com/mc-mods/fpsplus-lagfixes/"]http://minecraft.cur...splus-lagfixes/[/url]
If you like fixes for LAG in MINECRAFT then you will like my mod;D [url="http://minecraft.curseforge.com/mc-mods/fpsplus-lagfixes/"]http://minecraft.cur...splus-lagfixes/[/url]
If you like fixes for LAG in MINECRAFT then you will like my mod;D [url="http://minecraft.curseforge.com/mc-mods/fpsplus-lagfixes/"]http://minecraft.cur...splus-lagfixes/[/url]
If you like fixes for LAG in MINECRAFT then you will like my mod;D [url="http://minecraft.curseforge.com/mc-mods/fpsplus-lagfixes/"]http://minecraft.cur...splus-lagfixes/[/url]
If you like fixes for LAG in MINECRAFT then you will like my mod;D [url="http://minecraft.curseforge.com/mc-mods/fpsplus-lagfixes/"]http://minecraft.cur...splus-lagfixes/[/url]
So I did some benchmarking.
The following is in a new world ("Benchmark"), looking down, max settings, advanced opengl off.
Weirdly enough, it's the server that does more math calls than the client. Java.lang.StrictMath has ~11% of the total self time for the server. Specifically atan2. For comparison, it's the second-highest class - the only higher class in the server is net.minecraft.src.LongHashMap. (I wonder if that could be optimized too? Checking if a chunk exists uses it and happens on every block get / set)
That's mainly coming from updating entities - I'm guessing that, considering that when people complain about lag tends to either be an absurd number of mobs or itemdrops, that will help more in the situations when people complain the most.
For the client most of the time is either in nglCallLists or Frustum.isBoxInFrustum, neither of which use the math functions much at all.
The following is in a new world ("Benchmark"), looking down, max settings, advanced opengl on.
Basically the same as above.
Like
[1.4.7 and up] FPS Plus - Recommended version released!
Woah woah!
MCPatcher has some nice features, but it's 100% incompatible with Forge mods, and thus useless for many of us. When/if they reconsider, I'll look at it again. At the moment it's a moot point, as even Optifine doesn't work with NEI, and I really need that mod for recipe lists.
Yes some more things can be optimized but the draw off is the faster the math the less precise it is which could have some problems down the line, The new functions should of helped with making atan2 faster. And yes LongHashMap can be changed to something better and I was working on that, it just takes longer.
Right I'll get on that right now.
If you like fixes for LAG in MINECRAFT then you will like my mod;D [url="http://minecraft.curseforge.com/mc-mods/fpsplus-lagfixes/"]http://minecraft.cur...splus-lagfixes/[/url]