English 中文(简体)
直接地形上的混凝土
原标题:Moving concavities on a directx terrain

我需要一些直接援助。

I m 在Nvidia Directx SDK的TerraTessellation Sample上建我的项目。

基本上,我做了些什么来改变对地表显示兴趣的Im案卷的卷宗。

V_RETURN(loadTextureFromFile(L"TerrainTessellation/color.dds",     "g_TerrainColourTexture1", pd3dDevice, g_pTerrainEffect));
V_RETURN(loadTextureFromFile(L"TerrainTessellation/normal.dds", "g_TerrainColourTexture2", pd3dDevice, g_pTerrainEffect));
V_RETURN(loadTextureFromFile(L"TerrainTessellation/GabaritoPBT.dds",      "g_DetailNoiseTexture",     pd3dDevice, g_pTerrainEffect));

问题是:

When I move the camera on the X, Y and Z positions makes the concavities of the map move as well, so regarding the texture it s not on the right position as it should be. What is happening? What could help out solving the problem? Thanks! Check the picture below.

“bumps

最佳回答

很糟糕的是,高标上的0值和高分辨率高分辨率高分辨率使混凝土以距离为基础。 i 达到高温水平,保持高水平。

问题回答

暂无回答




相关问题
Prerequisite for learning directx

I am from .net C# background and I want to learn DirectX. I have knowledge of C++ but I am fairly new to graphic world. I am little confused about how to start learning directx, should I start ...

How to programmatically disable the auto-focus of a webcam?

I am trying to do computer vision using a webcam (the model is Hercules Dualpix). I know it is not the ideal camera to use, but I have no choice here. The problem is the auto-focus makes it hard/...

Making an object orbit a fixed point in directx?

I am trying to make a very simple object rotate around a fixed point in 3dspace. Basically my object is created from a single D3DXVECTOR3, which indicates the current position of the object, ...

3d Alternative for D3DXSPRITE for billboarding

I am looking to billboard a sun image in my 3d world (directx 9). Creating a D3DXSPRITE is great in some cases, but it is only a 2d object and can not exist in my "world" as a 3d object. What is ...

热门标签