EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 10-19-2005, 05:50 PM
Dolby's Avatar
Dolby Dolby is offline
Bacon Eater
Premium Member
EQ2Interface Admin
This person is a EQ2Map developer.
 
Join Date: Feb 2004
Posts: 2,452
Default Sourcerect for frames

I was wondering if any one has a slick trick with adobe photoshop or another programs to get the sourcerect for n,s,e,w,ne,nw,se,sw of frames?

I know you can double click on the sourcerect text in the UI builder and thats what I'm using now (nice little preview box opens) but it only shows the sourcerect for that part. I'd like to be able to see all of the sourcerects for that frame since they really work off each other. I'm basicly looking for something like the sliceing option in adobe Image Ready but it would give the sourcerect for each box instead of sliceing.
Reply With Quote
  #2  
Unread 10-21-2005, 09:01 AM
Sorak Sorak is offline
A Brown Bear
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Faydark
Posts: 11
Default I think I can, I think I can! Well.. Maybe.. :P

I have seen this and wish there was a way but the best answer I came up with was like this.



So with that image your source rect would look something like..

1st Column
100/150/140/175 for NW | Notice how the first and 3rd are the same?
100/175/140/205 for W | 2nd is the top edge and 4th is the bottom edge
100/205/140/230 for SW | of each row in the 1st column.

2nd Column
140/150/190/175 for N | 1st and 3rd are the 1st and 2nd edges in the 2nd
140/175/190/205 for C | column. 3rd and 4th are the top and bottom edge
140/205/190/230 for S | of each row in the 2nd column.

3rd Column
190/150/230/175 for NE | 1st and 3rd are the 1st and 2nd edges in the 3rd
190/175/230/205 for E | column. 3rd and 4th are the top and bottom edge
190/205/230/230 for SE | of each row in the 3rd column.


If my math is correct and assumuming that the graphic's top left most corner started at 100 in and 150 down in the image file and had a total width of 130 pixels and a total hight of 80 pixels, then all the dimensions should be correct.

These are just my thoughts but I think that I am thinking correctly.

Sorak

Hmm now that I think about it.. I should be able to wright a small app that if givin the the dimensions for the first column and row could spit out the dimensions needed for the rest... interesting in theory anyways lol

Last edited by Sorak : 10-21-2005 at 09:05 AM. Reason: More thoughts.
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 05:17 PM.


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