Povstalec / StellarView

Stellar View Minecraft Mod
MIT License
17 stars 6 forks source link

[SUGGESTION] Phase Overhaul #22

Open Noobly-Walker opened 5 months ago

Noobly-Walker commented 5 months ago

Calved from #5 and elaborated upon.

This is a list of changes that should be made to OrbitingCelestialObject and Planet in order to overhaul lighting and phases.

Povstalec commented 5 months ago

1st one is an immediate no, it seems you just haven't noticed one small detail.

You can add those semi-absolute with the coordinates of their parents. Boom, you get fully absolute coordinates.

Povstalec commented 5 months ago

2 and 3 is also entirely possible and I don't see a problem. I mean, the sun is always at 0 0 0 coords, that's kinda how solar systems work. the other two coordinates you also have in the form of vievCenterCoords and coords of the object. There is absolutely no information in there you can't already get.

Maybe next time it would be good to consider asking me about this kind of stuff so that I can explain what you can use to get things you need, instead of just assuming there is no way to get them.

Povstalec commented 5 months ago

It is true, however, that you don't get really easy access and you'd need to do some method overriding to get the effects you need, so I'll just adjust the getUV method in such a way that you can get all the info you need directly from there.