Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-31-2011, 10:52 PM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo
Text and GUI Rotation

When rotating text via showtext(), and using GUI controls, the behavior is...very strange.

This script
PHP Code:
new GuiMLTextCtrl("GuiText_Test") {
  
profile GuiBlueMLTextProfile;
  
  
100;
  
550;
  
  
text "<center><font size=16 color=white><b>This is a test</b></font></center>";

Produces this:


If you add
PHP Code:
rotation 1.575
The result is this; a scrambled mess of letters.


The same happens when using rotation with showtext().
Is there some way to fix this, and rotate text without it looking like a complete mess?
__________________

Reply With Quote
  #2  
Old 07-31-2011, 10:59 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
LOL. lol
Reply With Quote
  #3  
Old 07-31-2011, 11:03 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Possibly by setting rotation center?

PHP Code:
useowncenter true;
rotationcenter "x,y"
I doubt it though.
Reply With Quote
  #4  
Old 08-01-2011, 12:35 AM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo
Quote:
Originally Posted by ffcmike View Post
Possibly by setting rotation center?

PHP Code:
useowncenter true;
rotationcenter "x,y"
I doubt it though.
Still the same.

Playing around with it more, there seem to be a lot of things wrong with it...
If you have a rotation of .3 thru 1.4, the text just doesn't display. Same with some other numbers as well...
__________________

Reply With Quote
  #5  
Old 08-09-2011, 10:47 PM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo

Blarghargharlargh.

Oh, why thank you Nigel for that bump.

Also, does Stefan ever look over the tech support forums? Or is there no point in bumping this thread? Because if nothing will get done, I might as well just start pming him and let this thread drop back to the middle of the page.
__________________

Reply With Quote
  #6  
Old 08-09-2011, 10:51 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by oo_jazz_oo View Post
Also, does Stefan ever look over the tech support forums?
Seems to be a lottery.
Reply With Quote
  #7  
Old 09-08-2011, 10:03 AM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo


This is actually quite frustrating....I just wanted to display sideways text. Is that so hard to ask for...
__________________

Reply With Quote
  #8  
Old 09-08-2011, 11:17 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by oo_jazz_oo View Post


This is actually quite frustrating....I just wanted to display sideways text. Is that so hard to ask for...
It is on Graal. Even CSS can do it!
Reply With Quote
  #9  
Old 09-08-2011, 10:17 PM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
I posted about this 4 years ago. It does not seem to be a high priority.
__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/
Reply With Quote
  #10  
Old 09-09-2011, 12:29 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Will try to fix it for DirectX9, it's working fine in OpenGL.
Reply With Quote
  #11  
Old 09-09-2011, 12:31 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Stefan View Post
Will try to fix it for DirectX9, it's working fine in OpenGL.
Why not remove DirectX support all together and use OpenGL for the windows version as well? DirectX seems to cause lots of trouble.
Reply With Quote
  #12  
Old 09-09-2011, 01:01 AM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo
Quote:
Originally Posted by Stefan View Post
Will try to fix it for DirectX9, it's working fine in OpenGL.
I thought the v6 client was using openGL.

It would probably be better to just use openGL...Graal seems to run better with it.
__________________

Reply With Quote
  #13  
Old 09-09-2011, 01:04 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Has OpenGL support been improved? I dunno about anyone else but whenever I tried OpenGL with Graal it ran horribly. And I'm talking about over about 4-5 different PCs I've had over the years.
Reply With Quote
  #14  
Old 09-09-2011, 01:21 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by DustyPorViva View Post
Has OpenGL support been improved? I dunno about anyone else but whenever I tried OpenGL with Graal it ran horribly. And I'm talking about over about 4-5 different PCs I've had over the years.
This was also true for me prior to V6, but I find the new version to be much faster for displays with OpenGL whereas DirectX seems to be slower than V5.

I'm not an expert on how this stuff works but idling in a level filled with 25 nickname displaying NPCs, checking through task manager I find V6 + OpenGL to be taking half as much CPU as V5 + DirectX, weirdly V6 + DirectX is about 3 times as much as V6 + OpenGL.
Reply With Quote
  #15  
Old 09-09-2011, 02:42 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
There should be an option in F3 to change between DirectX and OpenGL (for Windows obv).
__________________
Quote:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.