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.


Topics - Minigame

Pages: 1 [2]
16
Support / blurred text upon resize?
« on: January 13, 2013, 02:26:31 am »


Whenever I resize the client application, it seems that text blurs.

Here's the bit of code I am using for this feature:
Code: [Select]
// Handle resizing
if (Display.wasResized()) {
buffer.resize(Display.getWidth(), Display.getHeight());
buffer.refresh();
app.getSettings().setWidth(Display.getWidth());
app.getSettings().setHeight(Display.getHeight());
mouseYOffset = buffer.getOutputHeight();
}

To draw the text Strings I am using an implementation of raft's GLFont class, so I figured maybe somebody here has used it and could tell me if  I am doing something wrong?

Updated:
Sometimes when I resize the application I get these random lines? I didn't notice this when I originally posted, but it is relevant to the original post so I shared it on this thread as well..

17
Support / gl in jframe
« on: January 07, 2013, 08:50:24 pm »
I've written a few jPCT based client applications and have gotten them to run @ 120fps but they have used lwjgl display and input handling.
The latest project of mine though, only gets up to 35fps, and I'm wondering if it's because I am using jPCT solely to render the 3D scene, which is drawn inside of a JFrame, and uses Java2D (AWT functions) for game interfaces, user input, etc.
The way scene processes is just as efficient as previous clients, so I have to wonder if what I'm doing (the jframe thing) is bad?

18
Support / string on bill board
« on: November 28, 2012, 07:28:33 am »
I've gotten the basic setup for name tags implemented into my client application:


My goal is to generate name textures, and set them as the bill board texture. I'm not sure how to approach so tips for something efficient would be greatly appreciated.

19
Support / Noobest Question Ever?
« on: November 21, 2012, 09:46:36 pm »
What is the best approach for adding a weapon to a player's hand? Or attaching items such as hats, etc. I've never tried this, and I'm very unsure of where to start. I would need to animate it with the parent model as well.

20
Support / Level of detail
« on: November 14, 2012, 06:15:44 pm »
Is there a way to manipulate the level of detail in the world scene, based on distance from the camera?
Example: http://www.youtube.com/watch?v=kNVne97Ti7I

Pages: 1 [2]