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."
Andeerz

Questions Regarding the New Block Physics Demo

31 posts in this topic

This whole is going to turn into Poly Bridge really fast ;'-))

0

Share this post


Link to post
Share on other sites
On 31/7/2016 at 8:15 AM, EndR20 said:

This whole is going to turn into Poly Bridge really fast ;'-))

Ahahah yep, I love that.

0

Share this post


Link to post
Share on other sites

Speaking of poly bridge...

 

Bioxx, are we looking at hanging support at all? I know I would like to be able to use some form of block to hang things for scaffolding (Say, a block somwhat like a reverse support beam) which would allow a window washer's/painter's scaffold to be created?

 

Hung scaffolds are (as is made apparent by IRL usage) insanely useful for bridge work and maintenance and I would love to see them in TFC, especially since excavating mountainsides is currently an affair of "Pillar up or find another vein"

 

This would of course necessitate a later tier if you ask me which includes heavy-duty ropes for hanging things... maybe spools? :P

(Note sarcasm above)

 

That being said, I would like to see rope and other flexible strands of material having more uses in TFC2, if it's at all possible. Mainly though, I would love to see the ability to use hanging support so that we can do things like the good old fashioned underslung walkway without interfering with the beautiful arches on our own rendition of TFC London Bridge! XD

Hopefully with less of the falling down

1

Share this post


Link to post
Share on other sites

I am just thinking out loud here. This is a search tree problem. so H being horizontal supports and V being vertical supports. One could breadth first search to find all H that have a V and throw them into a list. As long as you don't have an empty list you could consider the first block supported. Then at that point during the next random tick one could then perform the same action with all the blocks in the list but then lets say you have a pyramid going from the world height to bedrock. You'll have tons of checks which only a high end graphics card can handle very well. So instead of following all blocks in the list lets just pick one at random and repeat the process which is very computationally friendly. If we never get rid of a list that means we have horizontal support distance times max height blocks stored at worse which isn't horrible. I think that you only need to keep track of the last list which would be 2(2H+1)^2 at worse case which is quite small. That pattern continues till we hit bedrock. 

That takes care of placing blocks but you need a slightly different formula for subtracting blocks. For subtracting blocks you need to take the immediate H neighbors stick them in a queue and V neighbors in another queue. From there starting with the H neighbors queue repeat the steps from the first paragraph. If they end up with an empty list then do the same as you did with the first block in this paragraph and add the neighbors to the two queues making sure the same block doesn't get added to the H queue twice, then have that block fall. Eventually you'll go through the H neighbors which will be (2H+1)^2 at max. Because no two blocks can have the same block above them and you checked for duplicates in the H queue, you are guaranteed each block in the V queue is unique and at the same level. Starting with the 1st V in the V queue you repeat the same steps with the first layer but with two new queues. This time you need check to see if any of the new H neighbors are in the old V queue or the new H queue and remove them from the queues before adding the H neighbors to the new H queue. Using this method each layer below falls before the layer above gets calculated. Which means you'll have at most (2VH+1)^2 queue'd which can become quite massive but unless people are collapsing upside down pyramids it'll never be that bad.

Now this does provide for some very silly things such as an infinite half arch. To solve that you need weights on H distance and V distance using straightest path to bedrock. It gets more complicated when you consider blocks having different weights and is more detail than 90% of the people playing are going to appreciate. The calculations in the first paragraph don't need to go down to bedrock, they could stop at the first gravity defying block.

Edited by Stroam
pointing out flaws
0

Share this post


Link to post
Share on other sites

Any new news about this topic? I loved the video and I want to know if there has been an update or something.

0

Share this post


Link to post
Share on other sites

The focus has moved from the physics to world generation, and deciding what and where certain things go. To that end it just comes down to a lot of decisions of what is feasible, what works together, and the feel of the game that Bioxx wants to create. 

0

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