Open Stinkfist0 opened 11 years ago
It might be a bit shitty to update from 0.2 to 0.4 in our own rex-deps repo. It probably has had significant overhaul. In addition the setConfigString (or whatever it was) needs to be saved, that was a tundra custom addition to the library. I cant remember if something else was done also, but all of them can be found from the commit log.
For attributes at least the new storm would be nice to support. Maybe a boolean if storm is enabled and something else if available.
Going to 0.4 is a nice update, it has in and over cloud rendering. Support for multiple cameras rendering it etc.
Some controls would be nice to modify settings
EC Editor provides generic mechanism for controlling attributes of any EC. The UI is not perfect, but suffices ok. If more user-friendly UI is wanted, such needs to be implemented separately. Having it inside SkyXHydrax plug-in would be fine, or alternatively it can be implemented from script.
I did some preliminary tests of implementing this. I'm having issues getting the EC to update when settings are changed, IE when I change to volumetric clouds in the daynight scene, it removes the existing clouds, tosses a command line error about an undefined reference, and won't change anything.
Looking at the commit logs for SkyX on the dependencies folders, it looks like the files were added whole and there are no actual modifications to base the changes on. Could someone please give some insight in to how the SkyX libraries were modified for Tundra?
@th3flyboy I think the JPG/PNG->DDS conversion and adding "fog_override true none" to all of the SkyX materials are the only changes. The setConfigString change that @jonnenauha mentions was done to Hydrax, not SkyX.
I'm not even able to find "fog_override true none" in the deps repo version of SkyX.
Someone should tell the skyx author to make his textures DDS so we would not have to play around this thing. Or make a config file that tells the asset names as he is reffing to "something.png" directly in code (if i recall right).
Other than that I dont think we modified a lot of things there, but the logs should show something. I'm not sure though if we just made the mods and the committed the files :P
@th3flyboy The SkyX media files are in the Tundra repository src\Application\SkyXHydrax\media
I'm not talking about the media files, I'm talking about code changes.
In code the .png
etc. texture extensions were changed to .dds
. If I recall correctly there were direct refs like this in code. Grep for .dds
on the sources and you should be able to find them, if you have the new 0.4, grep it with whatever extensions its textures are in its /media.
@th3flyboy You were asking about the fog_override in the materials, so I thought to point out the file for that.
And yes, the code changes should be trivial find-and-replace-in-files, IIRC.
Remember to retain the Tundra's DDS texture usage and fog (in SkyX.material) modifications done to the SkyX sources. If 0.4 provides some new and cool - and most importantly usable - features, add new attributes to EC_SkyX that make usage of these features possible.