Author Topic: weird rendering artifact  (Read 10237 times)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: weird rendering artifact
« Reply #30 on: March 10, 2013, 10:21:43 pm »
...still weird... ???

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: weird rendering artifact
« Reply #31 on: March 10, 2013, 10:25:25 pm »
yup :-\

btw, seldomly I got an app crash, with the stacktrace below logged to file. maybe relevant?

Code: [Select]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J  org.lwjgl.opengl.GL11.nglTexCoord2f(FFJ)V
J  com.threed.jpct.GLBase.blit([Ljava/lang/Object;FF)V
J  com.threed.jpct.GLRenderer.execute(I[Ljava/lang/Object;)V
J  com.threed.jpct.FrameBuffer.blit(Lcom/threed/jpct/Texture;IIIIIIIIIZLjava/awt/Color;)V
J  raft.glgui.opengl.TexturePack.blit(Lcom/threed/jpct/FrameBuffer;Lraft/glgui/opengl/TexturePack$Entry;IIIIIZLjava/awt/Color;)Ljava/awt/Dimension;
J  raft.glgui.opengl.TexturePack.blit(Lcom/threed/jpct/FrameBuffer;IIIIZLjava/awt/Color;)Ljava/awt/Dimension;
J  raft.glgui.opengl.GLFont.blitString(Lcom/threed/jpct/FrameBuffer;Ljava/lang/String;IIILcom/threed/jpct/RGBColor;)V
J  raft.jumpy.gl.JumpyTWL.render()V

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: weird rendering artifact
« Reply #32 on: March 10, 2013, 10:34:31 pm »
Maybe...but it doesn't make much sense except that it indicates some driver problem. The crashing command is something like

Code: [Select]
GL11.glTexCoord2f(<float>, <float>);

...and i don't see how this can crash anything under normal circumstances. Buffered blits don't do it that way, which might be the reason why they work...

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: weird rendering artifact
« Reply #33 on: March 10, 2013, 10:39:14 pm »
mm, my best bet seems to be sticking to Config.glBufferedBlits=true.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: weird rendering artifact
« Reply #34 on: March 10, 2013, 10:41:05 pm »
Yes. It's the only way that jPCT-AE knows anyway.