EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 08-05-2006, 09:07 AM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default an inefficient window using far too many triangles?

I was just poking around in the UI builder some more today. When you click the show triangles box does that mean that the game engine is drawing the UI to the screen as textures on triangles? I haven't done any DirectX coding so I have no idea how this works. This post from Silverfrost seems to suggest that it does.

I noticed that there was a window in the MainHUD group that has very dense rows of triangles. Looking a little closer it turned out to be the tracking window. Under MainHUD - Tracking - Tablepage there are two objects called Tableframe. One is hidden, perhaps left over from an older version, and the one that is showing creates about 900 triangles! This seems to be because it has the property RStyleDefault = /FrameStyles.ThinCornered.rect. If you look at FrameStyles.ThinCornered.rect the e, s, and w image rectangles are really small, covering only 1 or 2 pixels! If you double click on the SourceRect property a window pops up showing you which piece of the dds image is being used. I'm not a UI expert at all but it this some kind of mistake?

I noticed that the FrameStyles.ThinRounded.rect also has this problem. It's used in the IME - VerticalIMEPage window creating about 600 triangles there.
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:25 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI