Mip maps?
Moderators: Winterhawk99, Mermut, Bannor Bloodfist
-
- Posts: 91
- Joined: Fri Aug 18, 2006 3:47 am
Mip maps?
Does anyone know if the NWN1 engine is smart enough to use mip maps if they are included in DDS textures?
-
- Posts: 363
- Joined: Sat Dec 17, 2005 7:11 pm
Not sure - I could be completely wrong - but I think it insists on them. That is, mipmaps are the sole reason for NWN1 using DDS.Tiberius_Morguhn wrote:Does anyone know if the NWN1 engine is smart enough to use mip maps if they are included in DDS textures?
Unless I'm confusing them with something else.
OMB
-
- Posts: 91
- Joined: Fri Aug 18, 2006 3:47 am
Okay, I was wondering about that. In GIMP, the mipmaps show up as separate layers when you have the DDS plugin enabled. I know that many DDS textures (including Bioware's own) for NWN don't have mipmaps - which are just smaller, scaled versions of the original. I know when you convert to TGA it destroys the mipmaps because the TGA format can't handle layers. I will have to experiment more because you can do some freaky things with mipmaps based on distance (make each layer a different shade so that a creature/object changes color the closer you get to it). Anyways, thanks for the info!OldMansBeard wrote:Not sure - I could be completely wrong - but I think it insists on them. That is, mipmaps are the sole reason for NWN1 using DDS.
Unless I'm confusing them with something else.
OMB
-
- Posts: 165
- Joined: Sun Aug 21, 2005 6:46 pm
- ctp: No
- dla: No
- TBotR: No
- nwnihof: No
-
- Posts: 363
- Joined: Sat Dec 17, 2005 7:11 pm
The GIMP plugin doesn't always handle NWN1 DDS correctly, at least not for me. I find it better to use NWNExplorer to export the base image as TGA and the Bioware DDS compression tool to go back from the base. But the compression tool seems to generate its own mipmaps, which doesn't help if you want to supply shaded ones.Tiberius_Morguhn wrote:Okay, I was wondering about that. In GIMP, the mipmaps show up as separate layers when you have the DDS plugin enabled. I know that many DDS textures (including Bioware's own) for NWN don't have mipmaps - which are just smaller, scaled versions of the original. I know when you convert to TGA it destroys the mipmaps because the TGA format can't handle layers. I will have to experiment more because you can do some freaky things with mipmaps based on distance (make each layer a different shade so that a creature/object changes color the closer you get to it). Anyways, thanks for the info!
Nice idea, though. How about a ghost that's transparent until you get real close? Or the opposite, scenery that fades out when close up so it doesn't obscure your view?
Lateral tilefade. Mmm.
- Michael DarkAngel
- Posts: 129
- Joined: Thu Jan 13, 2011 6:30 pm
- ctp: No
- dla: Yes
- TBotR: Yes
- nwnihof: Yes
- Location: Somewhere, out there... But, not quite here...
- Contact:
I would have to say NWN1 does not use mipmaps. Bioware's DDS format is not a standard DDS format. If you use NWExplorer you'll see three folders for textures (*_tpa, *_tpb and *_tpc). Each folder holds all the DDS textures (and in the case of the expansions TGA textures also) for the game. Why three folders? Each folder has a different size file for each texture, in theory. :huh:
So no mipmaps in NWN1 DDS textures but in most cases you can find three different size textures. And not used for distance if I'm not mistaken, but for texture quality instead.
HTH,
MDA
So no mipmaps in NWN1 DDS textures but in most cases you can find three different size textures. And not used for distance if I'm not mistaken, but for texture quality instead.
HTH,
MDA
MDA
TBotR
"I intend to leave a memory of myself in the minds of others."
Leonardo da Vinci,
disciple of experience
-
- Posts: 91
- Joined: Fri Aug 18, 2006 3:47 am
That was my suspicion as well so that is why I asked initially. Damn Bioware's non-standardization!Michael DarkAngel wrote:I would have to say NWN1 does not use mipmaps. Bioware's DDS format is not a standard DDS format.
The distance factor does equal texture quality in a way = the further away an in game object is from your viewpoint, the smaller the size of a texture you can apply to it and still obtain the same "quality" of look. Smaller textures = less vid memory to occupy = more room for up close textures/objects.Michael DarkAngel wrote:So no mipmaps in NWN1 DDS textures but in most cases you can find three different size textures. And not used for distance if I'm not mistaken, but for texture quality instead.
- Michael DarkAngel
- Posts: 129
- Joined: Thu Jan 13, 2011 6:30 pm
- ctp: No
- dla: Yes
- TBotR: Yes
- nwnihof: Yes
- Location: Somewhere, out there... But, not quite here...
- Contact:
I actually thought about that an hour or so after I posted but I didn't feel like editing my post, and forgot all about it until I saw your post.Tiberius_Morguhn wrote:The distance factor does equal texture quality in a way = the further away an in game object is from your viewpoint, the smaller the size of a texture you can apply to it and still obtain the same "quality" of look. Smaller textures = less vid memory to occupy = more room for up close textures/objects.
Oh well,
MDA
MDA
TBotR
"I intend to leave a memory of myself in the minds of others."
Leonardo da Vinci,
disciple of experience