KidParanoja
16-03-2007 02:47:46
hi everybody,
I´m using OGRE SDK (Eihort Rc2) with CVS PLSM2.
After trying and trying i got everything working, but when i try to run the demo the terrain isn´t visible. Maybe because the camera is moving too fast.
the x,y,z coordinates are moving much to fast, an there is no response to any user input (mouse, keyboard).
Ok, i think the point is, that there is no map loaded.
I know this has been posted for several times allready, but could someone be that kind an tell me following points (i tried several posted solutions an no one worked)
The folder Structure:
The resources Files (location and content)
Also, why are they two output folders?
one in OgreSDK\bin
and one in
paginglandscape\Samples\PagingLandScape2\bin
I tried my very best but it seems that this isn´t enough
thanks a lot
clutch43
17-03-2007 11:00:40
been having same type of problems. I found when trying to load the TSMterrain map, or any map for that matter the camera is way to much above landscape..a fix for tsmterrain is to edit the "terrain".cfg file., ie tsmterrain.cfg..look near bottom, change y value to 600 or so from 32000,
# where to put camera on load.
BaseCameraViewpoint.x=1000.0f
BaseCameraViewpoint.y=600.0f
BaseCameraViewpoint.z=-432.0f
this fixed problem for this terrain, Alps,ps-sound,grand-canyon., still having problems to load..(blue screen(no terrain showing))..you have run your maps threw the mapslitter?,,,curious on how long it took..,,all 6 maps takes me about 1 min? sound right? seems kinda fast...try see if u can get tsmterrain to work with above edit. , your output folder should be
D:\PLSM2\Samples\Common\bin\release or debug folder
KidParanoja
19-03-2007 01:45:47
Thanks for your help clutch, but it didn´t help (which isn´t your fault of course
)
Has somebody got PLSM2 running with good results? If so, then please let me know. As asmo wrote above, Eihort seems to have trouble with PLSM2 (maybe PLSM2 with Eihort). Is there a way to get it working with Dagon.
(I tried it with both, in each case as SDK and also as CVS Version)
I´m trying now for three weeks and i don´t what i´m doing wrong.
Maybe somebody would be that kind (and patient) to go with me through this step by step.
Thanks a lot.
Purrpledone
19-03-2007 03:19:27
Ahhh, I'm sure I read this thread before posting mine, I only realize it's the same problem as mine now that I re-read it...
See my thread - I gave some details about my setup, folder structure, etc. Of course, since it doesn't work for either one of us, that's not much help
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=3817
Do you see the correct map name at the top of the demo when you run it?
KidParanoja
19-03-2007 22:45:36
thanks a lot, purrpledone.
SO to make sure i haven´t forgotten anytihing. i started from sratch as described in
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=3817
And allready at the second step (compiling PLSM2 from CVS) there is an error.
..\..\..\Tools\MapSplitter\include\CEGUI/elements/CEGUICombobox.h(33) : fatal error C1083: Cannot open include file: 'CEGUIBase.h': No such file or directory
BUT, there is this file. Why doesn´t my compiler found them?
My Dir_Structure is the following:
C:\ogrenew
C:\ogreaddons\paginglandscape
i also tried
C:\ogrenew
C:\paginglandscape
with the same results.
Purrpledone
20-03-2007 00:00:52
I think
C:\ogrenew
C:\ogreaddons\paginglandscape
is right.
There are a bunch of steps I didn't list for building from CVS. If you're using VS2005:
- grab the dependencies file from here:
http://www.ogre3d.org/index.php?option= ... Itemid=132
- unzip it in ogrenew. You should have:
ogrenew\Dependencies\include
ogrenew\Dependencies\include\CEGUI (with subfolders)
ogrenew\Dependencies\include\Cg
etc.
- open ogreaddons\paginglandscape\plsm2_vc8_CVS.sln with Visual C++
- for each project, right-click, select properties, Configuration Properties, C/C++, and under Additional Include Directories add the path to ogrenew\Dependencies\include and ogrenew\Dependencies\include\CEGUI
- same dialog window, under Linker, General, Additional Library Directories, add ogrenew\Dependencies\lib\Debug
- same dialog window, under Linker, Input, add ois_d.lib (if it's not already there)
I think there's more, but I forget right now
That should get you further ahead.
KidParanoja
20-03-2007 04:29:40
OMFG, it works!
purrpledone you´re the best.
after several tries i got it all running.
now i will have to play around with settings a little bit.
maybe i can help you out this time, you complain in
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=3817
that you have no input? press ctrl+m after the map loaded.
Purrpledone
20-03-2007 13:07:21
Glad it works
In the demo, I've tried ctrl-m, and pretty much everything else, still doesn't do anything.
I've managed to get a PLSM terrain working in my Ogre application though, so it's all good, I'm using that instead of the demo
(I expected this last step to be the hardest though... it was actually far easier than getting the demo running... hehe)
KidParanoja
20-03-2007 14:45:37
if it´s true, that it is harder to get the demo working than to get PLSM2 integrated into an application, then nobody can stop me now MUAHAHAHA.
i would like to know one think purrpledone. you´ve compiled the PLSM2_VC8_CVS.sln, right? So you have also the mapeditior and the terraingenerator ? i was just wondering, because i read that mapeditor is no longer supported, and you should use the goof editor.
Purrpledone
20-03-2007 15:36:37
The map editor compiled (eventually), but I haven't been able to run it, it gives various errors.
I guess the next step is to get GOOF working :p
KidParanoja
20-03-2007 15:51:46
I think you´re right.
when running map editor i get an vc++ runtime error.
Let´s get to goof.