winegums
15-02-2007 12:53:56
Hi there, I've recently upgraded my PLSM2 plugin to the sdk version in the CVS, previously I was using the SDK plugin built from the source on Tuan's page. The application I had worked fine, but I wanted to incorporate mesh decals (as projective decals didnt seem to work with the plsplattingshaderlit texture mode i was using, strange!) . It seems now as if all my rayscenequeries which were pretty much carbon copies of the way the deform() fucntion in the plsm2 demo does it no longter work. When I try and deform terrain I get an error says that "vector itterator cannot be dereferenced. Seems like it's trying to access an element of the list that holds the intersections thats not there.
If i change to the plugin from Tuans page it works fine, but mesh decals dont work. Even a simple query to get height of terrain below player does not work anymore so player falls through terrain.
Decals are quite important so I'm considering taking Skulgs bounding box stuff from the new sdk and molesting the version of the sdk ion tuans page with that and hopefully building a plugin that will work for me. Unless anyone here can help me with the problem? I couldnt get the cvs version to compile either, something about the findlights function (among about 4 or 5 other errors) onlly taking one parameter when it needs to (i dont think the list to populate was being passed) Has anyone encountered similar problems or know a fix? I'm using the Ogre SDK ( version 1.2.5 Dagon).
Also is there a way for the PLSM2 to tell you when the tiles have been loaded, just now I have to wait for about one frame b4 doing raysceenqueries(with old plugin which worked) otherwise they dont intersect anything. Thanks!
If i change to the plugin from Tuans page it works fine, but mesh decals dont work. Even a simple query to get height of terrain below player does not work anymore so player falls through terrain.
Decals are quite important so I'm considering taking Skulgs bounding box stuff from the new sdk and molesting the version of the sdk ion tuans page with that and hopefully building a plugin that will work for me. Unless anyone here can help me with the problem? I couldnt get the cvs version to compile either, something about the findlights function (among about 4 or 5 other errors) onlly taking one parameter when it needs to (i dont think the list to populate was being passed) Has anyone encountered similar problems or know a fix? I'm using the Ogre SDK ( version 1.2.5 Dagon).
Also is there a way for the PLSM2 to tell you when the tiles have been loaded, just now I have to wait for about one frame b4 doing raysceenqueries(with old plugin which worked) otherwise they dont intersect anything. Thanks!