Inline 4 Diesel Engine

Work together on Algodoo projects here.

Re: Inline 4 Diesel Engine

Postby Gent » Mon Jul 11, 2011 3:50 am

OK here it is ;)
Once we add the fuel it should realy make some power :thumbup:
We should gear the turbo to the engine and let the spawned ehaust
help too :lol:

Rating: rated 6.1
Filesize: 91.58 kB
Comments: 8
Ratings: 3
download
Last edited by Gent on Tue Jul 12, 2011 4:07 am, edited 1 time in total.
"I should be working on my plane"
Gent
 
Posts: 105
Joined: Tue Sep 01, 2009 5:42 am
Location: Springfield Mo USA

Re: Inline 4 Diesel Engine

Postby Dare » Mon Jul 11, 2011 4:27 am

So what makes this one a diesel? It's just a regular 4-stroke engine isn't it? How do you plan on making it different?
ImageImage
TC42 wrote:Dare, you are creepy.

Official Algobox Admin! Please PM me if you have any issues regarding Algobox.
User avatar
Dare
 
Posts: 833
Joined: Sat Nov 21, 2009 4:27 pm
Location: Sydney, Australia

Re: Inline 4 Diesel Engine

Postby Gent » Mon Jul 11, 2011 1:40 pm

Its just the basic engine we still need to add the fuel injection equipment to make it a "diesel" :oops:
I accidently uploaded it in the wrong area and didnt realize it for a few hours :oops:
"I should be working on my plane"
Gent
 
Posts: 105
Joined: Tue Sep 01, 2009 5:42 am
Location: Springfield Mo USA

Re: Inline 4 Diesel Engine

Postby Gear97 » Mon Jul 11, 2011 3:48 pm

@Dare. I am also trying to make the fuel ignite itself just by compression, just like a diesel engine in real life, because its well known that diesel ignites it self by the compression, isn't it ?
@Gent. Nice work :) You even added the strokes now ! Very good :clap: . Well it seems that I am going to need to re-download 1.8.5, your engine doesnt runs well, I need to be at sim.frequency = 1000; and do some changes all over the engine to see it barely spin.
Have you got skype ? Or still not downloaded it ?
Gears are my favorite mechanism. Why do you think I have this username ? ;)
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime ;)
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
User avatar
Gear97
 
Posts: 146
Joined: Sat Jan 02, 2010 5:34 pm
Location: Brazil

Re: Inline 4 Diesel Engine

Postby Gent » Mon Jul 11, 2011 5:26 pm

@ Gear97, yea you will never get this to work in beta :cry: it should work at 100hz
I will try and get Skype this evening ;)
"I should be working on my plane"
Gent
 
Posts: 105
Joined: Tue Sep 01, 2009 5:42 am
Location: Springfield Mo USA

Re: Inline 4 Diesel Engine

Postby Gear97 » Mon Jul 11, 2011 5:47 pm

OK. I already download the beta but I still with the new beta, when we finish this collab I will unninstall the 1.8.5 it is so bad to have "two algodoos" in one computer !
EDIT: If you plan to get skype this evening I won't be online my friend, it is the timezone problem ... Well at least I think.
Gears are my favorite mechanism. Why do you think I have this username ? ;)
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime ;)
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
User avatar
Gear97
 
Posts: 146
Joined: Sat Jan 02, 2010 5:34 pm
Location: Brazil

Re: Inline 4 Diesel Engine

Postby Gent » Mon Jul 11, 2011 5:58 pm

Ok I would think we would be close to the same time zone if you are in Brazil?
I'm at work right now and its 11;00 am
Nothing I have ever made works in the stupid beta :cry:
"I should be working on my plane"
Gent
 
Posts: 105
Joined: Tue Sep 01, 2009 5:42 am
Location: Springfield Mo USA

Re: Inline 4 Diesel Engine

Postby Gear97 » Mon Jul 11, 2011 7:36 pm

Hmm.., Gent I am at GMT - 3 and I am making this post at 14:36 (in my hours), what's your timezone ?
EDIT: Oh nevermind! I forgot to look at the time when you posted, well you were right, you are only one hour behind me.
Gears are my favorite mechanism. Why do you think I have this username ? ;)
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime ;)
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
User avatar
Gear97
 
Posts: 146
Joined: Sat Jan 02, 2010 5:34 pm
Location: Brazil

Re: Inline 4 Diesel Engine

Postby PooPingDung » Mon Jul 11, 2011 9:47 pm

ok yeah i got skype and im on. I think i know how to get the fuel to ignite itself
PooPingDung
 
Posts: 52
Joined: Fri Apr 01, 2011 7:32 am

Re: Inline 4 Diesel Engine

Postby Gent » Tue Jul 12, 2011 12:27 am

I just got skype and I'm trying to find you guys, My skype name is gentharris57
@PooPingDung the name you gave earlier isnt showing up?
"I should be working on my plane"
Gent
 
Posts: 105
Joined: Tue Sep 01, 2009 5:42 am
Location: Springfield Mo USA

Re: Inline 4 Diesel Engine

Postby PooPingDung » Tue Jul 12, 2011 12:57 am

Gent get on skype you old goop we have a bone to pick with you :evil:
I added you just accept it :thumbup:
PooPingDung
 
Posts: 52
Joined: Fri Apr 01, 2011 7:32 am

Re: Inline 4 Diesel Engine

Postby Gear97 » Tue Jul 12, 2011 12:59 am

Me too ! I added you man ! Aceppt or else your computer will self destruct in 5 seconds ! :D :crazy: :D :D
Gears are my favorite mechanism. Why do you think I have this username ? ;)
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime ;)
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
User avatar
Gear97
 
Posts: 146
Joined: Sat Jan 02, 2010 5:34 pm
Location: Brazil

Re: Inline 4 Diesel Engine

Postby Gent » Wed Jul 13, 2011 2:15 am

OK guys I have rethought this and will be moving the current lasers out of the cylinder head and a few other things that will free up a bunch of collision layers in the head yet retain the color coding ;)
PS I think the compresion stroke should be multiple colors to simulate the pressure increase :thumbup:
I think I can do that
Edit: updated scene with lasers removed from cam still WIP

Rating: rated 5
Filesize: 68.56 kB
Comments: 0
Ratings: 1
download
"I should be working on my plane"
Gent
 
Posts: 105
Joined: Tue Sep 01, 2009 5:42 am
Location: Springfield Mo USA

Re: Inline 4 Diesel Engine

Postby Gear97 » Wed Jul 13, 2011 3:56 pm

Nice changes, ther work stays much more easy now. Yeah, I agree the compression stroke needs color changing, but I think that you should start with a sort of medium blue and then go to the purple at the end of the compression stroke.
Something like: [0.15,0.35,1.0,1.0] to [0.45, 0, 0.65, 1.0].
Gears are my favorite mechanism. Why do you think I have this username ? ;)
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime ;)
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
User avatar
Gear97
 
Posts: 146
Joined: Sat Jan 02, 2010 5:34 pm
Location: Brazil

Re: Inline 4 Diesel Engine

Postby Gent » Wed Jul 13, 2011 4:24 pm

Kind of what I have in mind
"I should be working on my plane"
Gent
 
Posts: 105
Joined: Tue Sep 01, 2009 5:42 am
Location: Springfield Mo USA

Re: Inline 4 Diesel Engine

Postby Gent » Fri Jul 15, 2011 6:50 am

Ok the engine is majorly updated to free up the collision layers in the head ;)
Runs better than the previous version 8-)
Still working on the color thing for the compression stroke :roll:

Rating: rated 6.1
Filesize: 91.58 kB
Comments: 8
Ratings: 3
download
"I should be working on my plane"
Gent
 
Posts: 105
Joined: Tue Sep 01, 2009 5:42 am
Location: Springfield Mo USA

Re: Inline 4 Diesel Engine

Postby Gear97 » Fri Jul 15, 2011 3:52 pm

Great engine, glad to have more free colision layers :thumbup: . Want help to the color changing on the stroke ? If yes, I see you on the skype. ;)
Gears are my favorite mechanism. Why do you think I have this username ? ;)
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime ;)
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
User avatar
Gear97
 
Posts: 146
Joined: Sat Jan 02, 2010 5:34 pm
Location: Brazil

Re: Inline 4 Diesel Engine

Postby Gent » Fri Jul 15, 2011 4:18 pm

I'm at work right now see you on skype later ;)
"I should be working on my plane"
Gent
 
Posts: 105
Joined: Tue Sep 01, 2009 5:42 am
Location: Springfield Mo USA

Re: Inline 4 Diesel Engine

Postby Gear97 » Fri Jul 15, 2011 5:53 pm

OK ;) I will wait.
Gears are my favorite mechanism. Why do you think I have this username ? ;)
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime ;)
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
User avatar
Gear97
 
Posts: 146
Joined: Sat Jan 02, 2010 5:34 pm
Location: Brazil

Re: Inline 4 Diesel Engine

Postby Someone Else » Sun Jul 17, 2011 3:03 am

Okay, this is the smoke-spawn code I came up with, huge credit to Gear97. It uses his trick to place dynamic values in spawning so that they stay there. This allows lots of circles to be spawned, fade out, and delete without colliding.
Code: Select all
    (scene.addCircle({
        texture := "radial-white-transp.png";
        drawBorder := false;
        drawCake := false;
        textureMatrix := [0.50000000000000000, 0.00000000000000000, 0.50000000000000000, 0.00000000000000000, 0.50000000000000000, 0.50000000000000000, 0.00000000000000000, 0.00000000000000000, 1.0000000000000000];
        heteroCollide := true;
        controllerAcc := sim.time;
        pos := e.pos;
        vel := [(((scene.addCircle({
            collideSet := 0;
            airFrictionMult := -inf;
            pos := [+inf, +inf]
        })).color(0)) - 0.50000000000000000) * 3, (((scene.addCircle({
            collideSet := 0;
            airFrictionMult := -inf;
            pos := [+inf, +inf]
        })).color(0)) - 0.50000000000000000) * 1]
    })) -> {
        color = {[0.20000000000000001, 0.20000000000000001, 0.20000000000000001, 0.50000000000000000 - (((sim.time - controllerAcc) * 1) / 6)]};
        collideSet = {{sim.time <= controllerAcc + 3.0099999999999998} ? {32} : {0}};
        airFrictionMult = {{sim.time <= controllerAcc + 3.0099999999999998} ? {0.10000000000000001} : {-inf}};
        density = {0.0010000000000100003 + (((sim.time - controllerAcc) / 20) / 3)}
    }

The circles do collide on E until auto-deletion. I actually don't really know why I did this.

The code is divided into two parts. The first contains things that are not intended to change over time or after a certain amount of time. These include things like pos, vel, and texture.
The second part contains things that are intended to change over or after a certain amount of time. These include things like color and density.

I like to increase density, not airFrictionMult, over time to slow the circles. This is actually more realistic, because smoke actually does get more dense over time, as it cools.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.

ARE YA HAPPY NOW?????

Thymechanic/Phundamentalist

Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy

Re: Inline 4 Diesel Engine

Postby PooPingDung » Tue Jul 19, 2011 9:12 pm

look at the smoke that this thing produces
Rating: rated 5
Filesize: 262.57 kB
Comments: 0
Ratings: 1
download
Last edited by electronicboy on Tue Jul 19, 2011 9:36 pm, edited 1 time in total.
Reason: added scene tag :)
PooPingDung
 
Posts: 52
Joined: Fri Apr 01, 2011 7:32 am

Re: Inline 4 Diesel Engine

Postby Gear97 » Tue Jul 19, 2011 9:53 pm

I dont think its any special thing :| and I said that I could modify my smoke the way you want, just tell me the properties and then I will do it. ;)
Gears are my favorite mechanism. Why do you think I have this username ? ;)
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime ;)
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
User avatar
Gear97
 
Posts: 146
Joined: Sat Jan 02, 2010 5:34 pm
Location: Brazil

Re: Inline 4 Diesel Engine

Postby Gent » Wed Aug 10, 2011 12:46 am

Did you guys die or what?
"I should be working on my plane"
Gent
 
Posts: 105
Joined: Tue Sep 01, 2009 5:42 am
Location: Springfield Mo USA

Re: Inline 4 Diesel Engine

Postby Dare » Wed Aug 10, 2011 7:20 am

Yes.
ImageImage
TC42 wrote:Dare, you are creepy.

Official Algobox Admin! Please PM me if you have any issues regarding Algobox.
User avatar
Dare
 
Posts: 833
Joined: Sat Nov 21, 2009 4:27 pm
Location: Sydney, Australia

Re: Inline 4 Diesel Engine

Postby Gear97 » Wed Aug 10, 2011 6:51 pm

No. I am taking a break ! :|
And.. I don't rly had any ideas with our fuel concept and I haven't seen you at skype sorry, I am a bit busy with a new game, but no worries I am conscient that we still having work to do.
About PooPingDung.. well I don't know about him.
Gears are my favorite mechanism. Why do you think I have this username ? ;)
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime ;)
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
User avatar
Gear97
 
Posts: 146
Joined: Sat Jan 02, 2010 5:34 pm
Location: Brazil

PreviousNext

Return to Collab forum

Who is online

Users browsing this forum: No registered users and 0 guests

cron