Is there a very simple way to make some Cloud moving on a sphere around the scene ?
i’ve been searching on all the forum it’s too complicated, if anyone can explain that would be nice !
Well you could have tried on google, I’m pretty sure that you would have found some hits.
I guess you could have 2 approach :
- rotating the sky box slowly
- creating some billboards whit cloud textures that travel through the sky.
or combining both approach.
1 > About the skybox , i tried to do a SkySphere but it’s appear to also be a Box … i used the WaterEffect example who has a skysphere code in it ( parameter is set to " true " ).
By the way , how do you rotate a sky ?
2 > why i never seen any billboard with cloud texture on this website ? because spoken like that it seems easy but i’m sure it’s not ><
Thanks
No one knows ? i’m sure someone know something about that >_<
There is no helper class today in JME3 that can do what you want.
No one answers because it’s a complex matter that cannot be answered by “use Magic.createMovingCloudsSkyBox()”.
Besides, this matter is a general 3D topic, you’ll find hints about it on the internet
I pointed you to 2 ideas on how to realize that did you try them? did you search google? did you search gamedev?
A billboard is a quad that always face the camera, maybe you don’t even need a billboard just quads facing the ground. This is easy to test, so test it.
As a general rule of thumb, when you try to do something new, think, search, iterate over it…and then ask, if you didn’t figure it out yourself.
nehon said:
There is no helper class today in JME3 that can do what you want.
No one answers because it's a complex matter that cannot be answered by "use Magic.createMovingCloudsSkyBox()".
Besides, this matter is a general 3D topic, you'll find hints about it on the internet
I pointed you to 2 ideas on how to realize that did you try them? did you search google? did you search gamedev?
A billboard is a quad that always face the camera, maybe you don't even need a billboard just quads facing the ground. This is easy to test, so test it.
As a general rule of thumb, when you try to do something new, think, search, iterate over it...and then ask, if you didn't figure it out yourself.
Thanks for the answer , but does skysphere really exist ? cause i tried a lot of things with spheres it was always a box ... , about the billboard i searched a lot about them but couldn't find any easy explanations for doing some cloud. When you say always face the camera , that means the billboard won't move like natural cloud right ? " just quad facing the ground " well i'm not sure i got your point here. Anyway thank you a lot for your answer
If you look onto these forums, there’s actually a cloud generator out there. It’s from jme1 but you can easily adapt it to jme3 because it uses no libraries from that (you can “enchance” it with jme libraries, but anyways you don’t need it). You’ll get a bufferedimage which you have to apply to your skybox every update (if you want to simulate clouds movement).
Still i haven’t found a way to do this last step. Search for “CloudGenerator”.
There’s also a skydome for jme1 which assures has dynamic lighting (so, theorically if you combine both you’ll have a fully functional dynamic skybox) but i haven’t got any luck porting it to jme3. Maybe you can get any help here. Search for “SkyDome” on the wiki.
I could try to do that thank you , if anyone did Clouds with his jme3 project please let me know