Refar
Deity
- Joined
- Apr 10, 2005
- Messages
- 4,608
Ok... I found it... And tho i am sure you don't really want to know...
They coded the information which offset coordinates from that list belong to which tree into the vertex color. On stuff like this you can really make peoples happy by documenting it somewhere, because it's a PITA to reverse engineer. Anyway...
I can now produce a road-cut and hill adjusted nif.
The question remains - what do we do with the sway ?
Look at the trees in the game to get a picture - it is not much, but it is a noticeable movement even when zoomed out... Will look ungood on ruines
Does someone remember if Jungle does sway ?
Edit: Yes it does...
I do not see a usefull tag in the XML either. Actually there is a "animated" tag. But it's already set to 0 on forest...
They coded the information which offset coordinates from that list belong to which tree into the vertex color. On stuff like this you can really make peoples happy by documenting it somewhere, because it's a PITA to reverse engineer. Anyway...
I can now produce a road-cut and hill adjusted nif.
The question remains - what do we do with the sway ?
Look at the trees in the game to get a picture - it is not much, but it is a noticeable movement even when zoomed out... Will look ungood on ruines
Does someone remember if Jungle does sway ?
Edit: Yes it does...
I do not see a usefull tag in the XML either. Actually there is a "animated" tag. But it's already set to 0 on forest...