Jump to content

skore13

Members
  • Posts

    13
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • URL
    https://github.com/skore13/renderLib
  • Location
    Karlovy Vary
  • Personal Text
    Rendering? No problem!

skore13's Achievements

Tree Puncher

Tree Puncher (2/8)

2

Reputation

  1. Wow. I see that I really should complete my rendering library . It's work in progress but you can use it (as long as you render only cuboids). https://github.com/skore13/renderLib
  2. I was just doing this. https://github.com/skore13/renderLib It's my work in progress library that is supposed to make it easier to make custom renderers. You might also want look into .obj loading. Example mod using this is Equivalent Exchange (and I think that pahimar is creator of obj loading feature of forge) https://github.com/pahimar/Equivalent-Exchange-3
  3. Here is wiki I created: https://github.com/skore13/renderLib/wiki Now I'm working on rotation. But for your roads it's irrelevant. Also if you are missing anything rendering-related please tell me Road signs: It's gonna be hard to create round signs... But I've idea (from vanilla code for rendering item in player's hand) Also you have to override hitboxes for your road blocks but that's not as hard as custom renderers and I also want it in my library.
  4. Fixed block not showing in chunk section. To fix it I had to return true in renderWorldBlock method. That means that my library is fine. You can just go ahead and use it. If you use it in your mod please write a line about me. Also please star it on github if you are using it. And send me link to your mod. I just want to see if it's usefull. Changelog: https://github.com/skore13/renderLib/commits/master I'm going to add rotation and maybe other shapes so it is going to be more usefull in future.
  5. There is way to avoid TileEntities in custom renderes. I've coded a library that does. I have example code for it too. But it still have one bug: It won't render if there is no full block in chunk section which shouldn't be issue for you since it's road block. Take a look in here: https://github.com/skore13/renderLib
  6. I fixed two bugs but 1 still remains. It's that invisible block thing. I fixed brightness and and color bugs. It's not on github yet because it's little messy.
  7. Checkout my code. It's library with example usage. You can use it (it's unfinished but designed as future-compatible) or just use my code. Important class is (which you can use on its own): cz.skore13.renderLib.renderHelper Also note that there are 2 minor bugs that I'm working on: http://www.minecraftforge.net/forum/index.php/topic,7943.0.html PS: I know that this post is 1 month old but it could be still useful. If not nothing happened EDIT: link to github repository: https://github.com/skore13/renderLib
  8. I made something I can call library. I was about to release it as help for other because it took me a while to make. But when I was creating example mod I run into 2 problems: 1) When custom rendered block is alone in chunk section (you know, that 16*16*16 section of chunk introduced with anvil file format) it's not rendering at all 2) When grass is rendered before it it takes green tint. I guess that it's because of something that every single block in vanila minecraft does. Something that changes opacity, color and other properties. But I wasn't able to spot that in vanila code. (and I was reading it really carefuly since my library is derived from it) Some kind of flag or something like that. Do you know, what is it? Tessellator or opengl method? Thank you very much for your help. Github repository here: https://github.com/skore13/renderLib
  9. If you want to get unlocalized name without "tile." prefix use getUnlocalizedName2() instead of getUnlocalizedName(). But as mnn suggested use LangRegistry for shown name and unlocalized name as internal reference. (I use it in custom renderers so I don't have to keep reference to ID.)
  10. If you want to get unlocalized name without "tile." prefix use getUnlocalizedName2() instead of getUnlocalizedName(). But as mnn suggested use LangRegistry for shown name and unlocalized name as internal reference. (I use it in custom renderers so I don't have to keep reference to ID.)
  11. Please post more code (@mod class, Block classes and any non-vanila superclasses). I'll try to troubleshoot that.
  12. Please post more code (@mod class, Block classes and any non-vanila superclasses). I'll try to troubleshoot that.
×
×
  • Create New...

Important Information

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