MV3D - 3D rendering for RMMV with Babylon.js

Hey, question. Is it possible to do a reverse pit (like the opposite of using depth)? And if so, if there's a way to make it so the height difference is small enough that the player can casually step up unto that elevated ground?

If not, is that something that could be added in the future? @Dread_Nyanak

Make a region in plugin parameters with like height(0.4) or whatever you want for each height, you can make negative depth but it's the same as height, probably better to use height.
@Parallax Panda uhm... I don't know why you'd do it, though... I mean, depth uses the inside while height uses the side, even negative height, is that why? to use the inside outside?
you can always test it I guess.
and to make the difference be small enough you can walk up into it, the difference from the level the player leaves from only needs to be smaller than the stair threshold parameter in the plugin. that is exactly what it is for, actually. and yes, depth and height are added in the comparison, so for it it should make no difference... at least on up to 0.3.10, as I said earlier didn't try the newer version yet.
Cool. Thanks guys, I'll try it out.
Yes, I have many plugins
I'm not using the Q plug-in.
This is all my plug-ins
Rkht8D.png


You can actually make a platform that raises and you don't fall through, just not moving to other tiles.



Yeah I think your problem is you're using the q plugins, he made a compatibility for the .3 versions but .4 redid the movement system. If not maybe other plugins that involve movement.
Yes, I have many plugins
I'm not using the Q plug-in.
This is all my plug-ins
Rkht8D.png

Ok put the yanfly plugins in same order as this page. http://www.yanfly.moe/wiki/Yanfly_Engine_Plugins
Put rest of plugins below yanfly in whatever order works and then put 2 mv3d below them.
I don't think it's related to other plugins.
As long as in the test
I use an older version Still works


Ok put the yanfly plugins in same order as this page. http://www.yanfly.moe/wiki/Yanfly_Engine_Plugins
Put rest of plugins below yanfly in whatever order works and then put 2 mv3d below them.
I'd love to see you make this work with the Battle Scene, it'd be cool to replicate the Octopath battle visuals!
I don't think it's related to other plugins.
As long as in the test
I use an older version Still works

It is 1000% the other plugins, their order or one of the few I don't use, you have a better computer than me and I use way more plugins without lag, I have 146 ATM. If you changed the order try disabling the not yanfly plugins one by one, but do disable smartjump and eventclicktrigger as I don't use them and they affect map. The only other possibility is the map you are on has way too many badly optimized parallel events/common events or events in general causing lag and the update just tipped the scales of your CPU usage.
@Kraden96 I don't see how it would work with the battle scene, do you mean battles having layers of back and foreground? for that MogHunter already has a plugin you can use.

@palatkorn @glaphen there is another possibility, you guys...
some time ago someone pointed out that Mog_EventSensor can be... a little more intensive than expected. It checks every event on the map every frame, as they put it. I did not have any problem at the time, but it can become heavy.
If that is it, I once tried editing it to make it lighter. Making the check only happen for all map events when the player moves, and when the events move only that event makes the check. I admit I did not test much, tell me if for some reason it doesn't work sometimes, but maybe it helps.
@Waterguy I would assume having a 3D map for the battle scene, so you can have a flat 3D floor and 3D objects in the background. You know? Literally imagine Octopath's 3D battle scene! As far as I know, Moghunter's plugin can't do that? It would also be cool to replicate a 3D space with a dynamic camera zoom like Pokemon Black & White?

I feel like that's an understandable idea?

Edit: Giving the battle scene some 3D depth and perspective zoom!
Ok I checked developer tools and I know almost nothing about it, but checking call tree updating platforms does seem to take up too much % so if you have enough events you will probably lag, I mean I don't with 100 but with enough it will lag.
Test1.png
Test2.png

So like 50% of the updating is for checking platforms, though of that 15% is Yep-hitbox resize at the bottom of tree. That % would naturally go up with more events, but on a 100x100 map that I haven't finished with 105 events half of the updating is from just checking platforms(and event hitbox size from yanfly). Though if you are lagging with a better computer than me and don't have like 300+ events it's not just plugins fault. Either way it could be optimized and splitting map and events solves it like I originally said, you were jittering even before update.

If I use 0.3.7 It shows updating characters as only 14%, so 14% vs 35% after update in same map plus Yep-hitbox bugging to a whole 15%.
Test3.png
.
@Kraden96 Octopath Traveler's battles aren't 3d... well, maybe they are, but you don't need a 3d plugin to reproduce them. As you may notice, while battlers are zoomed in and everything no angle is changed at any time so for all effects it is just 2d with proper layering and scaling (that is actually the same in the maps too as far as I can tell).
Mog's battle backgrounds plugin allows you to have layers of backgrounds. And his camera allows you to zoom on the battle members, if you want to reproduce that part too.
The other big things you'd need to reproduce OT with this are: a way to change the battlers' scale depending on how high on the battle screen they are, so the party members on top are slightly smaller than when they are on the bottom, and making the floor where they are standing is skewed a bit so it looks more 3d-like (something that the default backgrounds already do a little, as you may notice the more detailed ones the details get closer as you look higher in the image... but you want it even more skewed for a more 3d-like effect).
@Waterguy But you can see why an actual 3D Battle Scene could help produce that depth, those other plugins would have to fake, right? Like you listed ways to reproduce it in a false manner. Using 2D background images in the shape of 3D isn't exactly as good looking as an actual 3D background. Having a plugin scale battlers based on screen position works to create depth, but a 3D space does it better (also with the ability to rotate the camera slightly to add a little bit more dynamic movement).

You have to be able to see how a 3D Battle Scene would at least be cool, right?
Like I get you could use a bunch of plugins (or one custom plugin) to get a similar effect, but we can agree that an actual 3D Battle Scene would be unique for RPG MV? That it has it's pros and cons like a faked 3D space?
It'd probably be easier on your computer to do a 2D'ed 3D, but it's has a nice depth.

Also, Octopath's Battle Scene's camera does change angles. Go to 0:34 in the video!
(SPOILER WARNING FOR OCTOPATH TRAVELER)
Example video:
Uh, don't remember ever noticing that effect. It is very subtle though, so understandable.

still though,if she does add this I hope it is after the plugin is as complete for the map as she can get it first,
as it is easy enough to be reproduced in 2d if you don't do those effects.
maybe it could be done as a side-plugin, but I'd really want the map one first...

(yes, I know you did not ask it to be done right away 😛 I just am used to losing focus when a new idea is given and want to prevent her doing the same)
@Waterguy That's completely fair! She should totally focus on perfecting the 3D Map first! 🙂
Just an idea to throw on the roadmap for later! 🙂
Hmm... is anyone else having problem with running out of memory while using this plugin?

If it’s just because it’s bit more demanding than your average RPG maker game that’s fine. I’m mostly pointing it out in case there is any memory leaks or something.
I have a pretty old laptop so this might be an non-issue for the plugin itself. Also I’m not a programmer, so I wouldn't know how to identify it if there were something like a leak.
Also found another bug, you seem to be able to climb all event shapes but sprite with 1 height difference or less even with 0.1 stairs threshold.
This isn't happening on my end. I created an event with cross shape and collide 0.5, and it works as intended. I can't climb it.
I also created two cross shape events next to each other and put one at height 0.5. Same thing, can't climb it as intended.
The only shape with a different default collision height is flat, which as a default collision height of 0 as you would imagine. So sprite shape events shouldn't behave any different as platforms as any other shape (other than flat).

I'm not surprised if the new version is a bit more cpu intensive. This is something I could work on optimizing. I don't really see any perfomance issues on my end though, but both of my laptops are fairly new so that's not surprising.

But what would you guys rather I work on next? More bug-fixing and optimization? QMovement support, Character Creator EX, other plugin? Custom-defined meshes and imported 3D models?
For me, i want character creator EX, but perhaps other people want QMovement and bugfix first.
btw, what plugin does this plugin support until this version?
This isn't happening on my end. I created an event with cross shape and collide 0.5, and it works as intended. I can't climb it.
I also created two cross shape events next to each other and put one at height 0.5. Same thing, can't climb it as intended.
The only shape with a different default collision height is flat, which as a default collision height of 0 as you would imagine. So sprite shape events shouldn't behave any different as platforms as any other shape (other than flat).

I'm not surprised if the new version is a bit more cpu intensive. This is something I could work on optimizing. I don't really see any perfomance issues on my end though, but both of my laptops are fairly new so that's not surprising.

But what would you guys rather I work on next? More bug-fixing and optimization? QMovement support, Character Creator EX, other plugin? Custom-defined meshes and imported 3D models?

I downloaded the demo again and saw it doesn't do it, tested plugin parameters and only difference was Walk off Edge, it only does it when set to true. So if you set it to true you can walk on any events not set to sprite with 1 height difference.

Personally I only care about bug fixes and optimization as I don't need anything else really.

Also testing more it only happens to below events, not same as/above and it only works on flats, don't know why it worked before on cross,ect. Even more testing it actually does work on same as/above but only with exactly 1 height. Also it only cares for height/z not collide.
But what would you guys rather I work on next? More bug-fixing and optimization? QMovement support, Character Creator EX, other plugin? Custom-defined meshes and imported 3D models?

@Dread_Nyanak QMovement support with Custom-defined meshes and imported 3D models.
Would be nice to start being able to using objects instead of having them turn towards camera or only showing itself in fence mode.

I personally looking forward for this implentation.

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