Skip to content
Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software

Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software

Download Free Animation Software – Let's Learn How to Do Everything!

  • Step-by-Step MMD instructions
  • DOWNLOADS
  • Troubleshoot, Fix MMD
  • Site Contents
  • Reggie Replies Q&A
  • Homework!
  • What IS MMD?
    • Download MikuMikuDance Newest Latest Version of MMD
  • “HOW TO”
    • Raycast RAY-MMD Effect Tutorials
  • BONUS PAGES
    • Why convert PMD models to PMX?
  • HALL of CHAMPIONS
  • Tutorial Categories
  • About
    • Privacy Policy
  • Toggle search form
  • Cookiefun Channel Camera Crew Model Free Download Downloading New Models
  • Workin’ on my VDE-4 Animation: The Easy Part is Complete! "the making of" my video
  • Creating an animation using MMD, MikuMikuDance! "the making of" my video
  • create easy dance motions in MikuMikuDance... beginner tutorial
    Create MMD Dance Motion from Scratch – a beginners guide Creating Motions
  • RAY-MMD: A method to get great results fast and easy!
    RAY-MMD: A method to get great results fast and easy! MMD Tutorials
  • More Motion Interpolation Curve Instruction for MMDers Creating Motions
  • Study MMD Motion Files to SEE and LEARN about creating animations
    Study MMD Motion Files to SEE and LEARN about creating animations Making Smooth Motions
  • Quick-Start Basics of MMD to get you started! GloriaTheAnimator

RAY-MMD Technique: of Battleships and Fleet Girls

Posted on December 28, 2019July 8, 2024 By Trackdancer 4 Comments on RAY-MMD Technique: of Battleships and Fleet Girls

Total finesse in the RAY-MMD Technique gives surreal dreamyness to your MMD animations.

A couple of days ago, a fan of the Prinz Eugen character from the Azur Lane franchise wrote and asked a few interesting questions about how to set up nautical scenes in MMD which, after some thoughts, I felt were well worth answering. Specifically, they wanted to know how to set up battleship models in an ocean and have the Prinz Engen character model dance on it and looking drop dead gorgeous. It isn’t actually that hard to do something like this but there are a few tricks. So in this article, we will show you how it can be done.

RAY-MMD Technique…
…of Battleships and Fleet Girls

Resources needed

If you want to follow along and try out the steps as discussed below, which we strongly recommend, you will need the following models:

  • Prinz Eugen 3d.nicovideo.jp/works/td43641.
    • If you prefer, feel free to use another character model from either the KanColle or Azur Lane franchises.
  • MMD Ocean Stage https://www.deviantart.com/trackdancer/art/MMD-Ocean-Stage-501407341
    • The MMD Ocean Stage can be substituted by using a custom made flat plane model made using the PMXe if you prefer. All we need is just a flat surface to hold the water effect material. Just make sure that the plane model is larger than the sky box.
  • A WW2 era battleship or heavy cruiser model. Choose any you like from those made by Tansoku102cm https://bowlroll.net/user/1458 
    • We will be using a 1940s Heavy Cruiser model since the real Prinz Eugen was that class of warship.
  • RayMMD 1.5.0

Initial set up

Important (but optional): This article uses RayMMD with the Bokeh Depth Of Field option enabled. To enable this functionality, before starting MMD, go to the RayMMD folder and find a file named ray.conf. Using either notepad or another text editor, edit the last line by changing the value “0” to “1”. Save the file and exit.

// Bokeh Depth Of Field
// MeasureMode can supports the following options:
// When MeasureMode at (0.00 ~ 0.24) : Test circle
// When MeasureMode at (0.25 ~ 0.49) : Test circle + Bone from ray.x
// When MeasureMode at (0.50 ~ 0.98) : FocalDistance Only
// When MeasureMode at (0.99 ~ 1.00) : FocalDistance + Bone from ray.x
// 0 : None
// 1 : Enable
#define BOKEH_QUALITY 1

After starting MMD, turn off MMD’s default ground shadow display. Then load the following models and preferably in the order noted below:

  1. The Time of Day sky box from the RayMMD suite.
  2. The Prinz Eugen character model. Add her mech gear if you want; but this article will not feature this item.
  3. The MMD Ocean Stage.
  4. And finally your battleship or battle cruiser model.

Of note are the following considerations:

  • Battleship models are HUGE. They are actually the full sized thing relative to the character model. This means that when first loaded, your character model will be inside the hull of the vessel. We will address this issue in the next steps.
  • The ship models made by Tansoku102cm uses transparent textures for some of the ship models’ fittings. For example, the safety railings that run along the side of the upper hull. This mandates that these types of ship models should be at the bottom of the model draw order stack.

Moving the ship and the sea

We want to easily move the main stage components around; specifically the ship and the ocean. To do this, use the OP function to attach the ocean stage to the ship model. Once this link is established, all you need to do is move the ship and it will always be correctly placed relative to the ocean.

Next, move the ship model to the area where you want your character model to be; and not the other way around. i.e. move the ship not the character model.

This keeps the “action” in the central area of the MMD display and makes working with this type of scene much easier. Note also, that the character model relative to the ship model is tiny. So pay attention to where she is relative to the ship as by default she is hidden from view inside the hull of the ship. The easiest solution is to first move the ship model straight down so that you can see where she is, and then move the stage area to its final desired location.

Our set up is shown in the image immediately above. The stern of the ship model is used as it has the most usable performance area. Note that the deck is slightly sloped but gentle enough not to be an issue in most applications. Many MMD video makers using this type of set up, places the performer on top of the gun turrets. This is also a good approach as the turret tops offer a decent size flat performing area.

Setting up the lighting position

Since we want dramatic lighting in our final production render, we need to properly set up the position of the sun. Straight up, the next steps are optional as you may want a different type of set up for your production, but the rest of this article will be based on the set up described here.

Our schema will use back-lighting as this accentuates the mood of the scene. There will be strong light and shadow play and be slightly reminiscent of the old 1940s naval ship battles movies. This approach also allows us to make the most out of the primary hues and tones of the Prinz Eugen and battle cruiser models which both features deep grey tones. With this approach, the primary hues will really accentuate the Prinz Eugen model since she has a lot of flesh and red tones; not to forget a rich stock of light colored hair.

Adjusting the sun’s position

One of the features of the RayMMD sky boxes is that they are dynamic in nature but for the purposes of the initial set up, it is easiest to set up the light direction before the main RayMMD components are added. Use the lighting controls in the main MMD panel to set up the light direction. The Time of Day sky box has a sun model which can be located by using these controls. The steps described below is probably the easiest way to achieve the desired results.

  1. Use the “Y” axis control to lower the sun into a position where it will most easy to see; mid screen, just above the horizon. When you first do this you won’t be able to see the sun as it will be behind the camera but since the sky at the horizon turns orange towards “sunset”, this will be your clue as to when the sun will be at the correct height.
  2. Use the “X” and “Z” controllers to rotate the sun so that it is behind and to one side of the ship as can be seen in the image shown immediately above.

Use these controllers to adjust the sun’s position to your satisfaction and then resister the sun’s final position. You can tweak it again later as needed, but for now get the sun and lighting direction more or less into the position where you want it to be for your scene; at least as viewed from the front of the character model.

Adjusting the primary light hues

The color of sunlight during sunrise and sunset differs. With orange hue in the sky on the horizon this is suggestive that the scene occurs during sunset. As such, there should be a red hue in the primary lighting conditions. It is best to set this up also before loading the main RayMMD components. Also, you should set the size of the sun at this time. This done using the SunRadius+ variable found under the facial controls of the Time of Day sky box model. In our set up, we used a value of 0.85 and do note that we further lowered the position of the sun in the sky.

Our final global lighting set up using the default light setting tools are shown below. As can be seen in the image above, the primary light direction comes from the rear and there is a reddish hue to the light color. All very subtle but it will look awesome once we add the RayMMD components and the final tweaks.

The journey so far…

With everything done thus far, your scene should now look similar to the image below. This is also a good point to add either a pose or a motion to the character model as well as to experiment with different viewpoints to make an assessment of the visual possibilities offered by your set up. These final steps really can help for formulating the final shading set up.

Adding RayMMD

Load ray.x and ray_controller.pmx to MMD. Then do the following initial specifications:

  1. Add main.fx to the character, ship and ocean stage models.
  2. Under the FogMap tab of the MME panel, add Time of fog with godray.fx to the Time of day sky box.
  3. Under the EnvLightMap tab, add Time of lighting.fx to the sky box.
  4. Go over to the Materials tab and expand the material subset for the ocean stage. Apply the material_water.fx to the surface_water material. You will find this material in the Water subfolder inside the Programmable materials folder.

Since the scene is back lit and the primary light source is the sun your scene will look similar to the image shown below. This is fine, we will add illumination coming from a frontal light source and the scene will look awesome.

Adding a frontal light source

Inside the RayMMD Lighting folder, find PointLightIES.pmx and load it into MMD. Then move it to the front of the model and raise it to slightly above the head.

Use the settings below and your character model will become much better lit. Note that the last value is Attenuation Bulb- = 0.25. Optionally, for the R,G,B values, you can use R=0.60, G=0.50 and B=0.40; this will give a slightly warmer color to the light.

IMPORTANT: Although this is a “point” light, the lighting is actually directional. To control the direction of the light, just rotate the sphere. What you want to do is to make sure that there is even lighting falling on the front side of the model. The AttenuationBulb settings I gave above is dependent on how far the light is away from the model so adjust accordingly. You can also increase or decrease the illumination level with the intensity settings.

You can hide the PointLight model by unchecking its display properties under both the Main and Materials tab of the MME panel. Not displaying it using the MMD controls will turn off the lighting it gives out also, so that is why you need to hide it using the MME panel controls.

This is a good point in the work sequence to add material specifications to the character model. Since this is a straight forward process, we won’t discuss how to do this in this article. If you need more information, please refer to some of the other RayMMD tutorials on this site which covers this area in more depth. Our model with the added light and material spec looks as shown below.

RayMMD value settings

With our foundation settings created, it becomes a really simple task to tweak the RayMMD settings to create absolutely gorgeous scenes. Fair warning; when you first do this for yourself, it could take awhile as there is a lot of variables to set and choices to make. It may literally take hours of tweaking to get things “right“.

Since this type of lighting is “interpretive” the process is as much a creative process as it is a technical exercise. It is not so much that you are trying to simulate a real world scene but rather, with this type of approach, you are creating an idealized but credible alternate reality.

The list below were the settings we used. These settings are not set in stone so please don’t just use them verbatim, but merely as a starting point for your purposes.

Time of day

SunRadius+ 0.30
SunRadiance- 0.30
SunTurbidity+ 0.25
OzoneMass+ 0.30
RayleighColorS+ 0.05
RayleighColorV- 0.25
RayleighHeight+ 0.15

EnvDiffLight+ 0.25
EnvSpecLight- 0.50

Cloud+ 1.0
CloudTurbidity+ 1.0
CloudSpeed+ 0.45

ray_controller

SunLight+ 0.05

BloomTheshhold 0.55
BloomRadius+ 0.50
BloomColorAllS+ 0.50
BloomColorAllV+ 0.10
Vignette 1.0

Fstop+ 0.28
FocalLength- 0.35

Contrast+ 0.10
Saturation+ 0.10
Gamma+ 0.05
Temperature+ 0.35

PointLight

R+ 0.20
B+ 0.20
G+ 0.20
Range- 0.30
AttenuationBulb- 0.40

SphereLight

R+ 0.75
G+ 0.50
B+ 0.35
Intensity+ 0.05
AttenuationBulb- 0.15

The PointLight is in front of Prinz Eugen model. Use the values given merely as guidelines as the values you use will be determined by where you place your PointLight relative to your performer.

The SphereLight is used as an accent light to brighten the area behind Prinz Eugen. Its presence is very subtle and purely optional. In the video set up it is located just above the capstan(?) in front of the turret and just under the gun barrels.

The Bokeh DOF values are only applicable if you have that option active as discussed at the top of the article. You could use PowerDOF or a similar effect to essentially do the same thing.

Afterwords

Thanks for reading. We hope you found some useful information and techniques that you can takeaway and use in your projects. Comments and questions are welcomed; please post these in the comments section below.

Credits

  • Prinz Eugen – yatsurugi_mmd:  3d.nicovideo.jp/works/td43641
  • 1940s Battle Cruiser – Tansoku102cm
  • MMD 9.32
  • IrfanView
  • AviUtil
  • RayMMD 1.5.0
  • Video motion – Ureshiiiiii

 


– SEE BELOW for MORE MMD TUTORIALS…


— — —


– _ — –


Visit the LearnMMD.com Homepage! Plenty of Mikumikudance instruction and info!

More MMD Tutorials...

Reader asks how to create MMD artwork... stuff like posing, camerawork?

A reader asks... Is there a tutorial on how to create MMD artwork, like those you ...read more

Learn MikuMikuDance in Small Steps! New LearnMMD Video Series

Learn MikuMikuDance in Small Steps. Where can I find easy-to-follow MMD instructions on YouTube? How ...read more

Apply Multiple Effects on an Entire MMD Model Using M4Layer Effect

How can I apply multiple effects to an MMD model? Can I use more than ...read more

MMD Plugin Manager... I Found a Treasure!

What sorts of MMD Plugins are there? MMD Plugin Manager? MMD Plugins. Plugin MMD. More ...read more

2023: Hatsune Miku is 16 Years Old by design and in reality!

Finally, in 2023, Hatsune Miku is 16 years old! When did Miku make her first ...read more

SEARCH LearnMMD.com... it's Easy!

Search LearnMMD.com to find your answers! With the posting of this article, LearnMMD.com has 758 tutorials ...read more

Battleship Models - MMD, MMD Tutorials, Raycast Ray-MMD, SHADERS, Trackdancer2015

Post navigation

Previous Post: EXPAND function modifies MMD motion tempo
Next Post: Video Dojo Expo 2 CHAMPIONS are chosen!

Related Posts

  • Click to see the new Getting Started with MMD Video on YouTube!
    Getting Started with MMD Video on YouTube! MMD Basics
  • MMD "Kiss Me" free download motion and WAV files.
    Ten year old MMD “Kiss Me” animation LOOKS like NEW! "the making of" my video
  • Let your MMD model breathe and move while standing still! Creating Motions
  • New Reggie’s Evil Eye demo video posted to YouTube "the making of" my video
  • How to sign up and Upload to Piapro! HollyLawliet
  • Recommended Software Library for MMDers Animation Shortcuts

More Related Articles

Stationary Motion Creation rights and wrongs Creating Motions
Download the latest version of MikuMikuDance - MMD 9.32 Download the latest version of MikuMikuDance! Download MikuMikuDance
Troubleshooting MMD errors and setting up d3dx9_32.dll error
create credible characters for your projects How to create credible characters for your projects. MMD Tutorials
Download Reggie Dentmore's "Hand Pose Collection" on LearnMMD.com MMD Hand Poses make Animation Easier Animation Shortcuts
Getting Started with MMD MikuMikuDance Intro to MikuMikuDance

Comments (4) on “RAY-MMD Technique: of Battleships and Fleet Girls”

  1. Reggie_Dentmore says:
    March 6, 2020 at 8:59 am

    Thanks! … I know… it can be a tangled web. … and how deep do we go?

    Reply
  2. KillerBeer says:
    January 26, 2020 at 2:20 am

    Every change must be followed by a “register” button hit, on Bone Manipulation panel (blue) for .pmx models or Accessory Manipulation panel (yellow/ochre) for .x accessories respectively.

    Reply
  3. Trackdancer says:
    January 25, 2020 at 12:34 pm

    The “root” bone can have other names: ‘parent”, “all-parent’ and ‘motherbone’ are the normal variants. It is also possible that the model doesn’t have a ‘root’ bone. In which case you can add one or just simply use the ‘center’ bone which all models loaded into MMD must have.

    Reply
  4. Trackdancer says:
    January 5, 2020 at 7:16 pm

    Thank you. Really happy to read your response. This is most kind of you and I am delighted that you felt this way about this article.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Download the latest version of MikuMikuDance!
See the MMD Step-by-Step instructions page!
Learn how to make your own MMD motions!
LearnMMD.com
  • Introducing MikuMikuMoving … MMM! Kazuki Matsuoka
  • A brightly colored .sph sphere file replaced the common gray one with brilliant results! MMD 7.39
    Alter Sphere Files for a quick color change in MMD Reggie Dentmore
  • Click to see FULL SIZE my original model setup for my "Dueling Banjos".
    Planning a MikuMikuDance 7.39 Dueling Banjos Animation Google SketchUp and MMD
  • Happy Birthday Miku (16 Again) … Miku’s Birthday Intro to MikuMikuDance
  • Using The Floor Light Art Effect in MMD. ARIZONA
  • Be a responsible MMDer … “Keep the Faith!” Welcome to LearnMMD.Com!
  • PMXEditor Quickly Edits MMD Model using Downloaded Parts BigPerryman
  • Beautiful CyberMiku Black ver1.5 has wings!
    Download MMD CyberMiku Black ver1.5 with Glowing Wings and an attitude! "the making of" my video

Copyright © 2022 Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software and Instructions..

Powered by PressBook Premium theme

Go to mobile version