October 25, 20159 yr Author There must be a change in the 1.8 because I tried it in the 1.7 and there it is working
October 25, 20159 yr Use your IDE. Code hinting is awesome and so is jump-to-definition. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
October 25, 20159 yr Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
October 25, 20159 yr Is that also true for the 1.8 Fuck if I know what the Tessellator class looks like in 1.8, that's why I told you to use your tools. Be smart, look at the class for yourself. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
October 26, 20159 yr Author Okay I've looked into the Tessellator.class but I don't know what I can use? Here the code of the class: http://pastebin.com/mJJsNvb7
October 26, 20159 yr Jesus christ. Dude, please learn some basics before jumping into rendering. You are noot only Java-newbie but also programming-newbie AND IDE-newbie. Do something basic, please! As to what to do: In 1.8 tesselator methods have been moved to WorldRenderer which has a getter (yes, right there). Look into vanilla - it is as simple as that. As to other ways: Clean tess rendering should be used to perform VERY custom renderings and requires quite some math and 3D-sense. Other ways are using json models or other models. Other are clean GL calls in Renderer.class-es. It all depends on what is your goal really. Differnt tools are used to make different stuff. 1.7.10 is no longer supported by forge, you are on your own.
October 26, 20159 yr Other are clean GL calls in Renderer.class-es. 1.7's tessellator is just a wrapper around GL calls. WorldRenderer might be 1.8's wrapper. I actually borrowed some of Minecraft's setup when doing some direct GL stuff in Unity3D. I have less access to GL in Unity than in Java, so I had to write a wrapper class (the tessellator) to translate from simple calls ("draw this texture at this point on the screen") into a series of GL calls (which had to be stored in an array to wait from UpdateTick until PostRender). Ended up with quite the class, letting me set shaders, do both 2D and 3D in any order, and so on. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
October 28, 20159 yr Author Hey Guys, I've searched for another way of tessellation and I've found that I have to use worldrenderer. Now I've looked into the WorldRenderer and I've wrote an new Class, I haven't any mistakes but Minecraft doesnt draw the texture I don't know why?! Here my new Class: http://pastebin.com/n9FYw3xH
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.