Arkamarante / collision-domain

Automatically exported from code.google.com/p/collision-domain
0 stars 0 forks source link

Cancelling out shadows for wheels / doors etc. #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Negatively scaled nodes fuck up shadows!

mSceneMgr->setFlipCullingOnNegativeScale(true); Neither true or false solve the 
issue, true is the ogre default.

Original issue reported on code.google.com by n...@otterpost.com on 21 Dec 2011 at 2:08

GoogleCodeExporter commented 8 years ago

Original comment by jami...@gmail.com on 3 Jan 2012 at 3:59

GoogleCodeExporter commented 8 years ago
Solution is to create separate left and right doors and wheels.
I will work on this imminently.

Original comment by JonathanSimmonds on 21 Jan 2012 at 5:09

GoogleCodeExporter commented 8 years ago
I have made separate left and right doors for subsequent models. The current 
model is due to be replaced in the near future so not much benefit generating 
new doors for it.

Wheels can be fixed by rotating the model by 180 degrees (rather than scaling 
by -1). I will fix this when I add the new vehicles.

Original comment by JonathanSimmonds on 26 Jan 2012 at 3:52

GoogleCodeExporter commented 8 years ago
I will likely replace this shadow system anyway. More advanced shadow systems 
can be found: 
http://www.ogre3d.org/tikiwiki/Normal+AO+Specular+Mapping+Shader&structure=Cookb
ook

Original comment by JonathanSimmonds on 31 Jan 2012 at 8:01

GoogleCodeExporter commented 8 years ago

Original comment by JonathanSimmonds on 1 Feb 2012 at 3:56

GoogleCodeExporter commented 8 years ago

Original comment by n...@otterpost.com on 3 Feb 2012 at 2:41