Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Crysyn

      Only help if you can be helpful

      Hey All, A topic has come up of late in the IRC channel in regards to the general feel of the forums and the community that supports them. Things have progressed further than I would have liked with out this being addressed more publicly because I would much rather have snubbed this out sooner rather than later.. but I have been busy. Here is the general rule I would like people to follow: Wheaton's Law "Don't be a dick." Those of you from the IRC channel know that this is the only rule I ask people in there to follow and we generally have a good and lively time chatting about all manner of things. This is basic rule that just about everyone understands and I am going to expand it to the forums from here moving forward. If you can not help people in a helpful and polite manner then I simply ask you to stop. Now I generally take a back seat to moderating the forums as I like to participate in the suggestions forum fairly heavily at times and would rather do so as a forums user than a moderator. But I am also fairly well known for being the person who constantly puts their foot down and so I am stepping up and doing so on here. If you find yourself unable to respond to a message politely then I ask that you do not respond. This mostly focuses on the increasing level of hostility found within the Suggestion forum as well as the Server forum. I do not care if this is the 30th some odd time you have seen someone make the same suggestion. Or even if the new post on an older topic is one entry above the old one. I expect the members of this forum to respond politely to the user, new or old, and point to the older topic if it applies and even go the extra step to suggest they either add in new information or to summarize the outcome of the previous discussion based upon the new post's entry into it. That is what we are here for, that is why I close most topics instead of deleting them, so that they can be found and referenced down the road. The next topic is the slew of derailment attempts I have seen as of late. If you want to have fun and joke around that is what the off topic forum is for and pretty much anything goes there. I do not expect to read a suggestion thread and have to go through 3 pages of image memes people have shot back and forth. Quite simply this is a waste of my time to read and then have to clean up. Now for the summary. I am going to start taking a more active role, especially in policing the suggestion forum, and handing out warn levels to people whom I see doing this. These will be indiscriminate and applied not to just the first person who derails or is impolite on a topic or response, but to everyone whom follows the lead of that person. As I do not like doing things with out giving you all warning this post shall serve as that warning. If you have a desire to bring this topic up with me then I invite you to do so on the IRC channel. Lets raise the level of quality and grow the community. Let us not descend into the quality often found on the minecraft or league of legend forums. There is simply no need for that here. Be passionate about things, just do not be abusive.
    • Kittychanley

      Offline Servers

      Recently I've seen a few server listings showing up on the first page of the Servers forum that have been closed for an extended period of time, but have recently gotten a reply from a new member who didn't realize the server is offline. To help prevent this from happening in the future, it would be greatly appreciated if you could use the report function on the original post of any servers that have been confirmed as offline, so that the topic may be locked. If you are the admin of a server and plan on taking the server offline, please use the report function on the original post of your topic to let the TFC Staff know that the topic should be locked. If you are the admin of a server that has a locked topic, and would wish to bring the server back online, please use the report function on the original post of the topic to let the TFC Staff know that the topic should be unlocked. As always, please remember to follow rule #3 of the servers forum and update your topic title to contain the version of TFC that the server is currently running. You can do so by editing the OP, and then clicking on "Use Full Editor."
Leosallespoli

Particles

135 posts in this topic

Looks cool, maybe the particles should be smaller? 1/16 or 1/32 of a block.

0

Share this post


Link to post
Share on other sites

what do you mean? I'm not sure if I follow, if particles would shoot to form a gaussian position function they would start at a really low angle and rise fast... That's what you meant?

Edit:notation

Edit2: know what is great for x,z positions? Exponential functions!

When I posted that I had no idea what your function looked like. But what I meant was the initial angle that they spread out from... it looked like they were all going straight out to the side (though with strange small perturbations - yes, exponential functions would be a lot more appropriate for what it sounds like you're trying to do there and would eliminate that). So instead of just flying straight out, there would be variance along z, but not too much. You can still do this though. This is probably what Dunk is thinking (*guesses*).

Alternatively you could do it right proper and use an impulse equation with a random-gaussian for mass and the impulse vector assigned to each particle. This would help you write a believable-looking drop on it too.

0

Share this post


Link to post
Share on other sites

looks very cool, i really like the idea of dust particles good job!

0

Share this post


Link to post
Share on other sites

When I posted that I had no idea what your function looked like. But what I meant was the initial angle that they spread out from... it looked like they were all going straight out to the side (though with strange small perturbations - yes, exponential functions would be a lot more appropriate for what it sounds like you're trying to do there and would eliminate that). So instead of just flying straight out, there would be variance along z, but not too much. You can still do this though. This is probably what Dunk is thinking (*guesses*).

Aha, but there is, not actually on the movement after it started out, because I would think its rather strange for them to meander.

Alternatively you could do it right proper and use an impulse equation with a random-gaussian for mass and the impulse vector assigned to each particle. This would help you write a believable-looking drop on it too.

I thought of that, not considering actual mass of particles but the height of the dropped boulder, considering mass of each particle even if in a gaussian distribution would just be too much, like killing an ant with a bazooka, I'm not even sure when it would cause lags, I'll go harder on physics once I'm sure its stable on low-end PCs or that I have an option for disabling this. And if impulse comes around then I would have to implement friction with air, or particles would not stop, that I could simplify with a second degree function... I guess you know where this is going... And I don't think that anyone would notice it, I could as well make the path believable and no one would ever know, right?

Looks cool, maybe the particles should be smaller? 1/16 or 1/32 of a block.

Haha I'm trying to make them lager hehe, but not larger like, every pixel gigantic, no, larger in the sense of the sprite, so it starts out as a small pixel and then you have a cloud and you can't see things because of it.

2

Share this post


Link to post
Share on other sites

Aha, but there is, not actually on the movement after it started out, because I would think its rather strange for them to meander.

Ok so it's just hard to spot in the video I guess... maybe the angle we're seeing it or something. But yeah, meandering would be a little odd, although drifting in a uniform direction might work for a dust cloud effect. Might just end up looking weird with too many particles though.

...considering mass of each particle even if in a gaussian distribution would just be too much, like killing an ant with a bazooka, I'm not even sure when it would cause lags, I'll go harder on physics once I'm sure its stable on low-end PCs or that I have an option for disabling this. And if impulse comes around then I would have to implement friction with air, or particles would not stop, that I could simplify with a second degree function... I guess you know where this is going... And I don't think that anyone would notice it, I could as well make the path believable and no one would ever know, right?

Yes, killing an ant with a bazooka :) I'm not sure about lag either... I don't have a low-end test machine, but I have played around with particle effects with more complex math than your simple straight vector and didn't notice anything even with huge numbers of particles. But that surely won't be the case for all machines. All things considered though, it's not lengthy or complex calculation and doesn't really introduce a whole lot of extra computation. But in the event of landscape collapse, it might cause a significant spike given you might have 20-30 dirt blocks falling with who knows how many particles.

Yeah... i'm not sure the realistic physics would even end up being visible (at least next to a simple exponential to reduce speed and cause vertical drop). It would just be fun to code :)

0

Share this post


Link to post
Share on other sites

Ok so it's just hard to spot in the video I guess... maybe the angle we're seeing it or something. But yeah, meandering would be a little odd, although drifting in a uniform direction might work for a dust cloud effect. Might just end up looking weird with too many particles though.

Yes, killing an ant with a bazooka :) I'm not sure about lag either... I don't have a low-end test machine, but I have played around with particle effects with more complex math than your simple straight vector and didn't notice anything even with huge numbers of particles. But that surely won't be the case for all machines. All things considered though, it's not lengthy or complex calculation and doesn't really introduce a whole lot of extra computation. But in the event of landscape collapse, it might cause a significant spike given you might have 20-30 dirt blocks falling with who knows how many particles.

Yeah... i'm not sure the realistic physics would even end up being visible (at least next to a simple exponential to reduce speed and cause vertical drop). It would just be fun to code :)

Heeeeey, they aren't straight vectors!!! Read the posts I've made, and see all the videos (or the last one at least)!!!

I've posted 6(wow...) videos, results so far: I'm bad at making videos... and should edit the first post...

0

Share this post


Link to post
Share on other sites

Heeeeey, they aren't straight vectors!!! Read the posts I've made, and see all the videos (or the last one at least)!!!

I've posted 6(wow...) videos, results so far: I'm bad at making videos... and should edit the first post...

No no, I know. That was a general statement, not referring to your code.

0

Share this post


Link to post
Share on other sites

And it is actually fun to do this, and try to apply physics on it. I've tried to apply the simple movement trajectory in it, but... yeah... in minecraft things either shoot out or barely move... then I've called the old and good math, what would be of physics without it, right?

The leaves movement is much more complicated and there's almost no place to physics in it... Rather sad...

I think I could make real physics, but Dunk and Bioxx have a strict sense on everyone should be able to play it and I agree with that. But like I've said, I'm doing it as a hobby, it is so satisfying to see it works!

What I'm doing now is messing with openGL, maybe I could extend some effects or make them look better... Should be nice!

(I have to remember myself that finals are coming up... Damn...)

0

Share this post


Link to post
Share on other sites

Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.

I really like writing physics code. At work I write stuff in the realm of EM, but mechanics is fun too.

1

Share this post


Link to post
Share on other sites

Haha I'm trying to make them lager hehe, but not larger like, every pixel gigantic, no, larger in the sense of the sprite, so it starts out as a small pixel and then you have a cloud and you can't see things because of it.

Sound even better :)
0

Share this post


Link to post
Share on other sites

Is there any way you could give someone a copy of MC with that modification working? There are some guys here (including me -_-) with low end computers who could test it, so you are sure how much it will lag the low end guys.

0

Share this post


Link to post
Share on other sites

Is there any way you could give someone a copy of MC with that modification working? There are some guys here (including me -_-) with low end computers who could test it, so you are sure how much it will lag the low end guys.

Hummm... It changes base classes since I was lazy to do another sand block, but I'll see about that. And I guess you could do a video better than me hehe :D

I really like writing physics code. At work I write stuff in the realm of EM, but mechanics is fun too.

I actually work with that, my thesis is in reservoir simulation.

0

Share this post


Link to post
Share on other sites

Is there any way you could give someone a copy of MC with that modification working? There are some guys here (including me -_-) with low end computers who could test it, so you are sure how much it will lag the low end guys.

I don't think you can give an actual copy of MC. And also addons (which this is) for TFC aren't allowed. But if this works with Vanilla, then yes I am pretty sure this is possible. But really, while I would like this too, I don't think he should do it until he has more realistic movements and more particles. Then, a slider for both those options to see at which point the lag starts/stops, etc.

Hummm... It changes base classes since I was lazy to do another sand block, but I'll see about that. And I guess you could do a video better than me hehe :D

Honestly I don't think that matters. What do you think of my other idea? If it modifies base classes, then it is just into the jar right?

I actually work with that, my thesis is in reservoir simulation.

Cool. Has the thesis finished, or are you still working on it. Is it for a phD?

0

Share this post


Link to post
Share on other sites

I don't think you can give an actual copy of MC. And also addons (which this is) for TFC aren't allowed. But if this works with Vanilla, then yes I am pretty sure this is possible. But really, while I would like this too, I don't think he should do it until he has more realistic movements and more particles. Then, a slider for both those options to see at which point the lag starts/stops, etc.

It has nothing of TFC in it and I guess he ment the mod, because it is a mod, not the usual, as in no NEW content in it, but it is one.

Honestly I don't think that matters. What do you think of my other idea? If it modifies base classes, then it is just into the jar right?

It is into the jar... What was the idea?

Cool. Has the thesis finished, or are you still working on it. Is it for a phD?

It is pretty much finished, well, the first part at least... I've made one in monophasic 2D, successfully and now I'm trying to make it black oil 3D, I got another year to finish it (when I've only promised the 2D :D ). its a kind of graduation thesis that could go into stricto sensu.

0

Share this post


Link to post
Share on other sites

It has nothing of TFC in it and I guess he ment the mod, because it is a mod, not the usual, as in no NEW content in it, but it is one.

It is into the jar... What was the idea?

It is pretty much finished, well, the first part at least... I've made one in monophasic 2D, successfully and now I'm trying to make it black oil 3D, I got another year to finish it (when I've only promised the 2D :D ). its a kind of graduation thesis that could go into stricto sensu.

The idea was the sliders and particle thing. And VERY INTERESTING thesis!

0

Share this post


Link to post
Share on other sites

Hummm... It changes base classes since I was lazy to do another sand block, but I'll see about that. And I guess you could do a video better than me hehe :D

I actually work with that, my thesis is in reservoir simulation.

I actually doubt i will be able to make a video : i already have some lag while playing MC, i don't wanna imagine what will happen if i'm recording as well... I will try though.

And also addons (which this is) for TFC aren't allowed.

Err... when did he said it was an addon? : from what Dunk said, it looks like this could in fact become part of TFC (even if the exact code Leo used isn't used for the TFC version :)

0

Share this post


Link to post
Share on other sites

I actually doubt i will be able to make a video : i already have some lag while playing MC, i don't wanna imagine what will happen if i'm recording as well... I will try though.

Err... when did he said it was an addon? : from what Dunk said, it looks like this could in fact become part of TFC (even if the exact code Leo used isn't used for the TFC version :)

I know, I know. My bad. I meant IF this is. FAil. And don't worry I can make the video. :) I can get maybe 20 fps while recording.

0

Share this post


Link to post
Share on other sites

I actually doubt i will be able to make a video : i already have some lag while playing MC, i don't wanna imagine what will happen if i'm recording as well... I will try though.

I'll see about that.

I know, I know. My bad. I meant IF this is. FAil. And don't worry I can make the video. :) I can get maybe 20 fps while recording.

That's nice...

The idea was the sliders and particle thing. And VERY INTERESTING thesis!

Sorry, I don't remember that one, can you link it?

0

Share this post


Link to post
Share on other sites

I still think the particles could path better. It will look better with the animated dust clouds, but I would like less particles being created mid-air, so a puff of dust when it begins to fall and then a radiating cloud of dust when it hits the ground. I noticed in the video the particles only spread out in grid-locked directions, not radially.

0

Share this post


Link to post
Share on other sites

It will look better with the animated dust clouds

Do you mean something like a new cloud particle? Because this would be a good idea, leo's particles spawning together with cloud particles.
0

Share this post


Link to post
Share on other sites

I'll see about that.

That's nice...

Sorry, I don't remember that one, can you link it?

I don't think you can give an actual copy of MC. And also addons (which this is) for TFC aren't allowed. But if this works with Vanilla, then yes I am pretty sure this is possible. But really, while I would like this too, I don't think he should do it until he has more realistic movements and more particles. Then, a slider for both those options to see at which point the lag starts/stops, etc.

Honestly I don't think that matters. What do you think of my other idea? If it modifies base classes, then it is just into the jar right?

Cool. Has the thesis finished, or are you still working on it. Is it for a phD?

Why the that's nice. Do you mean it in a bad/sarcastic way? Because of the "..."

Thre it is in bold

0

Share this post


Link to post
Share on other sites

Just to add my two-cents to the topic, I like the idea of the dust particles. However, I think that in their current permutation they are too long-lived. It should be, IMO, just a quick kind of puff or burst that fades very quickly. Dust definitely doesn't look like a swarm of flies slowly buzzing around your room... it should fade away quicker.

1

Share this post


Link to post
Share on other sites

Do you mean something like a new cloud particle? Because this would be a good idea, leo's particles spawning together with cloud particles.

Thats the idea, Wolf.

Why the that's nice. Do you mean it in a bad/sarcastic way? Because of the "..."

Thre it is in bold

Well, 20 is kindda low, but I didn't meant to be sarcastic, just didn't have much of a response to that other than that's nice, if many can test it I can get it better.

Just to add my two-cents to the topic, I like the idea of the dust particles. However, I think that in their current permutation they are too long-lived. It should be, IMO, just a quick kind of puff or burst that fades very quickly. Dust definitely doesn't look like a swarm of flies slowly buzzing around your room... it should fade away quicker.

Dunk think that too, I will see to that. I'm not the best with a artistic view, I would probably make it more 'real' if I'd apply real physics to it, but it would be too much for this, so like I've said, I really need the feedback and opinion so I can get it right, cheers!

About the options, I think it can be switchable in a config file, but a slider... I don't know... never looked into that area.

0

Share this post


Link to post
Share on other sites

Thats the idea, Wolf.

The cool idea. Are you going to use the same cloud particle, or different particles for gravel and sand? Because sand makes bigger clouds than gravel. And sandstone makes lower clouds than the sand. I'm suggesting, I know that probably the blocks that I said are not going to be included.
0

Share this post


Link to post
Share on other sites

http-~~-//www.youtube.com/watch?v=gtysR97Wgx8&feature=youtu.be

So, I think the dust from the boulder landing is done... It looks good, from now is just setting up parameters like duration, which was reduced, or size and velocities(I think its satisfying). Oh and there will be animations on the sprite, don't worry.

I will, now, work on the puff, from the detachment of the boulder, although, I have no idea of how it would be realistic without looking too cartoony... when blocks detach from formations they have low energy, they make a characteristic noise from the craking, but the dust comes from the friction on the movement. Any inputs?

The cool idea. Are you going to use the same cloud particle, or different particles for gravel and sand? Because sand makes bigger clouds than gravel. And sandstone makes lower clouds than the sand. I'm suggesting, I know that probably the blocks that I said are not going to be included.

I understand what you mean and agree with that. But thats up to Dunk and Bioxx, I don't know, but it would be cool, artists would have a LOT of work if it would be different for every rock, that's not really up to me, my code allows it.

3

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now