Unfortunately I can't search for sun in the forum because it is a 3 letter word, so I will make a post.
Does anyone know how to get the sun working with the Sun() function? I tried and whatever values I put in nothing shows. Is it supposed to make an object appear in the sky that looks like a sun?
Sun
Re: Sun
You can search for 3 letter words by adding an asterisk, i.e. sun*. I did a search though and didn't find anything.
To make an educated guess, i think it just specifies the color and position of a sun-like light source. I'm not sure if that means it is a directional light source that emits parallel light rays as if from a distant sun or if it is a point light source. I would guess either type may be selected. It you wanted a light source to have a particular appearance you would probably create a sphere or a billboard with the desired appearance of your sun and link it somehow to a node or child node with the position of the sun. This is purely a guess as i have not used to OGRE engine at all.
The Sun() command is found in the Engine3D library.
To make an educated guess, i think it just specifies the color and position of a sun-like light source. I'm not sure if that means it is a directional light source that emits parallel light rays as if from a distant sun or if it is a point light source. I would guess either type may be selected. It you wanted a light source to have a particular appearance you would probably create a sphere or a billboard with the desired appearance of your sun and link it somehow to a node or child node with the position of the sun. This is purely a guess as i have not used to OGRE engine at all.
The Sun() command is found in the Engine3D library.
Re: Sun
The sun command affect CreateWater() nothing else.
As Demivec wrote, you have to do it the other way.
Take a look at "StaticGeometry.pb" in the PB's examples folder for reference.
As Demivec wrote, you have to do it the other way.
Take a look at "StaticGeometry.pb" in the PB's examples folder for reference.
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.