Terrain rendering

Everything about development and the OpenMW source code.
Post Reply
corristo
Posts: 493
Joined: 12 Aug 2011, 08:29

Terrain rendering

Post by corristo » 23 Sep 2011, 11:10

http://openmw.com/forum/viewtopic.php?f=14&t=389

So, while MWRender refactoring is going on, I made some little progress.

Thx athile for pointing out problem in VHGT loading, now this code works correct.

I think there is problem with Ogre's Terrain System, exactly with default Material Generator, because it accepts textures in special format (see http://www.ogre3d.org/tikiwiki/Ogre+Terrain+Textures).

As you can see, It also needs normal map, but MW doesn't use normal maps, it just stores normals for every vertex. Of course, we can generate normal map from normals on-the-fly, same for mentioned special format textures, but I don't think it's good.

So, we may implement our own Material Generator, optimized for data, provided by Morrowind data files. I think I should consult with advanced Ogre guys at Ogre forum :)

User avatar
Zini
Posts: 5537
Joined: 06 Aug 2011, 15:16

Re: Terrain rendering

Post by Zini » 23 Sep 2011, 11:27

So, we may implement our own Material Generator, optimized for data, provided by Morrowind data files.
Yes. Definitely. Sorry, I thought that was clear from the beginning.

corristo
Posts: 493
Joined: 12 Aug 2011, 08:29

Re: Terrain rendering

Post by corristo » 23 Sep 2011, 12:34

Now I remembered this. So I should sorry for my bad memory :(

Post Reply