Multiple Exhausts => 2, 4...

Hi all,

As the title suggests, I'm struggling making 2 exhausts work. One exhaust works perfectly & the other won't.

Here's the code (thx to Colin) :

Code:
particles
{ 
    backfire
    {
        exhaust0
        {
            pos=-0.339 -0.411 -2.233
            normal=0 0 -1
        } 
        exhaust1
        {
            pos=0.339 -0.411 -2.233
            normal=0 0 -1
        }
        type=backfire
        ; type=backfire_long
        min_rpm=5000
        ; min_rpm=0
        ; suppose car comes from 9000 rpm for example. Then backfiring can happen when max_rpm is reached
        max_rpm=7500
        ; max_rpm=12000
        ; high backfire likeliness for rally cars
        likeliness_percentage=30
        ; likeliness_percentage=100
    }
}
I'm suspecting somewhere to declare the nb. of exhausts that are used ?

Tip :

To work quickly with exhausts position (~ 1 minute), try to play with a "null object/dummy" CoG in your 3D application, freeze your dummy object to the center of your scene. (Apply a center of CoG before). Move/snap your object to your exhaust vertex (eventually align it perfectly) & check your transform values. Transfer those values in car.ini.
 
Should look like this, to make 2 simultaneous exhausts :

Code:
    backfire
    {
        exhaust0
        {
            pos=[B]0.339[/B] -0.411 -2.233
            normal=0 0 -1
        }
        exhaust1
        {
            pos=[B]0.339[/B] -0.411 -2.233
            normal=0 0 -1
        }
        exhaust2
        {
            pos=[B]-0.339[/B] -0.411 -2.233
            normal=0 0 -1
        }
        exhaust3
        {
            pos=[B]-0.339[/B] -0.411 -2.233
            normal=0 0 -1
        }
Same schema for 4 exhausts would mean 8 exhausts....:)
 
I located one exhaust accurately with Blender by putting the cursor on the exhaust pipe and activating transform view which gave the x,y,z values.

I also worked over the particles.ini to make the backfire larger so that it was easy to see. The black smoke didn't match the image in the image folder, don't know why. It s/b flame.

Your post #1 should produce two backfire locations which are referenced to the car null point.
 
I suspect emission shaders aren't working "as expected" in 0.8.17, from what tests I've done it seems like emission = 1.0 is now about 30 times dimmer than it used to be. With the change to lux it would make sense that they don't work without further editing. Flares are pretty dim, too.


Ef. in attachment, that's with emission=30 0 0 that it really matches up okay with the headlights. The texture's kinda crappy but I blame myself for that.

I've also heard rear-facing red projected lights suggested, maybe worth adding those in for better night-time shots.
 

Attachments

  • screenshot003.jpg
    screenshot003.jpg
    21.8 KB · Views: 282

Latest News

Do you prefer licensed hardware?

  • Yes for me it is vital

  • Yes, but only if it's a manufacturer I like

  • Yes, but only if the price is right

  • No, a generic wheel is fine

  • No, I would be ok with a replica


Results are only viewable after voting.
Back
Top