Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Author

There must be a change in the 1.8 because I tried it in the 1.7 and there it is working

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.

hint.png

open.png

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.

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.

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.

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.

  • 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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.