|
Max Payne 2 : Max Payne 2 Modding : Mipmaps alpha and heat haze |
[Forum Rules] |
the silver |
Posted 3rd Sep 2010 11:03am |
L4Y Member Post 1053 / 1603
 |
evolvercobra was working on theese two features:
- On textures you can edit also the mipmaps and so an alpha layer on mipmaps can give a fade effect to the popup of the objects
- The heat haze effects is the distortion created by fire etc that could be used as a trail for the swords or for matrix-like bullet trails
So anything new? Anyone have an idea about how to do the distortion (I read something about this on xgm.ru forums) or where to apply the mipmaps-alpha feature? |
Payne Effects 3 v1.4 RELEASED HERE!!!
Official ModDB Page: http://www.moddb.com/mods/payne-effects-3 |
Modified Sep 3rd, 11:06am by the silver |
|
Andersen |
Posted 3rd Sep 2010 11:16am |
L4Y Member Post 2693 / 3089
 |
Arent mipmaps used for lower settings textures?
I remember an old dds plugin for photoshop that asked if u wanted to see the mipmaps when u loaded a dds texture, and when they popped up, it was just smaller images of the texture, wich i think is used for lower settings people.
I can be wrong of course. |
Power.. Give me, More Power...
Kung Fu Evolution at Moddb |
|
|
the silver |
Posted 3rd Sep 2010 11:45am |
L4Y Member Post 1054 / 1603
 |
I use Corel Paint Shop Pro Photo X2 (the longer software name I've ever saw...) and every time that I open a .dds it asks me if I want to view also the mipmaps.
The mipmaps are progressive low-res versions of the original textures used based on distance, the farthest you are the lower mipmap is used, when you approach to the object you will see the original texture, becouse of this I said that using alpha layer you can "mask" an instant popup by creating a fade effect.
http://en.wikipedia.org/wiki/Mipmap |
Payne Effects 3 v1.4 RELEASED HERE!!!
Official ModDB Page: http://www.moddb.com/mods/payne-effects-3 |
Modified Sep 3rd, 11:47am by the silver |
|
Andersen |
Posted 3rd Sep 2010 12:04pm |
L4Y Member Post 2695 / 3089
 |
Yep.
But then how would it be possible to make the other mipmaps render when they normally only would render if the model is further away ? |
Power.. Give me, More Power...
Kung Fu Evolution at Moddb |
|
|
the silver |
Posted 3rd Sep 2010 12:13pm |
L4Y Member Post 1055 / 1603
 |
Quoting Andersen | Yep.
But then how would it be possible to make the other mipmaps render when they normally only would render if the model is further away ? |
What?
It will work like this: you are at 100 meters from a magazine, it already have the lowest mipmap but we add also no alpha (full invisible), then you go at 80 meters, it already have the medium mipmap but we add also half alpha (half visible), then you go at 60 meters, it already have the lowest mipmap but we add also full alpha (full visible).
In reality it have more "steps" but my example explains how we can add the "fade" effect while approaching the object. |
Payne Effects 3 v1.4 RELEASED HERE!!!
Official ModDB Page: http://www.moddb.com/mods/payne-effects-3 |
Modified Sep 3rd, 12:36pm by the silver |
|
Andersen |
Posted 3rd Sep 2010 12:22pm |
L4Y Member Post 2696 / 3089
 |
Yeah yeah i get that. But lets take an sword trail for example. It gets rendered from the player's hand, but since the player isnt really going further away from the screen his mipmaps get rendered with full quality at all times, so the mipmaps wont change from full to less quality. |
Power.. Give me, More Power...
Kung Fu Evolution at Moddb |
|
|
the silver |
Posted 3rd Sep 2010 12:35pm |
L4Y Member Post 1056 / 1603
 |
Yes, in fact theese two features are completely unrelated, simply evolver was working on both. |
|
Andersen |
Posted 3rd Sep 2010 12:57pm |
L4Y Member Post 2697 / 3089
 |
You just mentioned it in the first post so i thought it was related |
Power.. Give me, More Power...
Kung Fu Evolution at Moddb |
|
|
the silver |
Posted 3rd Sep 2010 12:59pm |
L4Y Member Post 1057 / 1603
 |
Quoting Andersen | You just mentioned it in the first post so i thought it was related |
You misunderstood.
Anyway do you know russian? Becouse if the answer is yes you could try to search for the distortion effect on xgm.ru, I'm pretty sure thay already talked about it, but google translate isn't very good... |
|
the silver |
Posted 3rd Sep 2010 1:12pm |
L4Y Member Post 1059 / 1603
 |
Quoting naspter | cant we make heat haze effect trough making working alpha channel on the sword ?
evolver was talking something about a Special Bone or something on the skeleton with Alpha Export , so it can be archieved in that way.
About Mip Maps i dont understand who guys talking about i dont know really much about things like that , since i never done something really with HUD and making textures. |
Distortion is different from a simple trail made using a simple alpha texture.
About the mipmaps, read the wikipedia article that I linked and than re-read this topic, maybe you will understand... |
Payne Effects 3 v1.4 RELEASED HERE!!!
Official ModDB Page: http://www.moddb.com/mods/payne-effects-3 |
Modified Sep 3rd, 01:12pm by the silver |
|
Andersen |
Posted 3rd Sep 2010 1:20pm |
L4Y Member Post 2698 / 3089
 |
I use google translate aswell Do you translate from russian to english or russian to your language? Cause ive experienced that if i translate from russian to danish alot of things gets messed up, but if i translate from russian to english its quite easier to make out what it supposed to say some places |
Power.. Give me, More Power...
Kung Fu Evolution at Moddb |
|
|
the silver |
Posted 5th Sep 2010 7:52pm |
L4Y Member Post 1082 / 1603
 |
Quoting evolvercobra | Mmm... no really. It`s wasted time.
Fade alpha looks good for projectles like clips and shells.
Distortion - sure no way n Mp2. |
Ah... But are you sure that full invisible alpha means no cpu use?
Quoting evolvercobra | Yep, while alpha is clearly black objects not eat CPU on rendering... |
Becouse IMHO even if invisible the 3d projectile model is still there... however I'm not so expert about how the game engine works so I could be completely wrong. |
Payne Effects 3 v1.4 RELEASED HERE!!!
Official ModDB Page: http://www.moddb.com/mods/payne-effects-3 |
Modified Sep 5th, 07:58pm by the silver |
|
the silver |
Posted 5th Sep 2010 8:12pm |
L4Y Member Post 1083 / 1603
 |
Quoting evolvercobra | If it`s level item - of course CPU go onto physical part, like place in 3d space too.
Ah, forget. |
Mmm... Yes I still can't see an effective use of this "feature" |
|
Page 1 Multiple Page Topic : 1 2 |
    |
|
|
|