Re: [Freebooters-devel] Tiling scene manager in CVS
Using CVS ogre, btw they make an anouncement in main site about the inminent release of 0.15, everything looks ok until this: g++ -g -Wall -O2 `sdl-config --cflags` `pkg-config --cflags OGRE` -c -o seatravel.o seatravel.cc seatravel.cc: En member function `virtual bool SeaFrameListener::frameStarted(const Ogre::FrameEvent&)': seatravel.cc:559: error: `Degree' undeclared (first use this function) seatravel.cc:559: error: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [seatravel.o] Error 1 So, I look the code, and seems that you changed that line for CVS 0.15, but its not working for me, Im redownloading at the moment a fresh CVS Ogre copy and try again..
Re: [Freebooters-devel] Tiling scene manager in CVS
kabutor wrote: > Using CVS ogre, btw they make an anouncement in main site about the > inminent release of 0.15, everything looks ok until this: > > g++ -g -Wall -O2 `sdl-config --cflags` `pkg-config --cflags OGRE` -c > -o seatravel.o seatravel.cc > seatravel.cc: En member function `virtual bool > SeaFrameListener::frameStarted(const Ogre::FrameEvent&)': > seatravel.cc:559: error: `Degree' undeclared (first use this function) > seatravel.cc:559: error: (Each undeclared identifier is reported only > once for > each function it appears in.) > make: *** [seatravel.o] Error 1 > > So, I look the code, and seems that you changed that line for CVS 0.15, > but its not working for me, Im redownloading at the moment a fresh CVS > Ogre copy and try again.. Compiles fine for me, Ogre CVS is changing repidly right now. It's most definitely that your Ogre CVS checkout is older than the API change. Once 0.15 is out we should stick with it until 1.0 comes out. Cheers, Moritz
Re: [Freebooters-devel] Tiling scene manager in CVS
but its not working for me, Im redownloading at the moment a fresh CVS Ogre copy and try again.. Compiles fine for me, Ogre CVS is changing repidly right now. It's most definitely that your Ogre CVS checkout is older than the API change. Once 0.15 is out we should stick with it until 1.0 comes out. Now it compiles right, the problem should be a borked copy of OGRE, the new CVS just updated works fine, a problem at the moment: make install mkdir -p /usr/local/share/games/freebooters/harbours/ mkdir -p /usr/local/share/games/freebooters/tiles/ mkdir -p /usr/local/share/games/freebooters/graphics/ mkdir -p /usr/local/share/games/freebooters/sprites/ mkdir -p /usr/local/share/games/freebooters/sound/ mkdir -p /usr/local/share/doc/freebooters/ install ./data/freebooters.conf /etc install ./graphics/*jpg /usr/local/share/games/freebooters/graphics install ./data/harbours/[a-z]* /usr/local/share/games/freebooters/harbours install: «./data/harbours/CVS» es un directorio make: *** [install] Error 1 --- Same with: install ./data/tiles/[a-z]* /usr/local/share/games/freebooters/tiles install: «./data/tiles/CVS» es un directorio And: install: «./sound/CVS» es un directorio and: install: «./doc/CVS» es un directorio :D And then checked the tiled and it works fantastic, I got an error while changing tile: - center none none noneheightmap2.png TerrainSceneManager: Activated PageSource Heightmap Error loading texture terrain_detail.jpg. Texture layer will be blank. 0.394775 30 seatravel: ../../../OgreMain/include/OgreAxisAlignedBox.h:197: const Ogre::Vector3* Ogre::AxisAlignedBox::getAllCorners() const: Assertion `!mNull && "Can't get corners of a null AAB"' failed. Abortado --- So it seems its missing that image somewhere, but maybe its an Ogre error, dont know really. Need something done or a hand with something?
Re: [Freebooters-devel] Tiling scene manager in CVS
kabutor wrote: > Now it compiles right, the problem should be a borked copy of OGRE, the > new CVS just updated works fine, a problem at the moment: They're removing some cruft from the API right now, 0.15 should be a good sync point again. > mkdir -p /usr/local/share/games/freebooters/harbours/ > mkdir -p /usr/local/share/games/freebooters/tiles/ > mkdir -p /usr/local/share/games/freebooters/graphics/ > mkdir -p /usr/local/share/games/freebooters/sprites/ > mkdir -p /usr/local/share/games/freebooters/sound/ > mkdir -p /usr/local/share/doc/freebooters/ > install ./data/freebooters.conf /etc > install ./graphics/*jpg /usr/local/share/games/freebooters/graphics > install ./data/harbours/[a-z]* /usr/local/share/games/freebooters/harbours > install: «./data/harbours/CVS» es un directorio > make: *** [install] Error 1 > --- > > Same with: > install ./data/tiles/[a-z]* /usr/local/share/games/freebooters/tiles > install: «./data/tiles/CVS» es un directorio > And: > install: «./sound/CVS» es un directorio > and: > install: «./doc/CVS» es un directorio > :D Thanks, I'll fix this in the Makefile. > And then checked the tiled and it works fantastic, I got an error while > changing tile: > - > center none none noneheightmap2.png > TerrainSceneManager: Activated PageSource Heightmap > Error loading texture terrain_detail.jpg. Texture layer will be blank. > 0.394775 30 > seatravel: ../../../OgreMain/include/OgreAxisAlignedBox.h:197: const > Ogre::Vector3* Ogre::AxisAlignedBox::getAllCorners() const: Assertion > `!mNull && "Can't get corners of a null AAB"' failed. > Abortado > --- > > So it seems its missing that image somewhere, but maybe its an Ogre > error, dont know really. Please copy the terrain_detail.jpg from the Ogre terrain samples over to materials/ I didn't want to include it in CVS, as we need a GPL version for that. > Need something done or a hand with something? It would be nice if we had a little terrain demo for 0.2.2. We would need five tiles: north westcenter east south All heightmaps beside the center one should have solid terrain heightmaps that make it impossible to leave the outer tiles, so for the west tile it should for example look like this: (* means land and blank means water and | is the connection to the center tile. ***| ** | **** | * ***| ** | ***| Therefore the player could freely sail around the mini world. This would be a nice demonstration of the the inter island travel, before we add tiles for the whole caribbean sea for 0.3. It would be great if you could create five heightmaps like this. I'll work on integrating the harbours in the tile descriptions next. Cheers, Moritz
Re: [Freebooters-devel] Tiling scene manager in CVS
And then checked the tiled and it works fantastic, I got an error while changing tile: - center none none noneheightmap2.png TerrainSceneManager: Activated PageSource Heightmap Error loading texture terrain_detail.jpg. Texture layer will be blank. 0.394775 30 seatravel: ../../../OgreMain/include/OgreAxisAlignedBox.h:197: const Ogre::Vector3* Ogre::AxisAlignedBox::getAllCorners() const: Assertion `!mNull && "Can't get corners of a null AAB"' failed. Abortado --- So it seems its missing that image somewhere, but maybe its an Ogre error, dont know really. Please copy the terrain_detail.jpg from the Ogre terrain samples over to materials/ I didn't want to include it in CVS, as we need a GPL version for that. Done that, a bit different output, it didnt complain about missing texture, same crash: --- Opening /usr/local/share/games/freebooters/tiles/west HUUU heightmap2.png heightmap2.png HUUU center center heightmap2.png HUUU none center noneheightmap2.png HUUU none center none noneheightmap2.png HUUU none center none none noneheightmap2.png HUUU harbour_med,Santa Catalina, 300, 30, 500 center none none noneheightmap2.png JJ center none none noneheightmap2.png TerrainSceneManager: Activated PageSource Heightmap 0.180664 30 seatravel: ../../../OgreMain/include/OgreAxisAlignedBox.h:197: const Ogre::Vecto r3* Ogre::AxisAlignedBox::getAllCorners() const: Assertion `!mNull && "Can't get corners of a null AAB"' failed. Abortado --- Need something done or a hand with something? It would be nice if we had a little terrain demo for 0.2.2. We would need five tiles: [.] It would be great if you could create five heightmaps like this. I'll work on integrating the harbours in the tile descriptions next. Ok. Il try to do it today.
Re: [Freebooters-devel] Tiling scene manager in CVS
kabutor wrote: > TerrainSceneManager: Activated PageSource Heightmap > 0.180664 30 > seatravel: ../../../OgreMain/include/OgreAxisAlignedBox.h:197: const > Ogre::Vecto > r3* Ogre::AxisAlignedBox::getAllCorners() const: Assertion `!mNull && > "Can't get > corners of a null AAB"' failed. > Abortado > --- This seems to be a bug in Ogre (Bug 14 in the bugtracking system). It's running fine on r200 based workstation, but maybe this bug is reproducible with a fresher CVS checkout. I'll investigate this on sunday. > >It would be great if you could create five heightmaps like this. I'll work > >on integrating the harbours in the tile descriptions next. > > Ok. Il try to do it today. Thanks! Cheers, Moritz
Re: [Freebooters-devel] Tiling scene manager in CVS
"Can't get corners of a null AAB"' failed. This seems to be a bug in Ogre (Bug 14 in the bugtracking system). It's running fine on r200 based workstation, but maybe this bug is reproducible with a fresher CVS checkout. I'll investigate this on sunday. Im making ogre cvs update and now seatravel segfaults, and I cannot test one heightmap I done.. It would be great if you could create five heightmaps like this. I'll work on integrating the harbours in the tile descriptions next. Ok. Il try to do it today. Im trying to fix it with another cvs update, and try to test if height is ok, because when you said that any height taller than 40 is coastal, 40 units of what? In terragear maybe? I try to fix ogre to check it
Re: [Freebooters-devel] Tiling scene manager in CVS
kabutor wrote: > >>"Can't get corners of a null AAB"' failed. > >> > >This seems to be a bug in Ogre (Bug 14 in the bugtracking system). It's > >running fine > >on r200 based workstation, but maybe this bug is reproducible with a > >fresher CVS > >checkout. I'll investigate this on sunday. > > > Im making ogre cvs update and now seatravel segfaults, and I cannot test > one heightmap I done.. It doesn't segfault initially for me, it's just that the assert is triggered once the world geometry is reloaded. (with a current CVS). I'll bugreport this now, so that it hopefully can be fixed for 0.15. > >>>It would be great if you could create five heightmaps like this. I'll > >>>work on integrating the harbours in the tile descriptions next. > >>> > >>Ok. Il try to do it today. > >> > Im trying to fix it with another cvs update, and try to test if height > is ok, because when you said that any height taller than 40 is coastal, > 40 units of what? In terragear maybe? I try to fix ogre to check it It's the value of the internal coordinates system. It's a rather arbitrary limit that maps one certain greyscale value to our internal world representation. Cheers, Moritz