Problems building or running the engine, queries about how to use features etc.
-
r0ut
- Halfling
- Posts: 44
- Joined: Mon Feb 22, 2021 6:25 pm
- x 2
-
Quote
-
0
login to like this post
Post
by r0ut »
Ogre Version: 1.12 (using C# wrapper)
The
SplitPointList type is missing in
PSSMShadowCameraSetup class. Seems like SWIG is skipping it
Code: Select all
public class PSSMShadowCameraSetup : LiSPSMShadowCameraSetup
{
...
public SWIGTYPE_p_std__vectorT_float_t getSplitPoints();
...
}
-
paroj
- OGRE Team Member
- Posts: 1995
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1075
-
Contact:
-
Quote
-
0
login to like this post
Post
by paroj »
-
r0ut
- Halfling
- Posts: 44
- Joined: Mon Feb 22, 2021 6:25 pm
- x 2
-
Quote
-
1
login to like this post
Post
by r0ut »
Fixed adding the following line to
Ogre.i (located at
OgreMain\include folder):
Code: Select all
%template(SplitPointList) std::vector<Ogre::Real>;
It should be right after
%include "OgreShadowCameraSetupPSSM.h" like this:
Code: Select all
SHARED_PTR(PSSMShadowCameraSetup);
%include "OgreShadowCameraSetupPSSM.h"
%template(SplitPointList) std::vector<Ogre::Real>;
-
r0ut
- Halfling
- Posts: 44
- Joined: Mon Feb 22, 2021 6:25 pm
- x 2
-
Quote
-
0
login to like this post
Post
by r0ut »
Thank you for remembering! I will do as soon as I reach home