Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - chupakabra

Pages: [1]
1
Support / Re: GUI over JPCT
« on: June 24, 2013, 01:35:41 pm »
Ok, I'll try to get some answers on their forums.

Thank you for your time.

2
Support / Re: GUI over JPCT
« on: June 24, 2013, 10:47:59 am »
First I got this problem:

LWJGLRenderer renderer = new LWJGLRenderer();
Caused by: java.lang.NullPointerException
   at org.lwjgl.opengl.GL11.glGetInteger(GL11.java:1436)
   at de.matthiasmann.twl.renderer.lwjgl.LWJGLRenderer.syncViewportSize(LWJGLRenderer.java:224)
   at de.matthiasmann.twl.renderer.lwjgl.LWJGLRenderer.<init>(LWJGLRenderer.java:125)

I've read, that I should call Display.create() or Display.makeCurrent();
In both cases, I get an exception.

3
Support / Re: GUI over JPCT
« on: June 21, 2013, 11:26:36 am »
If I call
     Display.create();
my application stops responding(freezes).

4
Support / GUI over JPCT
« on: June 21, 2013, 09:16:39 am »
Hello,

I would like to add a couple of buttons on a JPCT application. Something like game menu.
What is the best way to achive this functionality?

I tried with TWL -http://l33tlabs.org/ and nifty-gui http://nifty-gui.lessvoid.com/, but with no success.
Is there an tutorial or example source code?

5
Support / Re: Flickering planes
« on: June 11, 2013, 09:08:38 am »
I increased the distance to 1000 and now it works great. Thanks :)

I'll try to minimize the distance, but it won't be such a problem if they hover a little.

Can you advise me, what to do with forklift, to resolve the flickering?

6
Support / Re: Flickering planes
« on: June 11, 2013, 08:48:55 am »
Thank you for quick answer.

I tried to increase the distance. Now "little planes" are 40 units higher than ground. Before they were 20 units higher.
I still get flickering. I added an example picture with forklift roof flickering.

I am using:
      buffer = new FrameBuffer(resWidth, resHeight, FrameBuffer.SAMPLINGMODE_GL_AA_4X);
      buffer.enableRenderer(IRenderer.RENDERER_OPENGL, IRenderer.MODE_OPENGL);
      buffer.disableRenderer(IRenderer.RENDERER_SOFTWARE);

[attachment deleted by admin]

7
Support / Flickering planes
« on: June 10, 2013, 10:30:56 am »
Hello,

I am trying to draw squares on the ground. Currently I am drawing small planes on a big plane.

When I move camera around, litle planes starts flickering. I pasted two images as good and bad example.

How can I resolve this issue? Is this because camera is too far?

[attachment deleted by admin]

Pages: [1]