I am several things questions, though, they dont get along the same topic, but, rather then spamming all around, i wanted to all at once. (apologies for taking the liberty)
How to I access the object(models) that I have linked or added to a scene file? Why the world position is not editable in the scene composer?
2.I want to implement SSAO to my project.My submission is within 20 days, so, I just dont have enough time to start researching from the scratch.And as I have looked in the forum, there is, a more or less working SSAO solution for jME3, available.
So, is it will be available within this time frame, or can anyone help me with some guide line, about how to implement the available code.
I think it is already known to the developers but, I am curious about, if it ever will be fanciable to use OpenCL in gaming.Now, Aparapi is available, will it come to any help?
iamcreasy said:
as I have looked in the forum, there is, a more or less working SSAO solution for jME3, available.
So, is it will be available within this time frame, or can anyone help me with some guide line, about how to implement the available code.
See TestSSAO2 to see how ssao works hope it'll more or less fit your needs....
SSAOUI is just a key binding to tweak SSAO parameters with the keyboard, i made it for debug purpose, itâs not needed to make ssao work. However it can be useful to experiment with the parameters and tweak them for your particular scene.
iâts in the jme3test.post package copy the class if you need it.
The parameters are hard to explain, because they are just part of a complex equations, youâll have to test them to get an idea
but here is an overview (in the order of the ssaoconfig constructor) :
Sample Radius : the radius of the samples heh :p. it defines the spread of ssao, the higher the value the wider looks the effect
AO Intensity : pretty obvious, the higher the value the darker the effect
AO scale : this one is very hard to explain, it scales the length of the vector between the pixel and the sample, itâs effect is hard to dissociate from intensity. Experiment.
AO bias : Harder to explain than the scale but , it acts like a contrast parameter.
Toggle AO on/off : must be true if you want to see something
Use only AO : only displays the AO channel, without mixing it with the render
if you manage to use the ssaoui, once you have tweaked your parameters for your scene, hit the P key, it will output the ssaoconfig initialization in the console. So you just have to copy/paste in your code.