Project1

标题: MV3D - 3D rendering for RMMV 0.52更新 [打印本页]

作者: tseyik    时间: 2019-11-12 21:30
标题: MV3D - 3D rendering for RMMV 0.52更新
本帖最后由 tseyik 于 2020-3-3 08:22 编辑

MV3D - 3D rendering for RMMV 0.39
連續斜路,動画氣泡測試
MV3D - 3D rendering for RMMV 0.35
追加2D/3D切換功能
MV3D - 3D rendering for RMMV 0.36
追加斜坡
MV3D - 3D rendering for RMMV 0.52




Todo:

    ✔Pan camera with plugin commands     ✔帶有插件命令的全景攝像機
    ✔Demo project (available but not finished)      ✔演示項目(可用但未完成)
    ✔Switch rendering to Babylon.js     ✔將渲染切換到Babylon.js
    ✔Improve performance     ✔提高性能
    ✔Dynamic shadows (patron only) ✔動態陰影(僅限贊助者)
    ✔Slopes✔斜坡
    ✔Animations     ✔動畫
    Bug squishing
    Support 3rd party plugins     支持第三方插件

Possible future features:未來可能的功能:

    Non-tile-based movement
    Control camera with mouse / touch
    load 3d models
    VR mode

如果您使用此插件製作遊戲,請考慮讚助支持作者。
讚助頁面
https://www.patreon.com/cutievirus


討論串
https://forums.rpgmakerweb.com/i ... th-three-js.114971/
範例
https://github.com/Dread-chan/MV3D
RPG Maker MV的3D渲染插件。

牆磚(A3和A4)被轉換為3D牆,使您可以輕鬆創建3D地圖。
區域和地形標籤也可以用於控製瓷磚的高度。

如果飛艇的飛行高度不夠高,它將與牆壁碰撞。 但是,您可以使用插件命令更改飛行的高度。

插件還支持3D照明以及用於控制照明和手電筒的插件命令。 插件不支持動態陰影,它們不能與three.js中的透明紋理配合使用。

您可以控制相機的距離,俯仰和偏航,以及在透視和正交模式之間進行切換。
您可以根據需要製作3D地牢爬蟲以及2.5D視點。 您甚至可以在同一個遊戲中混合使用多種樣式,例如,將游戲世界設為第三人稱或2.5D視點,並將地牢設為第一人稱地牢爬行者。
請參閱下面的屏幕截圖,以查看其外觀。
大3D城堡

一個簡單的樹籬示例。

地牢

2.5D視点

手電筒


為了提高照明質量,您可以在插件設置中更改“細分”參數。 此選項為每個圖塊提供更多的多邊形,這有助於使燈光看起來更平滑。

rpyT08q.png (185.51 KB, 下载次数: 38)

rpyT08q.png

作者: larbi    时间: 2019-11-12 21:45
哇哦!!!好酷啊!!!
作者: fux2    时间: 2019-11-12 22:10
MV做3D比较RGSS系列可优势大多了,这个看着效果真好
作者: srwjrevenger    时间: 2019-11-12 22:31
这真的只是个插件吗
作者: walf_man    时间: 2019-11-12 22:46
是的,这只是一个插件,使用了three.js库,并且自行修改了下以适应在mv中的使用。
不过这是一个强力的插件,看了下代码,基本把mv内核代码的2d实现都提供了3d实现。
作者: candlesor    时间: 2019-11-13 02:36
这也太触了!完全刷新了我对RMMV的认知...
作者: 枫叶的北方    时间: 2019-11-13 09:05
测试过,和ALPHAABS会产生地图BUG,而且地图上不会显示动画。QABS的话好像直接就给卡死了。
所以可能只能用回合制战斗。。
作者: tseyik    时间: 2019-11-13 09:50
本帖最后由 tseyik 于 2019-11-13 09:56 编辑
枫叶的北方 发表于 2019-11-13 09:05
测试过,和ALPHAABS会产生地图BUG,而且地图上不会显示动画。QABS的话好像直接就给卡死了。
所以可能只能用 ...


原討論也提過
Yeah, it won't work with a lot of graphical plugins. The 2D map isn't rendered at all, so anything that changes how the map and characters are rendered won't work with this.
Anything that changes the gui and menus should work fine though.
它不適用於許多圖形插件。 2D地圖根本不會渲染,因此任何更改地圖和角色渲染方式的操作都將無法使用。
不過,更改gui和菜單的所有內容都應該可以正常工作。
而未來的探討方向
Todo:

    ✔️Pan camera with plugin commands
      帶有插件命令的鏡頭
    Improve load times
   縮短加載時間
    Bug squishing
  除虫
    ✔️Demo project (available but not finished)
        範例
Possible future features:

    Non-tile-based movement
    線性移動
    Control camera with mouse / touch
    用鼠標/觸摸控制相機
    load 3d models
   載入3D模型
    VR mode
  VR模式

作者: play337    时间: 2019-11-13 10:18
本帖最后由 play337 于 2019-11-23 19:32 编辑

good........................job
作者: _Mikan    时间: 2019-11-13 10:21
建议直接开发下一代RM = ̄ω ̄=
作者: tseyik    时间: 2019-11-13 19:36
本帖最后由 tseyik 于 2019-11-13 19:42 编辑

       

    @Waterguy
    Yeah I'm definitely going to have to fix the help text. Right now I'm working on some major rewriting though, so fixing that will have to wait.
    Letting regions decide the wall texture isn't a bad idea. I think I'll implement that eventually.
    And of course the performance issues are something I'm working on fixing.

    Right now I'm actually working on switching the code over to use babylon.js for rendering instead of three.js, that way I can implement dynamic shadows without them looking horrible. While I'm at it I'm also reworking a lot of the code to make it more organized and maintainable.
     


作者正重寫 code
解決性能問題
讓區域決定牆的紋理
用babylon.js取代three.js進行渲染,實現動態陰影
使其更具組織性和可維護性。
作者: soulsaga    时间: 2019-11-13 20:46
这3D插件要高版本MV才能用?
作者: 白嫩白嫩的    时间: 2019-11-15 01:55
这个要是成熟了,官方收编一下,还买什么微笑屋,哈哈哈哈哈
作者: tseyik    时间: 2019-11-18 18:19
MV3D - 3D rendering for RMMV with Babylon.js
Version 0.3
✔️

Pan camera with plugin commands
✔️

Demo project (available but not finished)
✔️

Switch rendering to Babylon.js3
作者: tseyik    时间: 2019-11-18 19:29
Make sure you have both the babylon.js plugin and mv3d-babylon.js plugin loaded, in that order.

Now when you run your game, the map should be rendered in 3D.

The A3 and A4 tiles will be rendered as walls. You can also change the height of tiles using regions and terrain tags.

By default, regions 1-7 are configured to affect the height.

Terrain tag 1 is configured to use a cross shape, so tiles with this tag will stand up like a tree.

Terrain tag 2 is configured to use a fence shape. Try putting this tag on the fence autotiles that come with MV.

The regions and terrain tags can be reconfigured however you want.

確保同時加載了babylon.js插件和mv3d-babylon.js插件。

現在,當您運行遊戲時,地圖應該以3D渲染。

A3和A4磁貼將渲染為牆。 您還可以使用區域和地形標籤更改圖塊的高度。

默認情況下,區域1-7配置為影響高度。

地形標籤1配置為使用十字形,因此帶有此標籤的圖塊將像樹一樣站立。

地形標籤2被配置為使用柵欄形狀。 嘗試將此標籤放在MV隨附的柵欄自動裝置上。

您可以根據需要重新配置區域和地形標籤。
作者: tseyik    时间: 2019-11-18 19:32
本帖最后由 tseyik 于 2019-11-18 19:36 编辑

Tileset Configuration

A more advanced feature, the tileset configuration should be placed in the tileset's note, and should be wrapped in an block.

Each line in the configuration should start by identifying the tile you want to configure, followed by a colon, and then a list of configuration functions.

Choosing a tile is done with the format img,x,y, where img is name of the tileset image (A1, A2, B, C, etc.), and x and y are the position of that tile on the tileset. For example, A2,0,0 would be the top left A2 tile. On the outdoor tileset, this would be the grass autotile.

Each tile can have 3 different textures. The top texture, side texture, and inside texture. The side texture is used on the side of the tile when it has a positive height, and the inside texture is used when it has a negative height.

If inside texture isn't specified, all sides will use the same texture.
If side texture isn't specified, then sides will use the top texture.

texture(img,x,y)
top(img,x,y)
side(img,x,y)
inSide(img,x,y)

These functions will use the specified tile for the current tile's textures.
texture() sets both the top and side textures.

Tileset配置

一個更高級的功能是,磁貼組配置應放在磁貼組的註釋中,並應包裝在一個塊中。

配置中的每一行都應首先標識要配置的磁貼,然後是冒號,然後是配置功能列表。

選擇圖塊的格式為img,x,y,其中img是圖塊圖像的名稱(A1,A2,B,C等),x和y是該圖塊在圖塊上的位置。例如,A2,0,0將是左上角的A2圖塊。在室外平鋪地板上,這將是草叢。

每個圖塊可以具有3種不同的紋理。頂部紋理,側面紋理和內部紋理。高度為正數時,將在瓷磚的側面使用側面紋理;高度為負數時,將使用內部紋理。

如果未指定內部紋理,則所有面將使用相同的紋理。
如果未指定側面紋理,則側面將使用頂部紋理。

texture(img,x,y)     /紋理
top(img,x,y)          /頂部
side(img,x,y)        /側面(外)
inSide(img,x,y)     /側面(内)

這些功能會將指定的圖塊用於當前圖塊的紋理。
texture()設置頂部和側面紋理。

這些功能會將指定的圖塊用於當前圖塊的紋理。
texture()設置頂部和側面紋理。
作者: tseyik    时间: 2019-11-18 19:40
舉一個簡單的例子,我們將室外圖塊中的水瓦片設置為負高度,以便其沉入地下。

<MV3D>
   A1,0,0:top(A1,0,0),rectSide(A1,31,54,31,14),高度(-0.3),浮點(0.1)
</ MV3D>

但是,當我們將其放置在懸崖的邊緣時,此示例看起來並不十分好,因此我們可以對其進行配置,以在外牆上使用瀑布紋理。

<mv3d>
   A1,0,0:top(A1,0,0),side(A1,1,1),rectInside(A1,31,54,31,14),高度(-0.3),浮點(0.1)
</ mv3d>

作者: play337    时间: 2019-11-19 11:06
本帖最后由 play337 于 2019-11-23 19:32 编辑

nice.....................job!
作者: 梦幻のLoli塔    时间: 2019-11-19 12:40
只是感觉MV做成3D意义不大,真想做好的话还是得用unity
作者: tseyik    时间: 2019-11-22 12:59
Todo:

    ✔️Pan camera with plugin commands
    ✔️Demo project (available but not finished)
    ✔️Switch rendering to Babylon.js
    ✔️Improve performance
    Dynamic shadows
    Slopes
    Animations
    Bug squishing

作者: ryuki13    时间: 2019-11-30 10:48
我1.61可以运行,但是行走图都是错位的,是版本问题还是现在插件就是有这个BUG?
作者: tseyik    时间: 2019-11-30 13:46
https://twitter.com/tseyik/status/1199730969936220162
作者: dall01    时间: 2019-12-3 14:41
这都行,真心佩服
作者: tseyik    时间: 2019-12-4 08:31
本帖最后由 tseyik 于 2019-12-4 09:29 编辑

MV3D - 3D rendering for RMMV 0.35
追加2D/3D切換

另外動態陰影部分,作者可能只開放給贊助者
作者: tseyik    时间: 2019-12-5 14:08
MV3D - 3D rendering for RMMV 0.35
追加2D/3D切換功能
作者: sdgn    时间: 2019-12-5 14:51
本帖最后由 sdgn 于 2019-12-5 15:15 编辑

想弄3D還是乖乖用專門的軟體吧~ 別呆在舒適圈且沒比較好用又效能差~

網路上 UNITY/UE的教學一堆.... 花1~2小時就能摸董至少50%和做出一點小東西...

平常大家有心要弄的時候還不是一樣會在RM花1~2小時做東西...

JS這種語言就是不適合WINDOWS單機~ 且OPENGL我實測在WINDOWS就是比DX效能差一點....

但換個角度來說這東西倒是可以用來研究語法結構改寫到別種語言或軟體的專案
(不適合正式使用就是了...要做大專案或高品質內容的話各方面都跟專門軟體有落差)

我自己就是非講究高度客製化就用RMXP/VA... 要講究客製化就 UNITY 或 UE...
MV就滿尷尬不上不下 不是很推~ 論跨平台不比UNITY好用~ 論本質來說跟VA差不多也沒比VA好用也不適合做PC小品~ 整體容量過大~



作者: tseyik    时间: 2019-12-6 09:50
MV3D - 3D rendering for RMMV 0.36
追加斜坡


作者: 511317646    时间: 2019-12-6 11:40
这个东西厉害了!
作者: tzt198724    时间: 2019-12-6 14:26
大神怎下载?英语盲
作者: ddmango918    时间: 2019-12-11 05:38
不可思議啊
以後只要能配合裝作更細的貼圖就要變全3D了
作者: 2669483303    时间: 2019-12-18 02:33
外国友人的插件吗
作者: mzwx    时间: 2019-12-19 12:09
66666666666
作者: tseyik    时间: 2019-12-21 08:10
MV3D - 3D rendering for RMMV 0.39
連續斜路,動画氣泡測試


作者: B612    时间: 2019-12-21 08:56
fux2 发表于 2019-11-12 22:10
MV做3D比较RGSS系列可优势大多了,这个看着效果真好

JS?还好吧,我本来也想用MV的,可是不知道在哪里下。
Js是挺方便的。
作者: tseyik    时间: 2020-1-17 10:35
正常影

動態影

作者: Zeldashu    时间: 2020-1-17 13:06
效果越来越好了
作者: 辞菌    时间: 2020-1-25 19:04
以前在xp上也看到过3d脚本,现在mv也有了,挺好
作者: 如风宝宝    时间: 2020-1-28 05:33
楼主链接挂了,可不可以联系我
作者: play337    时间: 2020-1-28 13:14
本帖最后由 play337 于 2020-1-30 19:04 编辑

666666666666666666666
作者: 1228577740c    时间: 2020-1-29 18:06
强 突然跳跃
作者: tseyik    时间: 2020-3-3 08:19
本帖最后由 tseyik 于 2020-3-3 08:21 编辑

Update 0.5:
- renamed plugin to mv3d.js
- fix light per mesh limit
- Diagonal Movement
- Support QMovement
- Support Altimit Movement
- separated lamp height & offset from flashlight
- Increase priority for shadow pen on slope direction
- Made automatic slope direction more reliable
- Changed how wall textures are affected by adjacent slope
- Configure regions in map note
- Configure tileset in map note
- Configure individual actors
- shadow, error, and bushAlpha textures are set in parameters so they don't get excluded during deployment.
- Changed how input is handled.
- WASD controls now optional.
- Events without a graphic can be triggered from any height.
- Added option to make all events triggerable from any height.
- fixed shake screen not working outside map scene
- Added mv3d configure plugin command

Edit: v0.5.0.1 Fixed error caused by followers without an actor.

更新0.5:
-將插件重命名為mv3d.js
-固定每個網格限制的光
-對角運動
-支持QMovement
-支持阿提米特運動
-分開的燈高和手電筒偏移
-增加陰影筆在傾斜方向上的優先級
-使自動傾斜方向更加可靠
-更改了壁紋理如何受到相鄰坡度的影響
-在地圖註釋中配置區域
-在地圖說明中配置圖塊
-配置個人演員
-陰影,錯誤和bushAlpha紋理是在參數中設置的,因此在部署期間不會被排除。
-更改了輸入的處理方式。
-WASD控件現在是可選的。
-沒有圖形的事件可以從任何高度觸發。
-添加了使所有事件均可從任何高度觸發的選項。
-修復了搖晃屏幕在地圖場景外無法使用的問題
-添加了mv3d configure plugin命令

編輯:v0.5.0.1解決了由於沒有角色的關注者而導致的錯誤。

您會在此列表中的第一次更改中註意到,我已將插件從mv3d-babylon.js重命名為mv3d.js。 three.js版本已經消失了一段時間,所以我覺得沒有必要保留巴比倫這個名字。
這確實意味著您必須重新輸入插件參數,但是如果您不想這樣做,那麼我已經做到了,因此,如果將其重命名為mv3d-babylon.js,該插件仍然可以使用。

我這樣做是為了使光源建立包含列表,以便它們僅影響足夠接近以被照明的網格。這將使您在地圖上擁有更多的光源,但是每個像元可以擁有的數量仍然有限。只要確保您沒有太多的光源聚集在一起太近並且您應該沒有問題。

我添加了對角線移動的內置支持。這使得使用非基本相機角度移動時感覺更自然。將來我可能還會添加對8向精靈的內置支持。
作者: 神风炽羽    时间: 2020-3-21 19:40
挺希望看到它能适配目前的某一种ABS插件。
作者: dubenhan    时间: 2020-7-8 20:58
太帅了
作者: Zeldashu    时间: 2020-11-8 21:36
果不其然,作者似乎更像MZ版本的去了,所以有无赞助大佬可以透露一下,MV版本的MV3D后续更新是彻底鸽了吗
作者: tseyik    时间: 2020-11-9 10:13
本帖最后由 tseyik 于 2020-11-9 10:14 编辑

https://youtu.be/IfVsdQKzhfE

作者: tseyik    时间: 2020-11-9 23:28

作者: walf_man    时间: 2020-11-10 00:04
3d时间战斗系统?这就很棒了呀
作者: RPG筱咲工作室    时间: 2022-2-19 19:10
如何才能变更第一人称的视角高度?默认只有1格欸
作者: 马铃薯条    时间: 2022-3-4 10:29
0.5版本是不是下载不到?git上是0.4.2版本的
作者: tseyik    时间: 2022-3-4 13:52
mz
https://cutievirus.itch.io/mz3d
my
https://cutievirus.itch.io/mv3d
作者: RPG筱咲工作室    时间: 2022-3-4 14:30
如何关闭穿透?玩家按下control键可以自由在地图上到处移动很不合理欸




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1