Author Topic: Thrusters and explosions  (Read 15918 times)

0 Members and 1 Guest are viewing this topic.

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: Thrusters and explosions
I deserve many internets cuase this bug drove me to the edge of insanity. I still dont know WHY it happens and only on ATI. Glad its finished now though
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: Thrusters and explosions
probably your shader was writing something odd to the zbuffer (due to ATI's fail drivers)
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 Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: Thrusters and explosions
probably your shader was writing something odd to the zbuffer (due to ATI's fail drivers)

NO zbuffer is read only while drawing thrusters. Thats why its soo frigging odd. It looks definitely like a zbuffer issue but there's no way that the things write to the buffer. I think ATI's fbo depth buffer implementation is somehow broken but I still cant think how and why.
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: Thrusters and explosions
maybe the brokenness is that fact that it is writing to it at all?
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 Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Minecraft
    • Steam
    • Twitter
    • ModDB Feature
Re: Thrusters and explosions

So, I realized that the Retail Cloak Test was a little borked. You couldn't change the player ship.

Fixed that, so here is version 2.

Code: (Cloak Test 2.fs2) [Select]
#Mission Info

$Version: 0.10
$Name:  XSTR("Cloak Test", -1)
$Author: Microsoft
$Created: 07/05/11 at 19:03:00
$Modified: 08/04/11 at 19:14:47
$Notes:
This is a FRED2_OPEN created mission.
$End Notes:

$Mission Desc:
 XSTR("Put mission description here", -1)
$end_multi_text

+Game Type Flags: 1
+Flags: 128
+Disallow Support: 0
+Hull Repair Ceiling: 0.000000
+Subsystem Repair Ceiling: 100.000000

+Viewer pos: -13808.654297, 2227.800781, 2949.279785
+Viewer orient:
-0.032212, -0.000000, -0.999481,
0.230627, 0.973014, -0.007433,
0.972509, -0.230747, -0.031343

$Skybox Model: starfield.pof
$AI Profile: FS2 Retail

#Command Briefing

#Briefing
$start_briefing
$num_stages: 0
$end_briefing

#Debriefing_info

$Num stages: 0

#Players ;! 1 total

$Starting Shipname: Alpha 1
$Ship Choices: (
"GTF Ulysses" 5
"GTF Hercules" 5
"GTF Hercules Mark II" 5
"GTF Ares" 5
"GTF Erinyes" 5
"GTF Loki" 5
"GTF Pegasus" 5
"GTF Perseus" 5
"GTF Myrmidon" 5
"SF Mara (terrans)" 5
"GTB Artemis" 5
"GTB Artemis D.H." 5
"GTB Medusa" 5
"GTB Ursa" 5
"GTB Zeus" 5
"GTB Boanerges" 5
"GVF Ptah" 5
)

+Weaponry Pool: (
"Subach HL-7" 16
"Mekhu HL-7" 16
"Akheton SDG" 16
"Morning Star" 16
"Prometheus R" 16
"Prometheus S" 16
"Maxim" 16
"UD-8 Kayser" 16
"Circe" 16
"Lamprey" 16
"Rockeye" 500
"Tempest" 500
"Hornet" 500
"Tornado" 500
"Harpoon" 500
"Trebuchet" 500
"TAG-A" 500
"TAG-B" 500
"TAG-C" 500
"Piranha" 500
"Stiletto II" 500
"Infyrno" 500
"Cyclops" 500
"Helios" 500
"EMP Adv." 500
)

#Objects ;! 3 total

$Name: Alpha 1 ;! Object #0
$Class: GTF Ulysses
$Team: Friendly
$Location: -5837.034180, 0.000433, 1414.765503
$Orientation:
-0.512272, -0.011408, -0.858748,
0.118509, 0.989409, -0.083839,
0.850609, -0.144717, -0.505495
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Hull: 100
+Subsystem: Pilot
$Arrival Location: Hyperspace
$Arrival Cue: ( false )
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Determination: 10
+Flags: ( "cargo-known" "player-start" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Score: 8

$Name: Hostile ;! Object #1
$Class: GTVA Colossus
$Team: Hostile
$Location: 1454.423096, -88.798103, -2475.697510
$Orientation:
0.868151, 0.003227, -0.496323,
-0.056531, 0.994132, -0.092420,
0.493105, 0.108288, 0.863222
$AI Behavior: None
+AI Class: Major
$Cargo 1:  XSTR("Nothing", -1)
+Initial Hull: 100
+Subsystem: Pilot
+Subsystem: turret01a
+Subsystem: turret02a
+Subsystem: turret03a
+Subsystem: turret04a
+Subsystem: turret05a
+Subsystem: turret06a
+Subsystem: turret07a
+Subsystem: turret08a
+Subsystem: turret09a
+Subsystem: turret10a
+Subsystem: turret11
+Subsystem: turret12
+Subsystem: turret13
+Subsystem: turret14
+Subsystem: turret15
+Subsystem: turret16
+Subsystem: turret17
+Subsystem: turret18
+Subsystem: turret19
+Subsystem: turret20
+Subsystem: turret21
+Subsystem: turret22
+Subsystem: turret23
+Subsystem: turret24
+Subsystem: turret25
+Subsystem: turret26
+Subsystem: turret27
+Subsystem: turret28
+Subsystem: turret29
+Subsystem: turret30
+Subsystem: turret31
+Subsystem: turret32
+Subsystem: turret33
+Subsystem: turret34
+Subsystem: turret35
+Subsystem: turret36
+Subsystem: turret37
+Subsystem: turret38
+Subsystem: turret39
+Subsystem: turret40
+Subsystem: turret41
+Subsystem: turret42
+Subsystem: turret43
+Subsystem: turret44
+Subsystem: turret45
+Subsystem: turret46
+Subsystem: turret47
+Subsystem: turret48
+Subsystem: turret49
+Subsystem: turret50
+Subsystem: turret51
+Subsystem: turret52
+Subsystem: turret53
+Subsystem: turret54
+Subsystem: turret55
+Subsystem: turret56
+Subsystem: turret57
+Subsystem: turret58
+Subsystem: turret59
+Subsystem: turret60
+Subsystem: turret61
+Subsystem: turret62
+Subsystem: turret63
$Arrival Location: Hyperspace
$Arrival Cue: ( true )
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Determination: 10
+Flags: ( "cargo-known" "invulnerable" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Score: 670

$Name: Friendly ;! Object #2
$Class: SJ Sathanas
$Team: Friendly
$Location: -1566.918823, -12.300336, 800.078491
$Orientation:
0.912870, -0.050919, -0.405069,
0.047844, 0.998700, -0.017718,
0.405444, -0.003206, 0.914117
$AI Behavior: None
$AI Goals: ( goals ( ai-chase "Hostile" 50 ) )
$Cargo 1:  XSTR("Nothing", -1)
+Initial Hull: 100
+Subsystem: Pilot
+Subsystem: turret01
+Subsystem: turret02
+Subsystem: turret03
+Subsystem: turret04
+Subsystem: turret05
+Subsystem: turret06
+Subsystem: turret07
+Subsystem: turret08
+Subsystem: turret09
+Subsystem: turret10
+Subsystem: turret11
+Subsystem: turret12
+Subsystem: turret13
+Subsystem: turret14
+Subsystem: turret15
+Subsystem: turret16
+Subsystem: turret17
+Subsystem: turret18
+Subsystem: turret19
+Subsystem: turret20
+Subsystem: turret21
+Subsystem: turret22
+Subsystem: turret23
+Subsystem: turret24
+Subsystem: turret25
+Subsystem: turret26
+Subsystem: turret27
+Subsystem: turret28
+Subsystem: turret29
+Subsystem: turret30
+Subsystem: turret31
+Subsystem: turret32
+Subsystem: turret33
+Subsystem: turret34
+Subsystem: turret35
+Subsystem: turret36
+Subsystem: turret37
+Subsystem: turret38
+Subsystem: turret39
+Subsystem: turret40
+Subsystem: turret41
+Subsystem: turret42
+Subsystem: turret43
+Subsystem: turret44
+Subsystem: turret45
+Subsystem: turret46
+Subsystem: turret47
+Subsystem: turret48
+Subsystem: turret49
+Subsystem: turret50
+Subsystem: turret51
+Subsystem: turret52
+Subsystem: turret53
$Arrival Location: Hyperspace
$Arrival Cue: ( true )
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Determination: 10
+Flags: ( "cargo-known" "invulnerable" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Score: 10000

#Wings ;! 0 total

$Name: Alpha
$Waves: 1
$Wave Threshold: 0
$Special Ship: 0

$Arrival Location: Hyperspace
$Arrival Cue: ( true )
$Departure Location: Hyperspace
$Departure Cue: ( false )
$Ships: ( ;! 1 total
"Alpha 1"
)
+Hotkey: 0
+Flags:( )

#Events ;! 2 total

$Formula: ( when
   ( true )
   ( beam-free-all
      "Hostile"
      "Friendly"
   )
   ( turret-free-all "Hostile" )
)
+Name: Event name
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when
   ( true )
   ( ship-effect
      "Cloak"
      8000
      "Friendly"
   )
)
+Name: Event name
+Repeat Count: 1
+Interval: 1
+Chained: 5
+Team: 0

#Goals ;! 0 total


#Waypoints ;! 0 lists total


#Messages ;! 0 total


#Reinforcements ;! 0 total


#Background bitmaps ;! 1 total

$Num stars: 500
$Ambient light level: 0

$Bitmap List:
$Sun: SunWhite
+Angles: 1.570795 0.000000 0.000000
+Scale: 1.000000
$Starbitmap: PlanetH
+Angles: 0.000000 0.000000 4.712385
+ScaleX: 8.000000
+ScaleY: 8.000000
+DivX: 1
+DivY: 1

#Asteroid Fields

#Music

$Event Music: None
$Briefing Music: None

#End
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Thrusters and explosions
Threads like this are why I don't want my work to get me a new Macbook Pro since the entire line is ATI-powered now :(
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Kolgena

  • 211
Re: Thrusters and explosions
Hmm. I'm more than likely doing something wrong on my end, but I tried the latest build posted here and couldn't get distortions working for engine exhausts. framebuffer explosion distortions work fine though.

Did I need to do something with the shader files as well? Sorry to be a bother.

 

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: Thrusters and explosions
delete old soft-x.sdr files
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Kolgena

  • 211
Re: Thrusters and explosions
I don't have any soft-x.sdr ._.


If it matters any, I'm on ATI (for epic lose)
« Last Edit: August 22, 2011, 12:37:32 pm by Kolgena »

 

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: Thrusters and explosions
i meant as a wild card delete old soft-f.sdr and soft-v.sdr
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 
Re: Thrusters and explosions
hmm i had something strange with the last build :
Used the cloack effect and decloack (they didn't worked ) the only effect it had is that it push backward thruster out of its model normal position ^^
I'm using ati 6970 here.
$Formula: ( every-time
   ( has-time-elapsed "0" )
   ( Do-Nothing
   )
   ( send-message
      "#Dalek"
      "High"
      "Pro-crasti-nate"
   )
   )
)
+Name: Procratination
+Repeat Count: 99999999999
+Interval: 1

 

Offline Kolgena

  • 211
Re: Thrusters and explosions
i meant as a wild card delete old soft-f.sdr and soft-v.sdr

I know. I have neither. Is that perhaps the problem?

 

Offline Kolgena

  • 211
Re: Thrusters and explosions
Sorry for DP, but I figured that it was probably worth another post, rather than appending a bunch of new stuff to the last post.

Right now, I am using r7613, and am unable to get thruster distortions. Framebuffer distorted explosions work fine. Attached are the debug log and some screens. I'm using an ATI card, so if this is idiopathic, I'm fine with it never working as well.

For what it's worth, turning on the animated shader in the ship lab causes these weird black things to be drawn under the thrusters.

[attachment deleted by ninja]
« Last Edit: September 03, 2011, 08:46:28 pm by Kolgena »

 

Offline Lester

  • 27
Re: Thrusters and explosions
I'm getting the same thing on 7516, but I think it might be my aging HD2600 Pro to blame.

 

Offline Nighteyes

  • 211
Re: Thrusters and explosions
wait, are there also heat effects on shockwaves and explosions? because I haven't noticed any...

 

Offline Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: Thrusters and explosions
On shockwaves, yes. Do you have Enable Framebuffer Shockwaves checked on the Experimental list in the Launcher?

 

Offline Kolgena

  • 211
Re: Thrusters and explosions
I'm getting the same thing on 7516, but I think it might be my aging HD2600 Pro to blame.

Probably. The 3650 is supposed to be a die shrink of the 2600, so the two cards are pretty much the same thing. 10.8 catalyst here, if it matters at all.

 

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: Thrusters and explosions
wait till the nightly is up to revision 7629 i fixed something with opengl errors. maybe thats what was causing it
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Kolgena

  • 211
Re: Thrusters and explosions
Nope, r7696 still doesn't have thruster distortions. Same problem as 7613.

 

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: Thrusters and explosions
i cant take care of every ****ty graphics card that is out there. of all the people that are using this 2 people are reporting not working thrusters. be glad that it just doesnt show them and not screw everything up. i am certainly glad cause then i would have to fix it. i dont know why its not working and without the specific card(s) in my pc that are having the problems i cant fix it. sry but thats just the way it is. if suddenly 10 people show up reporting problems on recent graphics cards ill take a look at it. but at the moment i just think is an old graphics card or driver issue
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛