Go Back   EQEmulator Home > EQEmulator Forums > OpenZone > OpenZone:: Q&A

OpenZone:: Q&A Support forum for OpenZone help

Reply
 
Thread Tools Display Modes
  #1  
Old 06-17-2005, 11:00 AM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,475
Default Scene output and Textures

WC - in the .scn output the textures have an "+0" after them - what does this mean? I do not remember seeing it before.
palm_l is my tree texture, but there's the "+0" after it?

For example -

TriangleTex 97.9837417602539, 2.46714067459106, 156.127883911133, -81.9622497558594, 15.5342483520508, 151.429000854492, 93.0469818115234, 6.45521402359009, 354.995086669922, 0, 1, 1, 1, 0, 2, palm_l+0, false, false, True, 0, false, 0, false, 0, True, True, True, True, -0.0728863403201103, -0.997174382209778, 0.0181877836585045, -0.0728862956166267, -0.997174382209778, 0.0181877426803112, -0.0728862956166267, -0.997174382209778, 0.0181877426803112


Thanks
GeorgeS
Reply With Quote
  #2  
Old 06-18-2005, 10:54 AM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default

The "+0" is new to OpenZone. The plus sign is just a delimiter and is not part of the number -- I chose it specifcally because it's not a valid filename character and won't be found in filenames. The number is a floating-point value: for animated textures, it specifies the time in seconds to execute one animation sequence. If there is only one texture it is ignored, and if the number isn't present then OpenZone puts a zero in for the value (which is still ignored). If there is more than one texture and the number is not present, OpenZone will put in a default of 100ms (0.1 seconds) per animation frame (texture). If the number is present, then OpenZone will enforce a lower bound of 10ms per frame and an upper bound of 100s for the entire sequence. In any case, you can safely not include the "+" delimiter and number unless you want to have animated textures and want to specify the animation time.

I did it this way so that everything relating to animated textures--the textures themselves, their opacity maps, and the animation time all go together internally in one string, as a self-contained unit. It makes the internal management a lot easier and more reliable, as long as the string is always run through a single routine for breaking it up into its component parts.

Last edited by Windcatcher; 06-18-2005 at 06:57 PM..
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 -4. The time now is 06:52 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3