greeduomacro / fluorescence

Automatically exported from code.google.com/p/fluorescence
GNU General Public License v3.0
0 stars 0 forks source link

Virtual tiles rendering #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Client render virtual tiles (no-draw and v-light) which must be invisible. 
No-draw tiles are using for tiledata and statics hooks. And virtual source 
tiles are using for lighting map. Originaly they are defined in osi client, soo 
it is nessasry to make some .xml config file whith list of them. List of 
default such tiles using in 2d client:

<code language="xml">
<NoDraw>
    <Land ID="0x0002"/>
    <Land ID="0x01AF"/>
    <Land ID="0x01B0"/>
    <Land ID="0x01B1"/>
    <Land ID="0x01B2"/>
    <Land ID="0x01B3"/>
    <Land ID="0x01B4"/>
    <Land ID="0x01B5"/>

    <Item ID="0x0001"/>
    <Item ID="0x2198"/>
    <Item ID="0x2199"/>
    <Item ID="0x219A"/>
    <Item ID="0x219B"/>
    <Item ID="0x219C"/>
    <Item ID="0x219D"/>
    <Item ID="0x219E"/>
    <Item ID="0x219F"/>
    <Item ID="0x21A0"/>
    <Item ID="0x21A1"/>
    <Item ID="0x21A2"/>
    <Item ID="0x21A3"/>
    <Item ID="0x21A4"/>
    <Item ID="0x21BC"/>
    <Item ID="0x5690"/>
    <Item ID="0x0490"/>
</NoDraw>

<LightSource>
    <Item ID="0x1646"/>
    <Item ID="0x1647"/>
</LightSource>
</code>

Original issue reported on code.google.com by staticz@uoquint.ru on 3 Mar 2012 at 8:05

Attachments:

GoogleCodeExporter commented 9 years ago
Do you have more specific information what they are used for in the OSI client? 
Is it enough just to ignore most of them, or do they have an important purpose 
that should also be implemented in fluorescence?

Also, what is the exact purpose of the light ids? Are they normal maps?

Original comment by spin@fluorescence-client.org on 13 Mar 2012 at 10:52

GoogleCodeExporter commented 9 years ago
No-draw tiles are specific tiles which are ignored by rending, but client use 
there tiledata info and flags, so they can be used for creating invisible 
impasible tiles, or virtual surface tiles (for example in SA addon flying 
ability of gargoles is just walking on special undraw tiles) also you can use 
them to create virtual roofs (for example if you need to hide second floor of 
building for mobiles who are outside) or virtual surfaces which can be used to 
walk over impassible tiles.

LightSource is also a kind of no-draw tiles, they have no art but put a light 
they ised for making lighting on area without placcing lightsource items, such 
as tourchs and lamps.

Original comment by staticz@uoquint.ru on 13 Mar 2012 at 11:11

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 1d576561a57a.

Original comment by spin@fluorescence-client.org on 18 Apr 2012 at 1:22