Author Topic: what I was doing over the break (materials)  (Read 29250 times)

0 Members and 1 Guest are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
what I was doing over the break (materials)
Hmm, I thought I posted this, guess not.

Will it be possible to use a single alpha channel to control glowmaps? ie, you have your base diffuse texture, with alpha, and then you have a single additional channel that handles the glowmap 'intensity'.

Ditto for shinemaps.

Since most textures only really make use of the base 'this thing glows' and 'this thing shines', it could reduce memory usage a lot.
-C

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
what I was doing over the break (materials)
cant really think of anythi g off the top of my head, but im planning on taking the next 3 days off of work again, so if you need anything for testing let me know.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
what I was doing over the break (materials)
yeah, I'm prety sure that can be done, if it's posable to do at all then it will be posable with this system.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
what I was doing over the break (materials)
Quote
Originally posted by WMCoolmon
Since most textures only really make use of the base 'this thing glows' and 'this thing shines', it could reduce memory usage a lot.


That's not true.  Almost all of the new maps have the glowing points removed from the base map, so that when the lights are off they go black instead of diffuse-color-of-the-light.  I actually can't think of any major examples left where this is not the case.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline FireCrack

  • 210
  • meh...
what I was doing over the break (materials)
Speaking of wich, we needs the lights to turn off for debris.
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
what I was doing over the break (materials)
It seems absurd to me, though, that we need four full channels just to add red glow gradiants on Shivan fighters, for example. When we start loading bumpmaps or normal maps, it'll just get even worse.

Take this for example:
Fighter with one 1024x1024 map for the entire ship:
4.1 MB Diffuse
4.1 MB Glowmap
4.1 MB Specular
4.1 MB Normalmap
----------------------
17.4 MB per ship.

For every channel removed, the size goes down by one megabyte.
-C

 

Offline FireCrack

  • 210
  • meh...
what I was doing over the break (materials)
^dont you mean 4?

And couldnt you have a pixel shader that creates an animated red gradient from a greyscale map (once we get those implemented ofcourse)
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
what I was doing over the break (materials)
well the great thing is very soon it will be easy to change things like that.
I can't off the top of my head think of exactly how you would  add the multiplication of texture A with the alpha chanle of texrue A to  the multiplication of texture A and the defuse color. but there's probly a way to do it :).

oh, yeah, and I just pluged a little memory leak (stupid virtual destructor crap) and added an optomiseation that will reduce any constant subexpression to a single constant. so ((3*4-1)/sin(ln(34^5)))+107^5 will be replaced by14025517295.277
« Last Edit: April 30, 2005, 07:29:01 pm by 57 »
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
what I was doing over the break (materials)
I get 14025517343.315744886 with the Ubuntu calculator :p.
-C

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
what I was doing over the break (materials)
I got that from my TI89, given that the TI89 costs more your calculatore must be wrong
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
what I was doing over the break (materials)
Mine has more decimal points than yours. :p
-C

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
what I was doing over the break (materials)
no it doesn't ,
no it doesn't !
/*la!la!LA!*/
I'm not listening I'm not listening.your wrong .your wrong .your wrong
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline FireCrack

  • 210
  • meh...
what I was doing over the break (materials)
I wish i had a TI89 silver.
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
what I was doing over the break (materials)
well this is freaking cool to the point that I need to show off, this is a build and the requiered table.
this is a build that has gives glowmapped ships a pulseing glow, it' doesn't quite work in game (though it shouldn't crash, however I can't garentee it. it WILL use the wrong textures for diferent effects)
feel free to play with the table.

things are extreemly limited untill I get the model files upgraded so you can choose wich material to use.

http://freespace.volitionwatch.com/blackwater/materials_test_5-1-05.zip

you may now bask :)
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
what I was doing over the break (materials)
:jaw: :jaw: :jaw:


w0000000000000000000000000000t!!!!!!!!!!!!!!!!!!!!!!!1

When's it going in CVS? :nervous:
-C

 

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
what I was doing over the break (materials)
Well, the build crashes whenever I try to look at a ship (any ship, even if its my own using the '.' key, and backgrounds dont work at all. However, it doe-

*sees all the ships in the techroom

Holy....sh...****!!

*goes to get FRAPS
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
what I was doing over the break (materials)
if you want to play, the material glowmapped_shinemapped is the one used by most ships.
it also has a commented out texture matix example (that shows translation in one direction)

"When's it going in CVS? "
heh... gona be a while :)
« Last Edit: May 01, 2005, 03:19:01 am by 57 »
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
what I was doing over the break (materials)
.....i didn't understand the half of that...
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
what I was doing over the break (materials)
wich half?
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
what I was doing over the break (materials)
......
*looks down in shame...

Both....

btw...I do have a video showing the effect...captured it with FRAPs...anyone got place for a 15+ MB file? GW seems to be down right now :/
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(