dhscompguy
01-12-2005 04:39:49
Running through the excellent beginner tutorial #3 and stumbled upon this quirk --
This works...
self.sceneManager.setFog(ogre.FOG_EXP, fadeColour, 0.003)
And this works...
self.sceneManager.setFog(ogre.FOG_EXP2, fadeColour, 0.005)
PS -- is this what it's supposed to say in the tutorial? It still says FOG_EXP, although a suggestion to try EXP2 is listed in close proximity to the code snippet.
But this crashes immediately...
self.setFog(ogre.FOG_LINEAR, fadeColour, 0, 50, 500)
Any ideas?
Thanks,
Denny
This works...
self.sceneManager.setFog(ogre.FOG_EXP, fadeColour, 0.003)
And this works...
self.sceneManager.setFog(ogre.FOG_EXP2, fadeColour, 0.005)
PS -- is this what it's supposed to say in the tutorial? It still says FOG_EXP, although a suggestion to try EXP2 is listed in close proximity to the code snippet.
But this crashes immediately...
self.setFog(ogre.FOG_LINEAR, fadeColour, 0, 50, 500)
Any ideas?
Thanks,
Denny