Jump to content

[1.6.4] Not smooth drawing img


xR4V3

Recommended Posts

    java
               ScaledResolution f = new ScaledResolution(Minecraft.getMinecraft().gameSettings, Minecraft.getMinecraft().displayWidth, Minecraft.getMinecraft().displayHeight);
        Tessellator tessellator = Tessellator.instance;
        tessellator.startDrawingQuads();
        tessellator.addVertexWithUV(x, y + h, 0.0D, arr0, arr3);
        tessellator.addVertexWithUV(x + w, y + h, 0.0D, arr2, arr3);
        tessellator.addVertexWithUV(x + w, y, 0.0D, arr2, arr1);
        tessellator.addVertexWithUV(x, y, 0.0D, arr0, arr1);
        GL11.glPushMatrix();
        GL11.glScaled(1.6D, 2.0D, 1.6D);
        tessellator.draw();
        GL11.glPopMatrix();

image.thumb.png.d1139cfbfb0c27ce3d53aa7067f8513a.png

 

The problem is that the image of each user is located in the wrong place, and it should be in the center and above.

Edited by xR4V3
some fail
Link to comment
Share on other sites

You didn't use the "f" variant to scale the image, you just created it. You should rescale what you drawn to that resolution.

procedure WakeMeUp(Integer plusTime);
var
  I: Integer;
begin
  for I := 0 to plusTime do begin
    println('One more minute!');
    Sleep(1000);
  end;
  println('Okay, nothing to worry, I''m alive!');
  println('So... somebody can give me a coffee?');
  println('I know it''s Pascal, and not Java, but I love it :D.');
end;
Link to comment
Share on other sites

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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