January 19, 2019, 02:03:22 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the new forums. See "Announcements" for a note for new users.
  Home Help Search Login Register  
  Show Posts
Pages: [1] 2 3 ... 332
1  Development / Blog / Re: Big Foundational Progress on: January 09, 2019, 04:42:11 PM
A week late follow up to that "funny" physics bug.  It's especially interesting because that video got more traffic than most of my videos so now I'm always on the look out for other strange bugs I can post videos of.

Anyway, that particular physics problem has been fixed:

And is further re-enforcement of the approach I'm taking.  I would never have been able to solve this if the physics engine was fully integrated with a giant game engine.  I currently have three versions of the test harness that will be part of the open source release someday:
-one raw physics engine example with all kinds of detailed debugging visualizations and features (like being able to pause physics and single step, etc.)
-physics engine example that is integrated with the entity system. 
-physics engine example that is integrated with the entity system and the networking layers

Fortunately, I was able to go back to the first one where I have lots of nice debugging stuff and see some strange behavior.  For one thing, hitting the ship with the ball in single-step showed that the ship was bouncing away from the ball... and the ball would continue forward.  For a 10,000 kg ship and a 20 kg ball, that shouldn't really happen, eh?  You'd expect the ball to bounce off without hardly moving the ship at all.

Looking further into the physics calculations, the issue is that all of the inertia was being swallowed up by rotation.  There was none left to bounce the ball back... or conserve the position of the ship for that matter.

So as I guessed when I posted the video, the issue was likely due to the inertia tensor... which I'd left as a default value. 

For those not up on physics, there is probably no easy explanation but an inertia tensor describes how an object will tend to rotate when pushed in different places.  If you think of a broom as an example, it is easy to see that the broom will want to rotate really easily around the handle but not very easily in the other long-wise directions (though easier along the broom's flat axis than otherwise).  So if that broom were floating in space and you pushed on the outside bristles, it's more likely that most of your push would go to spinning it rather than flipping it end-over-end., it turns out that the mass of the object will of course change its inertia tensor.

I spent last Monday teaching myself about inertia tensors and the math necessary to calculate them from a bunch of cubes.  In the end, it's reasonably straight forward even if none of the online docs explained it well.  5-6 web sites later and I had an approach and some code.  Because these are stand-along libraries, it was really easy to write some automated tests that test just these things.  So I was able to iterate very quickly.  I even tested it against some inertia tensor formulas for ideal solids like cubes and got the exact same answers... which made me immensely happy.

Bottom line is that now objects behave better... but especially giant heavy oddly shaped objects like sailing ships.

Even the chairs behave more like chairs now as they are a little back heavy as they should be.  1,000,000 more things to do but progress is progress, as said before.

Bonus pic... because my vacation was winding up and I had no 'quick' projects, I added .obj export to the Block-Ed tool so that I could 3D print objects created there.  So here is the ship:
2  Development / Blog / Re: Big Foundational Progress on: December 30, 2018, 02:40:20 PM
Here's hoping next year we see a Mythruna update,

Wouldn't it be nice.  I'm still waiting to play Fallout 4 since I set a goal for myself to do before I could play it... and a) I still haven't reached it, and b) I'm stubborn and refuse to give up.

For those reading this deep who somehow don't subscribe to my youtube channel or twitter feeds:
..and from just now:

I really did hope to be making forward progress today instead of fixing old progress... but progress is progress, I suppose (assuming I can find the issue).
3  Development / Blog / Re: Big Foundational Progress on: December 27, 2018, 05:19:00 PM
Oh yes.

Real talk, gag magic would be amazing. Nothing useful or dangerous, but amusing or mildly annoying to the recipient at worst.

Heheh... a spell you can cast on someone so that everyone they see looks like stiff block models for some period of time.  Ultimately mostly harmless... but potentially hilarious, too.
4  Development / Features / Re: High Level Roadmap on: December 27, 2018, 12:52:49 PM

Mythruna will be really SU-PER !
Seriously, If Mythruna contains all these things. It will be interesting for many players.
I'm so excited to test the final version.
Good Adventure !

is the roadmap still active?!! What is done meanwhile?? Thanxs for infos!

In a way... probably the order has changed a bit since I've changed how I develop.

Hopefully some nice progress this new year but we'll see.  The last time I hinted at that a few weeks ago the next day I got slammed with entirely new life issues.
5  Development / Blog / Re: Big Foundational Progress on: December 27, 2018, 12:51:08 PM
I'm glad you're developing in a way that best suites your schedule. Also seeing those guys flopped on the floor in a shrugging position is some /r/meirl material.

I want this to be a spell.

It just petrifies people into an eternal shrug.

Heheh.  I suspect it won't be as funny with "real" models... so maybe part of the spell is turning them into boxy minecraft-style men.
6  Development / Blog / Re: Big Foundational Progress on: December 09, 2018, 07:33:28 AM
Other random stuff I posted to twitter and elsewhere:

A quick-and-dirty temporary "person" sprite created in BlockEd so I could test "upright drivers" for the physics engine... ie: a component that can be associated with physics objects to keep them upright or in more advanced cases walk them around, etc..

Here it is with the upright component implemented.  "Business... business... business..."  "My card!"  "business... business..."

Objects in a sine-wave world... world collision test:
7  Development / Blog / Big Foundational Progress on: December 09, 2018, 07:29:00 AM
As many of you may know, one of the core requirements of Mythruna is a physics engine that can handle an infinite world and block objects.  The "infinite world" thing turns out to be quite tricky... and we essentially impossible to thread into the existing engine.  That's why some time ago (commit history seems to indicate 2+ years ago), I start taking a different approach.

The theory behind the approach was that it would be easier to build a block world game on top of a solid infinite-world capable networked physics engine than it would be to try to integrate such a beast into an existing game.  Because I already failed at that twice.

Also given that my available time comes and goes, I need to avoid giant monolithic things wherever possible.

So I came up with the approach to start building small libraries that someday might be open sourced.  For example, block-based geometry would be one, a generic zone-based physics engine another, layers to network and integrate those another, and so on.  Let me say that just splitting it up like that was not without its own design challenges... but they are totally worth it in the end because each piece is separately testable.

For example, out of that I was able to build a simple BlockEd application for making 3D block sprites that my kids and I could use in game prototypes.  Also, the physics engine was initially testable with just simple sphere and cube primitives on a simple ground plane.  It was the better part of a year just to get the 'zones' working to support the infinite world part.

I wish I had videos of all of that but I did post some imgur links at one time.

Culminating in block shape integration here:

Since Thanksgiving break, I've been trying to shore things up and integrate all of that with the SimEthereal open source networking library I created way back.  (Over the spring/summer I took a break to try to create a demo FPS with another developer but he got busy doing other things.)  I took Thanksgiving week off and did some major coding which included:
* patching and releasing updates for all of my active open source projects for the JME community
* finally integrating the physics engine into an Entity System (ES).
* starting the network demo that ties blocks, physics, ES, etc. together

Post-Thanksgiving, I've been trying to put an average of an hour a day into continuing to move things along.  (One of the nice things about smaller, easily tested, pieces.)

Well, this weekend I finally have something working end to end.  Don't get me wrong.  Some of this is duck-taped together and much of it needs a LOT of cleanup... but the hardest integration parts are done and working.

Here is a video:

I'm really excited to have this working.  I'm not sure you even know.   (It may not be obvious from the video since I clicked "Single Player" but it's actually running an autowired server and client.  At least for now, single player is a networked game that creates a local hosted game and automatically logs you into it... keeping me honest.)

Next will be cleaning this up.  Figuring out what I can remove to trim it down to the essentials, etc... but it feels so good to have a working foundation to iterate upon.

I hope over Christmas break that I can get to the point where I feel like I'm directly implementing Mythruna again.

Note: if you don't follow @MythrunaGame or @Simsilica on twitter but want to stay the most up-to-date on progress, that's where I'm most likely to post stuff until I start having more official announcements again.  I'm cautiously optimistic about 2019... but don't let the universe hear me saying that.

P.S.: the daily chart mentioned is certainly working.
8  General Category / General Discussion / Re: still under development? on: November 06, 2018, 11:20:26 PM
What are the plans of developing Mythruna?

Just to keep plugging away when I have the time.

This past week, I've been working on AI scheduling.

Best viewed in HD.
9  General Category / General Discussion / Re: Chat Lounge on: November 02, 2018, 01:13:25 PM
Well, one of the important things is to ban them so that we don't keep getting spam from them... and I don't feel comfortable giving out that level of admin capability.
10  General Category / General Discussion / Re: Chat Lounge on: November 02, 2018, 08:01:31 AM
If you want to stop and think about how 'evil' spam really is, think about what else I could be doing with the time I spend removing it from the forum and banning users.  :-/
11  General Category / General Discussion / Re: Chat Lounge on: November 02, 2018, 08:00:37 AM
So what you're saying is, active users contribute to the spam. ;c

No, I'm saying active users make the spam more visible to you guys.  I see all of it anyway.

I guess we average 4-5 spams a week.  I usually remove them before you guys see them because I get an e-mail right away when they are added.
12  General Category / General Discussion / Re: Chat Lounge on: November 02, 2018, 12:53:08 AM
Is it just me or do the bot posts tend to be made directly after legit users post?

Nah, I think it's because if a user posts something then that sends me a notification... and if I don't come read the post right away then the forum won't send me anymore notifications.

Normally I see the spam notifications and come delete it right away.  We get plenty of spam with no recent real posts.

So you guys are more likely to see the spam if someone has posted recently... but the spam amount is still a handful a week or so.
13  General Category / General Discussion / Re: Chat Lounge on: September 24, 2018, 04:27:56 PM
Just note that many of the Mythruna textures already use parallax mapping... just not steep parallax.  The rock texture, cobble, etc. all should have bump maps as well as normal maps.  If you toggle the render settings you should see them flatten out and get bumpy again.
14  General Category / General Discussion / Re: Chat Lounge on: September 23, 2018, 10:37:00 PM
Mythruna already used parallax mapping.  Steep parallax mapping is just a flag but costs a lot and didn't provide much advantage.

Once one has already made their textures in such a way to reduce the parallax artifacts (it can't make pixels so there is always some ugly stretching for large relief) then the difference between them is minimal.

I guess in the video he's using standard parallax at the beginning and steep at the end but it's hard to tell.  The artifacts I'm talking about are the things that make the corners look like they have a satin finish or something.  I guess the steep flag does more lookups in the texture to avoid that.

Still, it's just a flag on the material.  It would already be available in the newer Mythruna engine where the materials were defined in config... except I forked the standard JME materials way back and never merged these newer features.

All of this is worth looking at.  It's just that on blocks, it always messes up at the corners/edges.
15  General Category / General Discussion / Re: Chat Lounge on: September 23, 2018, 12:55:41 AM
When I added color lighting, the light propagation added color when going through colored transparent blocks... but colored transparent blocks have other issues.

Not sure what POM is.

Note: the latest version of the "balance" puzzle now has particle animations and stuff.
Pages: [1] 2 3 ... 332
Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!