MV3D - 3D rendering for RMMV with Babylon.js

@Waterguy oh well i mentioned the collider thing just looking at the list of posible features about the non tiled based movement, wanted to leave it just an a idea to take on mind ,i know right now the plugin itself isnt touching things movement related just now, i hope theres a chance to see it in the future

and yup. i was very carefull testing, actually even test on a new copy of the demo project, using only the ones on the demo and the qplus+qmovement , tried to change the positions, but usually to make qmovement work it always need to be first with the 3d plugin below, the colliders... is kinda like, physically exist, the player collider and the events colliders interact, but for some reason even when they could be trigger in the past, now if an event is trigger by player touch or press button on the configuration, they cant be trigger anymore

i can say qsprite and qsprite patch is working 100% fine with this plugin version btw ^^
@glaphen
Yeah, it looks like I forgot to put above events in the air. That will be fixed soon.
I don't know why you can't walk through them though. I can walk through events with through just fine.
I don't know what you mean about turning off autorun at the start of the demo.
Maybe you can make a sample project that has the bug for me to play with?

@Parallax Panda
A1,1,0, A1,2,0, and A1,3,0 are special tiles. They're layered on top of regular water. In the RTP outdoor tileset A,2,0 is lilypads. If you want to add a different type of water, A1,4,0, A1,6,0, A1,0,1, A1,2,1, A1,4,1, or A1,6,1 would be the slots to do that in.

@LeeRyuto
I do want to support 8-directional sprites through third party plugins eventually. @Waterguy made a plugin to make Qsprite work, I hope I didn't break that with the latest update.
The minimap is an interesting idea.

All I did was change the event ID 6 to action instead of autorun, I mean that doesn't really matter just creating a blank below characters event or changing anything to one I can't move on regardless of plugin parameters or platform(true), this happens in demo with latest version, I can walk through it with through though regardless of settings.
Looks good , i will try it soon
@Parallax Panda
Did you mean A1,4,0? A1,0,4 doesn't exist.
And yeah, float is only used for boats.

@k333
I'm going to try and add proper support for QMovement in a future update.

@glaphen
I think I see what you mean. When I create a below characters event with a tile graphic I can walk on it, but with a blank graphic it blocks me. The blank event has the wrong collision height. I'll fix this next update.
@Parallax Panda
Did you mean A1,4,0? A1,0,4 doesn't exist.
And yeah, float is only used for boats.

@k333
I'm going to try and add proper support for QMovement in a future update.

@glaphen
I think I see what you mean. When I create a below characters event with a tile graphic I can walk on it, but with a blank graphic it blocks me. The blank event has the wrong collision height. I'll fix this next update.

It's not just blank, any character image does it, though tileset image events don't seem to as you said. But if I turn it into flat shape it works. Either way the plugin parameter and platform doesn't seem to do anything with any settings. Actually testing it, it seems to only do anything if you change the z or height to be higher. Or actually it only works if you manually set the height/z to anything.
Agreed on the event passage. That and the lack of parallax overlay support are keeping me from switching over from @bblizzard's variation on this (which has been around for much longer but has a number of its own miniscule drawbacks in function and this one works much better for my project). Is there any chance for a update or workaround for parallax overlay support? (I'm using Galv parallax layers, in case that helps with the matter.)

Other than that, you have some nice work that you put into this. As for the issue with "below character" events, setting the "through" flag is a useful workaround in case something breaks again (or if you're still having problems).

Also (and it's not as big a deal for me as I only intend to use the effect on overworld maps) can you look into something that can make furniture stand out more?
I was testing stuff on the demo and noticed one of the above events I was testing was under the wall, I had this <mv3d:shape(fence),z(1),side(double),shadow(false),alphatest(1)> random setting I copied from the sign and through on, if it flies into a wall with through on it just goes through instead of flying higher like same as character events/below do. I only noticed because I was testing alpha with A4,1-2,4:texture(alpha:0.92) on the cliffs. It does it with whatever above events.
Actually further testing it's because of z value instead of height, even on other below/same it still goes through walls so probably not a bug.
@BreakerZero bblizard's is actually mode7 though, this one is an actual 3d... as in, camera can go everywhere, even in first person view...
how would a parallax overlay work?
Not on programming... visually.
I'm assuming it is like a cover of leaves on some parts of the map or fog over all the screen, right? what would happen when the camera goes to first person view? Or even just rotates?
As I found this plugin while looking for ways to do a 1st person dungeon crawler, those two are kinda important for me.
I used Ultra Mode 7 and parallax seems to be the exact same as here. At least without other plugins.
@glaphen
Yes, if you set them to use flat shape then you can walk over them just like tiles. Do you want characters using below characters to use flat shape by default, or do you just want to be able to walk through them without using through?

And I can stand on them just fine. I don't know what you mean.
FyfVKiN.png

This guy is "below characters."

For your event that flew through the wall, z(1) will lock the event to z 1 and ignore ground level. Use height instead if you want it to fly a certain height above ground.

@BreakerZero
I don't really know what the parallax layers plugin does, but I can look into it. I want to work on improving support with other plugins in general.

I'm not sure what you have in mind for making furniture stand out, but I do have plans to add a feature to define custom meshes for events.
@glaphen from what I got from @BreakerZero 's message, he wants compatibility with plugins that use parallax overlay, that is, parallax over the map instead of under.
which, while makes sense in normal maps since it is just a layer above the map, and in mode7 mode7 itself is just the normal map in a flat plane that can be angled around, with some things standing up but that's it, so a parallax overlaywould just be a layer over that...
this is 3d. meaning everything pops up, the terrain and etc, and as I mentioned when I said 1st person view is important for me, you can put the camera vertical. You can make the camera turn 180 degrees from normal view.
So... how would a parallax overlay work in this case?
normal parallax here is just a skybox in the background, but a parallax overlay would... cover the player's view no matter where they are? turn around with the camera? become like a second ceiling, under the usual one - or even over if the ceiling has any transparency, in which case its height has to be set?

To be honest, parallax overlay plugins don't expect you to have these options... so it would have to be added by dread_nyanak herself. Or it would probably be better for everyone if she made it herself instead of compatibility patches.

So... yeah, @BreakerZero probably didn't think of all these options, but they need to be considered too.
@glaphen
Yes, if you set them to use flat shape then you can walk over them just like tiles. Do you want characters using below characters to use flat shape by default, or do you just want to be able to walk through them without using through?

And I can stand on them just fine. I don't know what you mean.
FyfVKiN.png

This guy is "below characters."

For your event that flew through the wall, z(1) will lock the event to z 1 and ignore ground level. Use height instead if you want it to fly a certain height above ground.

@BreakerZero
I don't really know what the parallax layers plugin does, but I can look into it. I want to work on improving support with other plugins in general.

I'm not sure what you have in mind for making furniture stand out, but I do have plans to add a feature to define custom meshes for events.

Ok so since new update, belows just don't let you walk through them anymore unless made flat or through. Anything else will let you walk on top of them but only if you are already at least .1 off the ground from another flat event or height drop and only if they are at 0 height manual change or no change, and only a 48x48 event, can't seem to walk on anything else, I also can't seem to walk on anything from that sprite height onto like a 1.1 flat only a 1.0 flat or less or another 0 anything else. That's how it is supposed to work now right?
@glaphen well, that is a good point... I really think bellows set as something not flat or through should work just like a ground tile with some height... and height difference bellow the plugin parameter of stair threshold (that is, for height 1 something above 0.9 but bellow 1.1) is passable but anything else blocks walking, so at first glance that is how it should work...
then you mentioned the height...
@Dread_Nyanak, could I suggest an additional notetag for events for setting how high they are supposed to be taken as being? Like, a 48 pixels character makes sense being of height 1, but one that is taller would still be considered height 1 even if they are actually as tall as a 2 as it is right now?
Here is what I was testing contains map 7 big island and plugins settings, doesn't seem possible to walk on the event 39 water tile on the cliff no matter what, only when you drop on it, -height non flat events count as 0 still and can only be walked on if already on a height change compared to surrounding tiles. Impossible to walk on larger than 48x48 events unless made flat and weird. Also no way to walk on the fences top only without holding ctrl.
Testing more you can walk on larger than 48x48 but only if you fall onto it or are at same height as ground level of it + size, can move crystal near 2 size wall and walk onto it from edge or drop from 3 height, but still impossible to walk on it from elsewhere even with 3.0 stair threshold.
Also I noticed if I do have high stair threshold I can walk through even same as characters without through on, just again not on top unless already on a height difference.
Update 0.4.1:
Fixed collision height for blank tiles.
"Below Characters" events are flat by default now. (is this a good change?)
Added missing collide and trigger configuration functions that were supposed to be in the last update.
Tweaked buggy stair threshold behavior for event platforms.
Fixed collision testing for triggering below events.


collide(0) can be used to make an event act flat without making it flat.

I still need to fix the negative fringe problem.

@glaphen
You can't walk on the fence tops because they're set to be impassable. O passage or pass(o) should fix that.
I'll download your test map and check it out.

Edit:
Oops now the airship is flat.

Event 39 seems to be fixed.
The problem with the red crystal is the plugin looks for a platform starting at the player's head level. I should change it so if the stair thresh is taller than the player it uses that instead.
Update 0.4.1:
Fixed collision height for blank tiles.
"Below Characters" events are flat by default now. (is this a good change?)
Added missing collide and trigger configuration functions that were supposed to be in the last update.
Tweaked buggy stair threshold behavior for event platforms.
Fixed collision testing for triggering below events.


collide(0) can be used to make an event act flat without making it flat.

I still need to fix the negative fringe problem.

@glaphen
You can't walk on the fence tops because they're set to be impassable. O passage or pass(o) should fix that.
I'll download your test map and check it out.

Edit:
Oops now the airship is flat.

Event 39 seems to be fixed.
The problem with the red crystal is the plugin looks for a platform starting at the player's head level. I should change it so if the stair thresh is taller than the player it uses that instead.

For below I think it should work like it used to, as something you can walk through/on but without it truly being through. 1 reason being right now it functions pretty much same as same as characters. 2 being that if you set it to move with through on, it will run up walls and anything with height when you want it on ground level. Still didn't download new version.
Only problem I see is stair threshold lets you walk over even same as events as I edited earlier instead of on and you need to be at a different elevation to go on a non flat event. As said below events if changed to any other shape are pretty much same as same as character, only way to walk through is through which would make them scale walls.
As an example this frog from https://forums.rpgmakerweb.com/inde...d-running-horses-now-with-more-dragons.53552/
Looks weird when flat with no standing height, but you can't move through it as sprite unless turned on through, but then it ignores all boundaries, also looks weird since the left right seems to be reversed...
I am well aware of that @Waterguy as that's exactly what I'm thinking of moving from. And even for actual 3D rendering being the main difference between the two I would still like to have the fog effect in at least some capacity as it's a primary visual component for one of the pivotal scenes that I just started to event.
What version of MV does this plugin require? I am on 1.5.2
@Grunwave
I can't remember if it works on 1.5.2 or not. It definitely works on 1.6.2 though.

Update 0.4.2:
"Below Character" events no longer flat by default, but they do have flat collision.
Fixed big Stair Threshold with tall events.
Only problems I see is same as before with needing to be on a different elevation to go up on top of anything not flat, and in that map I uploaded before if you just switch the lever to same as characters, for some reason you can go up event 39, even though there should be a 1.6 difference with 1.0 stair threshold. Actually testing the elevation for some reason it's more like it needs 1.01 to go up 1.0 so it's not >= for events but works for tiles. And negative non flat event height still goes 1.0.

Found another bug, if an event walks over another platform event, the one below gets launched up abit and back down, but if you set it to high amounts of stair threshold and high height bottom event both get launched to space and take 10+ seconds to land.

Original thread: https://forums.rpgmakerweb.com/threads/mv3d-3d-rendering-for-rmmv-with-babylon-js.114971/