MV3D - 3D rendering for RMMV with Babylon.js

How well will it run? Does anybody have a video here? That looks really cool. I especially like the one with isometric angle.
@phamtruong1992 well, didn't test the new versions yet, but the most recent one I did test took a small bit to load the map but after it did it went with almost max fps...
I don't have a video myself but some people did. I found two, one a test by someone I don't know,

The other is a small tutorial on setting up your project for an old version of it, but it is in my native language, so you probably wouldn't understand it 😛
0.3.10. Works well.
0.4 FPS Noticeably decreased
version 0.4.2.2 Slightly better

I think you should check. When using the 256 * 256 size map
In my test Create large map
0.3.10. Works well.
0.4 FPS drops significantly
I think you should check. When using the 256 * 256 size map
In my test Create large map

I tried 256x256 and had 75 fps, only small dips when loading new cells, same as normal. With way it works I don't think map size would even increase lag much really, update changed movement system so more CPU needed, no way to avoid that. Rather than 256x256 more events would be more laggy than before. Solution is better CPU or cut map into less/less events.
Update 0.4.3:
disable() works without parameters again
Screen shake now shakes the camera instead of the screen object, eliminating black borders.
Fixed negative fringe problem. Using a negative fringe won't cause tiles to be culled.
Cancelled the space program.


I've fixed the problem with events rocketing into the sky by preventing an event from trying to stand on an event that's standing on it, but it still seems a little glitchy. I might tweak the behavior in the future.
Update 0.4.3:
disable() works without parameters again
Screen shake now shakes the camera instead of the screen object, eliminating black borders.
Fixed negative fringe problem. Using a negative fringe won't cause tiles to be culled.
Cancelled the space program.


I've fixed the problem with events rocketing into the sky by preventing an event from trying to stand on an event that's standing on it, but it still seems a little glitchy. I might tweak the behavior in the future.

They still seem to be able to move under each other even with 0.1 stair threshold if the same file height/collision but not player anymore. Worst part is same as characters push the thing it walks on up, while below do it like they should in standing on top, but below only seems to stand on top of flats, sprites it just walks through it, cross/fence/tree seems glitchy. Aboves also send the thing they walk into flying up to their own height +1, also they only do it if the same file height, flying crystals won't do it while flying people will, while the rest of interactions happen if stair threshold is met either way.
New update, nice!

Can someone explain to me what that platform tag does? Or rather, what practical use would it have in mapping? Do you use it for bridges or what? And if so, how do you set it up?

@Waterguy
Thank you for writing that plugin. I'll test it out.
New update, nice!

Can someone explain to me what that platform tag does? Or rather, what practical use would it have in mapping? Do you use it for bridges or what? And if so, how do you set it up?

@Waterguy
Thank you for writing that plugin. I'll test it out.

Platform makes it so you can stand on the events top if height/collision is within stair threshold, you can use it for bridges or a barrel made with events, like as a platform, but if you use ones with larger than 1 tile width you need Yanfly hitbox resize or invisible events/splitting the event. You can turn it on in plugin parameters Walk on Events or add platform(true) to note.
@glaphen
Could you show me an example event tag adjusting the height and settings for something that would work? I think that would help me understand better.

Also, is it possible to stand on a platform while it moves? Or will you just fall off/through?
@glaphen
Could you show me an example event tag adjusting the height and settings for something that would work? I think that would help me understand better.

Also, is it possible to stand on a platform while it moves? Or will you just fall off/through?

Say have stair threshold in plugin parameters set to 0.4, you can make a flat event with height(0.4), now you can walk on top of it with platform(true) or the plugin parameter, put a second one next to it with height(0.8), you can't walk on it, but if you climb on the 0.4 you can walk on top of that next, then you can walk on top of a 1 height wall. You can also fall on them with the Walk off Edge parameter to land on anything with collision.
Stairs.png

Here's something I just tried in demo, z seems better than height for this as they keep moving each others heights if set to height, but all I did was change z by +0.4 for each event, and had a parallel move the 2nd set events over to get them on top of each other.

Oh and as for the moving platform it doesn't seem to work, fall through it when it moves.

Stairs2.png

Second stairs without any tiles.

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.
I see. That looks like it could be used for something.

I’ve been thinking about using stairs tiles for slanted roofs, anyone else tried that?
I don't think the CPU is not enough for RPG MAKER.
What I know is that it worked well in previous versions.




az.PNG


I tried 256x256 and had 75 fps, only small dips when loading new cells, same as normal. With way it works I don't think map size would even increase lag much really, update changed movement system so more CPU needed, no way to avoid that. Rather than 256x256 more events would be more laggy than before. Solution is better CPU or cut map into less/less events.
I think I'll wait for the fix of the bug Glaphen mentioned before downloading the new version... seems good enough save for that, but for now the 0.3.10 is being enough for my needs for now anyway.
that said, am I right in thinking that if I made an event to raise a flat event set as platform I could create an elevator?

On an unrelated note, I edited QAudio a bit.
Made the camera's yaw affect the pan of the sound, made the audio's focus be the camera's target instead of just the player (since you can put it in an event), and added a vertical radius to make the height affect the volume too, and thus a separate horizontal radius plugin option too. If you set only the basic one you'll basically be setting both.
It is just an edit and not a patch though, since the changes I needed to make were a bit too internal for a patch. But if I did it right it would still work no problem when used without mv3d or with it disabled. But as it is just an edit it still needs QPlus to work.
Tried putting it on dropbox but there has been errors for over 10 tries already... attachment it is...

That said, while I tested the camera direction the rest wasn't tested as much, so any problems just tell me later.
You can actually make a platform that raises and you don't fall through, just not moving to other tiles.

I don't think the CPU is not enough for RPG MAKER.
What I know is that it worked well in previous versions.




View attachment 130532


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.
Ah right, he is the one using QMovement? I couldn't see it in the video.
While I can't say it is what is causing the slowdown for him, even on 0.3.10 it did cause a lot of it for me when I used the two together......
Ah right, he is the one using QMovement? I couldn't see it in the video.
While I can't say it is what is causing the slowdown for him, even on 0.3.10 it did cause a lot of it for me when I used the two together......

You can see him move diagonal in the second half where he uses .3 version, pretty sure it doesn't work in first half .4 and tried but he still has it on. Even in .3 version his fps is extremely jittery and it's not from cell loading.

Also if I may suggest @palatkorn you should put your plugins in order, those yanfly are completely out of order. http://www.yanfly.moe/wiki/Yanfly_Engine_Plugins
The order should be the order on the page. You have a better CPU than me, I have i5-2500k at 4.0ghz overclock and 8gb ram and I use a lot more plugins but am not lagging and also I'm using 1080p in mine. Another thing that might help is putting mv3d at the bottom of your plugins, mine doesn't even load anything at the top.
I tried searching in this forum but couldn't find anything. Does the show animation command work with this plugin?
I tried searching in this forum but couldn't find anything. Does the show animation command work with this plugin?

Yes.
@Danielcross it didn't use to, but that has been fixed now.
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

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