Volumes Of Fun
http://www.volumesoffun.com/phpBB3/

Transvoxel Algorithm
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=2&t=338
Page 4 of 5

Author:  milliams [ Tue Nov 13, 2012 1:39 pm ]
Post subject:  Re: Transvoxel Algorithm

The error seems to be referring to Boost rather than PolyVox or TVA. Most likely you need to update your version of Boost or maybe there is an embedded version which is conflicting.

Author:  kalwalt [ Tue Nov 13, 2012 3:39 pm ]
Post subject:  Re: Transvoxel Algorithm

Quote:
The error seems to be referring to Boost rather than PolyVox or TVA. Most likely you need to update your version of Boost or maybe there is an embedded version which is conflicting.

yes, you are right ! i deleted the conflicting boost and that error disappear. but now i'm getting troubles with Ogre and OiS:
Quote:
-------------- Build: all in ogredemo ---------------

Using makefile: Makefile
[ 8%] Building CXX object CMakeFiles/ogredemo_a.dir/src/ogre_utility.cpp.o
[ 16%] Building CXX object CMakeFiles/ogredemo_a.dir/src/volume_renderer.cpp.o
[ 25%] Building CXX object CMakeFiles/ogredemo_a.dir/src/BaseApplication.cpp.o
[ 33%] Building CXX object CMakeFiles/ogredemo_a.dir/src/TutorialApplication.cpp.o
Linking CXX executable ogredemo_a
CMakeFiles/ogredemo_a.dir/src/BaseApplication.cpp.o: In function `BaseApplication::createInputDevices()':
BaseApplication.cpp:(.text+0xa5f): undefined reference to `OIS::InputManager::createInputSystem(std::multimap<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&)'
BaseApplication.cpp:(.text+0xab2): undefined reference to `OIS::InputManager::createInputObject(OIS::Type, bool, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
BaseApplication.cpp:(.text+0xb1d): undefined reference to `OIS::InputManager::createInputObject(OIS::Type, bool, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/ogredemo_a.dir/src/BaseApplication.cpp.o: In function `BaseApplication::windowClosed(Ogre::RenderWindow*)':
BaseApplication.cpp:(.text+0x1e0a): undefined reference to `OIS::InputManager::destroyInputObject(OIS::Object*)'
BaseApplication.cpp:(.text+0x1e25): undefined reference to `OIS::InputManager::destroyInputObject(OIS::Object*)'
BaseApplication.cpp:(.text+0x1e35): undefined reference to `OIS::InputManager::destroyInputSystem(OIS::InputManager*)'
collect2: ld returned 1 exit status
make[2]: *** [ogredemo_a] Errore 1
make[1]: *** [CMakeFiles/ogredemo_a.dir/all] Errore 2
make: *** [all] Errore 2
Process terminated with status 2 (0 minutes, 35 seconds)
6 errors, 0 warnings



i have OIS and OIS lib and OGRE build with OIS support, i added also a link flags in cmake but this not help. I have to investigate more thoroughly....

Author:  realazthat [ Tue Nov 13, 2012 3:54 pm ]
Post subject:  Re: Transvoxel Algorithm

kalwalt wrote:
i tried with all the previuos release but the best result i had with polyvox version 'PolyVox-GIT-2e4bf67' from download page.


Give me a few hours, and I'll get it to compile with the latest PolyVox once again. The last PolyVox version it works with is at least as old as August 2011.

Author:  kalwalt [ Tue Nov 13, 2012 4:08 pm ]
Post subject:  Re: Transvoxel Algorithm

realazthat wrote:
kalwalt wrote:
i tried with all the previuos release but the best result i had with polyvox version 'PolyVox-GIT-2e4bf67' from download page.


Give me a few hours, and I'll get it to compile with the latest PolyVox once again. The last PolyVox version it works with is at least as old as August 2011.


if you can, i will really appreciate it! :)

Author:  David Williams [ Tue Nov 13, 2012 7:02 pm ]
Post subject:  Re: Transvoxel Algorithm

realazthat wrote:
Give me a few hours, and I'll get it to compile with the latest PolyVox once again. The last PolyVox version it works with is at least as old as August 2011.


PolyVox is in a pretty stable state at the moment so it's worthwhile doing that. At least, we've made the changes to the voxel types and surface extractors that we wanted to. There's still various little things to do before release.

The main issue you will encouter is the lack of getThreshold(), etc on the voxel types. This is because voxels can now be primative types. However, you don't have to support all voxel types for all algorithms - you are free to decide that the transvoxel algorithm should only with on MyTransvoxelType for example. This will be simpler to get started as you can give this voxel a similar interface to the other voxel types had previously.

Be sure to check out CHANGELOG.txt

Author:  kalwalt [ Wed Nov 14, 2012 1:54 pm ]
Post subject:  Re: Transvoxel Algorithm

Quote:
The main issue you will encouter is the lack of getThreshold(), etc on the voxel types. This is because voxels can now be primative types. However, you don't have to support all voxel types for all algorithms - you are free to decide that the transvoxel algorithm should only with on MyTransvoxelType for example. This will be simpler to get started as you can give this voxel a similar interface to the other voxel types had previously.


i hadn't this issue David with last stable version from the Download page ( as i exsposed previuosly) i have instead an issue with Ogre, i cant link correctly lib OIS... maybe polyvox-tva is using a different version? (but i suspect that is only a linking problem) i'm using Ogre version 1.8.1 and , OIS version 1.3.
Apart this i will happier if it will be an implementation also without Ogre , with QT it will be super friendly and simpler.
Thanks

Author:  realazthat [ Thu Nov 15, 2012 4:55 pm ]
Post subject:  Re: Transvoxel Algorithm

Sorry for the delay, I have updated it to the latest revision of polyvox, but in doing so, one of the demos gives me an assertion which I have been working on.

Author:  kalwalt [ Thu Nov 15, 2012 5:18 pm ]
Post subject:  Re: Transvoxel Algorithm

ok! What kind of assertion? please, considering your time , also could you make a short explanationin in the near future on how to use your tva implementation? i mean for who don't want stay on the Ogre platform and plan to implement it under another engine or what else.
Thanks

Author:  realazthat [ Thu Nov 15, 2012 5:36 pm ]
Post subject:  Re: Transvoxel Algorithm

kalwalt wrote:
ok! What kind of assertion? please, considering your time , also could you make a short explanationin in the near future on how to use your tva implementation? i mean for who don't want stay on the Ogre platform and plan to implement it under another engine or what else.
Thanks


The assertion is obviously an error/bug in the library. It is difficult to explain, but basically its expecting some edge vertices in a lookup table to obtain the normals. The phrase "corner case" was invented for this library ;).

You don't need to use Ogre at all. I just use it for the demonstrations.

And yes, I will over the next few days and weeks, document everything with great detail.

Author:  kalwalt [ Thu Nov 15, 2012 5:55 pm ]
Post subject:  Re: Transvoxel Algorithm

realazthat wrote:

The assertion is obviously an error/bug in the library. It is difficult to explain, but basically its expecting some edge vertices in a lookup table to obtain the normals. The phrase "corner case" was invented for this library ;).



a bug in polyvox or the tva approach?

Quote:
You don't need to use Ogre at all. I just use it for the demonstrations.
And yes, I will over the next few days and weeks, document everything with great detail


this i was sure, but, as you can imagine, with a minimal documentation it is certainly easier.

Page 4 of 5 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/