Author Topic: 5 clicks of HTL goodness... (HTL Missiles)  (Read 27463 times)

0 Members and 1 Guest are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: 5 clicks of HTL goodness...
Mostly they don't spin because the math involved gives me a headache. I think all of the missiles (at least, nearly all) are not centered on the model itself in the POF file...instead they're centered on the entire model, so usually the center is about where the thruster is. As a result they look kind of silly spinning around, off-center.
-C

 

Offline Carl

  • Render artist
  • 211
    • http://www.3dap.com/hlp/
Re: 5 clicks of HTL goodness...
how many polygons are we talking abou there? i don't want my FPS to drop dramatically every time i fire dual stillettos.
"Gunnery control, fry that ****er!" - nuclear1

 

Offline FireCrack

  • 210
  • meh...
Re: 5 clicks of HTL goodness...
"there" is a model for the loadout screen(~1000 polies), the ingame model will be nice + low poly.
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 StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Re: 5 clicks of HTL goodness...
Mostly they don't spin because the math involved gives me a headache. I think all of the missiles (at least, nearly all) are not centered on the model itself in the POF file...instead they're centered on the entire model, so usually the center is about where the thruster is. As a result they look kind of silly spinning around, off-center.

In fact (make a note of this FireCrack) the missiles HAVE to be centered on the thruster.  They cannot occupy physical space behind that point in the interface, or the window won't render properly.
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...
Re: 5 clicks of HTL goodness...
Hmm.. i knew they had to be centered on the truster, but i thuaght that just had to do with making the thruster come from the right place.

Are you saying that if i have a bit of the model poking behind the thruster the game will go fubar?
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 StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Re: 5 clicks of HTL goodness...
Yep.  See the Mantis bug about the EMP missile.
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 WMCoolmon

  • Purveyor of space crack
  • 213
Re: 5 clicks of HTL goodness...
Mostly they don't spin because the math involved gives me a headache. I think all of the missiles (at least, nearly all) are not centered on the model itself in the POF file...instead they're centered on the entire model, so usually the center is about where the thruster is. As a result they look kind of silly spinning around, off-center.

In fact (make a note of this FireCrack) the missiles HAVE to be centered on the thruster.  They cannot occupy physical space behind that point in the interface, or the window won't render properly.

*Raises hand*

I'd rather the missiles be centered on the missile body, and try to make the window detect that, since I'm using a very ugly chunk of code to try and calculate the center of the missile. I could just disable that code for the "$tech model" option, it'd be more reliable and faster (right now it's doing a bunch of floating-point calculations), plus I could easily make the models rotate.
-C

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: 5 clicks of HTL goodness...
For standard models, isn't there an option for techroom center, that differs from the actual center?  Couldn't we just set this to the exact center of the missile and have the code look for that when centering it in the loadout screen?
The Trivial Psychic Strikes Again!

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Re: 5 clicks of HTL goodness...
Well, if we're using seperate models for tech images than for in game, why not just make the renderred model have it's axis in the center, but the game model axis by the thruster? It doesn't seem like it'd be difificult. If no tech pof found, fall back to the cbanim, no?

Or TP's sug may work too
Freelance Modeler | Amateur Artist

 

Offline Galemp

  • Actual father of Samus
  • Moderator
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: 5 clicks of HTL goodness...
The bombs I made were really quick jobs because the stock models were so horribly ugly. There's plenty of room for improvement if we're going for THIS level of detail in the tech room, but medium-poly versions for in-game are still necessary.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Re: 5 clicks of HTL goodness...
May as well go the whole shebang and make glow and shine maps for these babies.  I could probably have it so missiles get lit by light so you can actually use the glow/shine maps.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline FireCrack

  • 210
  • meh...
Re: 5 clicks of HTL goodness...
The treb and Hornet already have shinemaps, and the Stilleto and Type One have glowmaps also..
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 Col. Fishguts

  • voodoo doll
  • 211
Re: 5 clicks of HTL goodness...
I could probably have it so missiles get lit by light so you can actually use the glow/shine maps.

I would like that alot. TBP has some huge ship-to-ship torps that look silly the way they are rendered now (full bright).

@Firecrack: Shine-/glowmapping isn't applied to missiles atm.
"I don't think that people accept the fact that life doesn't make sense. I think it makes people terribly uncomfortable. It seems like religion and myth were invented against that, trying to make sense out of it." - D. Lynch

Visit The Babylon Project, now also with HTL flavour  ¦ GTB Rhea

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: 5 clicks of HTL goodness...
For standard models, isn't there an option for techroom center, that differs from the actual center? Couldn't we just set this to the exact center of the missile and have the code look for that when centering it in the loadout screen?

yes the ACEN point, I was thinking the exact same thing.
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
Re: 5 clicks of HTL goodness...
Hmm, I thought I tried that and had the same problem. I haven't directly poked at that code in awhile though.

I might be able to get away with submodel_render, though. At one time or another I was thinking of using that, but didn't know if any models used more than one submodel.
-C

 

Offline Ulala

  • 29
  • Groooove Evening, viewers!
Re: 5 clicks of HTL goodness...
So is there a release yet, or is this still WIP? I looked through the whole thread, but wanted to make sure I didn't miss the link. My eyes still haven't quite adjusted to HLPs new look. :p
[edit] They look fantastic by the way! I think I'll be mashing the counter-measure button just to get a good look more than defending myself. :nervous: [/edit]
I am a revolutionary.

 

Offline FireCrack

  • 210
  • meh...
Re: 5 clicks of HTL goodness...
I still need to conver these and stuff, other than that, they are release worthy.
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 Ulala

  • 29
  • Groooove Evening, viewers!
Re: 5 clicks of HTL goodness...
:yes:
I am a revolutionary.

 

Offline Mongoose

  • Rikki-Tikki-Tavi
  • Global Moderator
  • 212
  • This brain for rent.
    • Steam
    • Something
Re: 5 clicks of HTL goodness...
A hi-poly countermeasure...

You are officially my hero. :D

 

Offline Charismatic

  • also known as Ephili
  • 210
  • Pilot of the GTVA
    • EVO
Re: 5 clicks of HTL goodness...
Nice work, their beatifull.
Love the anit missle.
:::PROUD VASUDAN RIGHTS SUPPORTER:::
M E M O R I A L :: http://www.hard-light.net/forums/index.php/topic,46987.msg957350.html#new

"IIRC Windows is not Microsoft."

"(CENSORED) Galatea send more than two (CENSORED) fighters to escort your (CENSORED) three mile long (CENSORED), STUPID (CENSORED).  (CENSORED) YOU, YOU (CENSORED)!!!"