jabelar Posted July 28, 2018 Posted July 28, 2018 9 hours ago, diesieben07 said: You do not need previousFramePos, @jabelar. The partial tick time tells you how far into the current tick you are at that frame. What my formula does is interpolate linearly between previous tick and current tick using that partial tick time. There is no need to store what you rendered last frame. You're right, it should be previous tick position. I'll fo back edit the equation to be correct. Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
jabelar Posted July 28, 2018 Posted July 28, 2018 can you post your code again? the gist link is giving me a 404 error. Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
ryan_zhou Posted December 28, 2018 Posted December 28, 2018 Sorry to reply to such an old thread, I just want to know how did you solve this problem? beacause i meet the problem now, and I think this is a problem related to opengl setting, like resolution, viewport or glOrtho. Quote
ryan_zhou Posted December 28, 2018 Posted December 28, 2018 1. override drawRect method that all use double parameter 2. add partialTick even if i used the two methods , it doesn't not very smooth. Quote
Cadiboo Posted December 28, 2018 Posted December 28, 2018 You should make your own thread. You need to do interpolation using the partialTicks parameter Quote About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.