Slick Forums

Discuss the Slick 2D Library
It is currently Sun May 26, 2013 5:03 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Aug 30, 2008 5:03 pm 
Offline
User avatar

Joined: Thu Apr 24, 2008 4:28 pm
Posts: 66
Location: Germany
Hallo,

by typing text in Nifty 0.0.4 or Thingle textfields, no text is shown on the screen. The cursor jumps and I can submit it -console shows the right input. But I never see the text.
Screen shot: http://tobse.eu/file/nifty_no_text.jpg

I'm using:
Nifty Webstart Demo: http://nifty-gui.sourceforge.net/websta ... 0.0.4.jnlp
Windows Vista SP1 32
Java 6 Updt.7
LWJGL Version: 2.0rc1
Slick Build #236 (Console: CEST 2008 INFO:Slick Build #18)
Nifty 0.0.4
Eclipse 3.4.0 :)

Nifty infos:
opengl version: 2.0.6747 Release
opengl vendor: ATI Technologies Inc.
pengl renderer: ATI Mobility Radeon HD 2600

I tested it on my second system with XP, alls works fine. I can't understand why only fields with textinput are broken. Other GUI stuff like Buttons, labels, sound etc. are working.
The Slick True Type Font test is OK and the in the nifty demo the console shows no errors.

Thanks for Nifty, it looks great! I hope there's a solution, so that I can start working with it soon.

Greets,
Tobse


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 30, 2008 8:08 pm 
Offline

Joined: Sun Mar 11, 2007 11:01 am
Posts: 23
Hi Tobse and thanks for trying out Nifty =)

I'm using Nifty with Vista without any problems :/

Can you upload or post the complete Java console log somewhere? The text is rendered with exact the same code as the labels that work =)

Maybe the font rendering color is strangly set (or not reset) to red, so that you can't see it ... ?

I've uploaded a special webstart http://nifty-gui.sourceforge.net/webstart/nifty-examples-0.0.5-tobse.jnlp. You should only get a blinking cursor and you can enter some text. I've removed the red color background, so that you only get the textfield font rendering.

Please try this version instead and post the java console log from your test (attention: I've added some more debug output that is rendered every frame =)

Good luck,
void


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 30, 2008 9:55 pm 
Offline
User avatar

Joined: Thu Apr 24, 2008 4:28 pm
Posts: 66
Location: Germany
Hey void, thanks for the fast reply and your effort.
I tested your special Webstart. Here are the results:
http://tobse.eu/file/javaws23272.txt
It's right, I can only see a cursor.

Best Wishes,
Tobse


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 31, 2008 12:07 am 
Offline

Joined: Sun Mar 11, 2007 11:01 am
Posts: 23
Thanks Tobse! :)

It seems like GL11.glEnable(GL11.GL_CLIP_PLANE0) is not supported everywhere. I've changed it to glScissor() now which seems to get better support.

http://nifty-gui.sourceforge.net/websta ... 0.0.5.jnlp

:D

void


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 31, 2008 1:02 am 
Offline
User avatar

Joined: Thu Apr 24, 2008 4:28 pm
Posts: 66
Location: Germany
A long night and hundreds tests later, void fund the "bug" and I got a working build.
Thank you void for your hard nerves and this great lib!

And now... I give my game a nifty gui :wink:

Tobse


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group