Quote:
Can you elaborate on what you mean by that? Maybe post the code that you changed? PolyVox uses a lot of templates (maybe less in the future) and one of the problems with templatized code is that it is not compiled unless you actually call it. Not sure of the exact rules, but it means compile errors can slip through...
Here, from Voxel.inl:
Code:
////////////////////////////////////////////////////////////////////////////////
/// \param v3dPos the 3D position of the voxel
/// \param tDefault the voxel to be returned if the requested position is outside the volume
/// \return the voxel value
////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType>
VoxelType Volume<VoxelType>::getVoxelAt(const Vector3DUint16& v3dPos, VoxelType tDefault) const
{
return getVoxelAt(v3dPos.getX(), v3dPos.getY(), v3dPos.getZ()/*, tDefault*/);
}
#pragma endregion
I had to comment out the ",tDefault" to make it working.
Quote:
Ok, I fixed the bug
Nice to hear that!
Quote:
No problem, just let me know when it works. I'm already registered on ModDB as 'PolyVox'.
Our Forum has nothing to do with ModDB. We have a private one, hosted on a server of a teammate. But I just realized, that
it is completely senseless to give you an Account for
this Forum, as it will close in a few weeks, and no one of us writes postings
on it because of this. There is a reason for this, though. We are moving. But as the new forum isn't finished yet, we can't use it now.
Our Web-"Manager" ( Still don't know the right job description for him :/ ) is still coding on it.
However, I will send you a binary of [w]tech in the next days. Currently I have to fix a wired issue:
-The less pixels get shaded, the worse the performance get.
This only happens with the deferred renderer of the terrain, and only when I use triplanar texturing.
If you can live with the bad performance (Shouldn't be too bad on your computer, I get 20FPS on mine with an old Nvidia GF8400 when I'm far away) I can send it to you.
It would also be good then if we could meet on some instant messaging service, just because it is easier to explain the engine then. There are a few nitpicks here and there, as well as things that are a bit confusing. And I think you shouldn't be able to figure out our a bit special HLSL functions
I can be found on ICQ(Mostly), AIM, MSN (I think so..), IRC, and Facebook. If you are using something different, okay, no problem.
If you aren't using any you may are good at creating an Account somewhere (ICQ would be great then). I'll email you my contact information then.