View Issue Details

IDProjectCategoryView StatusLast Update
0004792DarkRadiantGUIpublic08.11.2020 18:36
ReporterJudith Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityalways
Status closedResolutionfixed 
Platformx64OSWindowsOS Version7
Product Version2.5.0 
Target Version2.7.0Fixed in Version2.7.0 
Summary0004792: Rotation of x-oriented particles in Particle Editor is different than in-game
DescriptionIf you want rotation of e.g. two static particles to display correctly in-game, like two planes for a candle flame in screenshot below, the rotation in Particle Editor needs to be different than in game to look correct.
Steps To ReproduceThe stage with "orientation x" exhibits the wrong rotation
TagsNo tags attached.
Attached Files
emitter01.jpg (205,390 bytes)   
emitter01.jpg (205,390 bytes)   

Activities

greebo

greebo

06.05.2018 18:56

administrator   ~0010448

May I ask you to provide me with that test setup (map + particle) of yours? I know it's not too complicated, but it might save me some work.
Judith

Judith

07.05.2018 06:59

reporter   ~0010451

Sure, will do that in next day or two. Or, you can recreate it yourself, here's the particle setup:

/*
    Generated by DarkRadiant's Particle Editor.
*/
particle do_flame_candle {
    {
        count 1
        material textures/do/fx/candle_flame01
        time 999.000
        cycles 0.000
        timeOffset 0.000
        bunching 1.000
        distribution rect 0.000 0.000 0.000
        direction cone 90.000
        orientation y
        speed "0.000"
        size "2.500"
        aspect "1.000"
        angle 90.000
        rotation "0.000"
        randomDistribution 0
        boundsExpansion 0.000
        fadeIn 0.000
        fadeOut 0.000
        fadeIndex 0.000
        color 1.000 1.000 1.000 0.000
        fadeColor 0.000 0.000 0.000 0.000
        offset 0.000 0.000 0.000
        gravity 0.000
        entityColor 1
    }
    {
        count 1
        material textures/do/fx/candle_flame01
        time 999.000
        cycles 0.000
        timeOffset 0.000
        bunching 1.000
        distribution rect 0.000 0.000 0.000
        direction cone 90.000
        orientation x
        speed "0.000"
        size "2.500"
        aspect "1.000"
        angle 90.000
        rotation "0.000"
        randomDistribution 0
        boundsExpansion 0.000
        fadeIn 0.000
        fadeOut 0.000
        fadeIndex 0.000
        color 1.000 1.000 1.000 0.000
        fadeColor 0.000 0.000 0.000 0.000
        offset 0.000 0.000 0.000
        gravity 0.000
        entityColor 1
    }
}



The texture image: https://s9.postimg.cc/5850fib1r/obraz.png

(The image had to be rotated like that, as it the flame couldn't be positioned straight up. That might also be worth checking, but I checked stock TDM flame textures, and they use similar setup.)



And finally the material definition:

textures/do/fx/candle_flame01
{
translucent
noshadows
twosided
sort 20

{
blend add
map textures/do/fx/candle_flame01
}

}
greebo

greebo

26.11.2019 16:07

administrator   ~0011883

Fixed in 3bfd63c

Related Changesets

DarkRadiant: master 3bfd63cb

26.11.2019 17:06

greebo


Details Diff
Fix 0004792: Particle stages with "orientation x" had wrong rotation, causing textures to be flipped sideways Affected Issues
0004792
mod - radiant/particles/RenderableParticleStage.cpp Diff File

Issue History

Date Modified Username Field Change
06.05.2018 18:11 Judith New Issue
06.05.2018 18:11 Judith File Added: emitter01.jpg
06.05.2018 18:56 greebo Note Added: 0010448
06.05.2018 18:56 greebo Status new => acknowledged
07.05.2018 04:58 greebo Status acknowledged => feedback
07.05.2018 06:59 Judith Note Added: 0010451
07.05.2018 06:59 Judith Status feedback => new
07.05.2018 07:45 greebo Status new => acknowledged
26.11.2019 16:05 greebo Assigned To => greebo
26.11.2019 16:05 greebo Status acknowledged => assigned
26.11.2019 16:07 greebo Target Version => 2.7.0
26.11.2019 16:07 greebo Summary Rotation of particles in Particle Editor is different than in-game => Rotation of x-oriented particles in Particle Editor is different than in-game
26.11.2019 16:07 greebo Steps to Reproduce Updated
26.11.2019 16:07 greebo Status assigned => resolved
26.11.2019 16:07 greebo Resolution open => fixed
26.11.2019 16:07 greebo Note Added: 0011883
26.11.2019 16:10 greebo Fixed in Version => 2.7.0
09.01.2020 19:25 greebo Changeset attached => DarkRadiant master 3bfd63cb
08.11.2020 18:36 greebo Status resolved => closed