Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Tools

Archive::Tools Archive area for Tools's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-06-2004, 03:37 PM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default

I just went over the OpenZone code. First, make sure you're treating the texture coordinates as unsigned values. Second, check to see if the .WLD is an old-format or new-format file. In new-format files the texture coordinates are 32 bits instead of 16 bits. However, you're probably already getting that right or you probably wouldn't be able to read the .WLD file.

I suspect that the 256 multiplier might have to do with the texture size. When I wrote OpenZone all textures were 256x256, but I'm not sure what would happen if the texture was 512x512 instead, for instance. You *might* have to divide by 512 then, but I'm not sure. My gut tells me that it's a signed vs. unsigned problem.
Reply With Quote
 


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 -4. The time now is 10:10 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3