Jump to content

zontonix

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by zontonix

  1. Hey! I need a bit of help with texture mapping OBJs in 1.11.2! I’m trying to render a model which should look like: https://imgur.com/a/1ACLE (yes it is ugandan knuckles) But with my code it looks like: https://imgur.com/a/Ki9ru (not want I want it to look like) I'd like some suggestions on how this problem could be fixed as my project needs to be complete pretty soon!
  2. What should I look up then?
  3. I have no clue where to look for vanilla methods. Someone gave me the code and now blocked me
  4. Alright. I have my code which was built for 1.8. When I updated to 1.8.9 I was left with two errors. The lines that caused the errors were: WorldRenderer renderer = tessellator.getWorldRenderer(); renderer.putNormal(faceNormal.x, faceNormal.y, faceNormal.z); VertexBuffer buffer = new VertexBuffer(renderer.getVertexFormat()); renderer.addVertexWithUV(vertices[i].x, vertices[i].y, vertices[i].z, textureCoordinates[i].u + offsetU, textureCoordinates[i].v + offsetV); I've noticed that 'addVertexWithUV' doesn't exist anymore. How can I replace that line and ensure my renderer works? I'm trying to render OBJ models.
  5. Thanks! I'm working on getting OBJ animals and props into my role-plays!
  6. Can you release the code on GitHub or send via PM please? I'm really stuck on getting OBJ's as entities. It would be a great help!
×
×
  • Create New...

Important Information

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