EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > DDS/Graphics Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 11-21-2005, 01:33 AM
Kamintar Kamintar is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Server: Butcherblock
Posts: 116
Default SourceRect dimensions

Hey guys. Just started looking in depth into UI creation, and was wondering how you guys get the dimensions for the SourceRect for images? Do you guys just edit the image .DDS file within the already specified dimensions or can I make my own file and use that instead?

Is there an easy way (or what is THE way) to get the dimensions needed?
__________________
Reply With Quote
  #2  
Unread 11-21-2005, 08:50 AM
Sorak Sorak is offline
A Brown Bear
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Faydark
Posts: 11
Default

If you use the SOE provided UIBuilder you can double click the "SourceRec" lable and it will pop open another window with the graphic that is in the "SourceResource" lable. Once the window is open you can drag the rectangle around the part of your image you want to display. Close the window and it will update the SourceRec info as needed.

eg:
SourceRec = 000,000,000,000
SourceResource = imageFolder/yourImage.dds



all dds file must be divisable by 2
eg: 32x32, 64x64, 128x128, 256x256, 512x512, 1024x1024... and so on... I believe dimensions like 256x512 will work also.

I started to make a program to allow those who wish to edit the xml in a text editor, extract SourceRecs. I only got as far as getting the image to display in a window. Have to work on finishing it, some day. :P
Reply With Quote
  #3  
Unread 05-31-2006, 10:22 AM
xriscarter xriscarter is offline
A Darkpaw Brute
Interface Author - Click to view interfaces
 
Join Date: Apr 2006
Server: Blackburrow
Posts: 40
Default

Sorry to dig this old one up but I do have this same question.....

The only difference is i HATE using the uibuilder...I like to use note pad for coding and photoshop for the gfxs is ther anyway that I can get the "SourceRect" with only these? I see that there is always 4 "numbers" (eg 00,12,30,35) so I would guess that this is just the pixel count.....

The real question is the format of the numbers....is it left side, top, right side, bottom?


EDIT: Man I have not done and gfxs since the days of D2lod moding...lol....anyone remember how to get photoshop to show your curser placement in Pixels?

Last edited by xriscarter : 05-31-2006 at 10:25 AM.
Reply With Quote
  #4  
Unread 08-06-2006, 11:23 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

Quote:
Originally Posted by xriscarter
The real question is the format of the numbers....is it left side, top, right side, bottom?
left, top, right, bottm is the order

for you curser pos its F3 'INFO"
__________________
Landiin's EQ2MAP Updater Discussion Download
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 06:46 PM.


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