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
  • New MMD ACCESSORY MODE allows Easy Object Positioning Accessory Manipulation/Adjust
  • MMD The Zombie Song meme
    I’d never eat your brain – The Zombie Song download links "the making of" my video
  • MikuMikuDance Links and Resources MMD Tutorials
  • MMDers Audacity Tutorial Video is on YouTube! Making Soundtracks
  • Adjusting the Physical Operation Tab settings in MMD 9.10 Functions-Copy-Paste-Expand
  • Show the Love: Melanie’s “Ring Around the Moon” CONTESTS
  • RAY-MMD demonstration featuring texture and environmental lighting MME Effects Tutorials
  • Extreme S Curve 02.
    Using the Interpolation Curve in MikuMikuDance. ARIZONA

RAY-MMD: Creating your own custom sky box

Posted on April 21, 2019May 24, 2019 By Trackdancer 10 Comments on RAY-MMD: Creating your own custom sky box

Create your own Raycast Ray-MMD custom sky box... a custom skybox that will be just right for your custom MMD project!

A feature article on LearnMMD by Trackdancer2015!RAY-MMD comes with a nice set of ready to use sky boxes, but did you know you can create your own?

RAY-MMD: Creating your own custom sky box

But before we get to the “how to“, let me briefly explain “why” you would want to do this. The answer simply is Editor’s Note: LearnMMD has several Ray-MMD and Raycast tutorials... some are more “learned” than others but you might review each of them so as to get of the tips and ideas they offer as you learn from the experiences of the various authors. CLICK this box to see them all.because custom RAY-MMD skyboxes are “special“; each comes with their own set of controls that allows you to specify how the lighting environment under the sky box behaves. Being able to create and use your own custom Ray-MMD sky box can really help add that extra “something” to your project.

The work around to not creating a custom sky box is to use either the Sky Hemisphere or the Sky Night sky boxes to set up the lighting environment and then load another skybox of your choosing on top of that. It works but the method is cumbersome and in some ways, redundant; why use two sky boxes to do the work of one?

Well you don’t have to, since RAY-MMD comes with the tools to create your own and it is actually very easy to do.

DO THIS FIRST

Look in the “Tools” folder under the main RAY-MMD folder and find a file called: cmft_rgbt_x1024.zip

Expand/unzip this file in the same folder; this will produce several additional files and a new folder named “Template“. The contents are as shown in the image below.

Contents of the Tools folder inside Ray-MMD... custom sky box... skybox

YOU’RE GOING TO NEED A HDR IMAGE FILE

An HDR image file is a High-Dynamic Range image of, in our case, a “sky”. So, you’re probably wondering where you’re going to get one of these. Fortunately, these are not as hard to find as you might think, and in fact, you can easily get some really great ones for free!

Just go here: https://aokcub.net/cg/incskies/#download

There are plenty of choices on this site, so choose any that you like. What you will want to download, however, is a HDR16 or HDR8 version of the sky that piques your interest. We are going to grab ++skies; 013.

These HDR images are heavy duty files, especially once expanded and can take awhile to download on a slow Internet connection.

In any case, once your download is complete just drag out the HDR file into the “Tools” folder as shown below; the rest of the contents of the zip package are not needed. In our example the file is: incskies_013_16k.hdr

MAKING THE CONVERSION

The next step is really easy if you follow the exact steps detailed below:

  1. Rename your hdr file: skybox.hdr
  2. Next DRAG it on to one of the cmft application files; specifically, select the skybox.hdr file and drop it on top of the cmft file.
  3. This will open up a new DOS window and the conversion will begin. Just let the app run through the steps required; do not interrupt the process. This could take awhile depending on the speed of your computer and the size of the hdr file.

When the process starts you will get a line reading: “CMFT Info: Converting latlong image to cubemap.” Then it will seemingly stop for awhile as the process does background work, then it will begin to start reporting what it is doing. When the process is over it will report that it is “Done”. Then the app closes the window automatically.

Let this entire process run without interruptions!

The process will create three new dds files:

  • skyspec_hdr.dds
  • skydiff_hdr.dds
  • skybox.dss

As for which CMFT app file to use, that depends on what type of sky box you want to create. There are six options:

  • cmft_x86_medium_rgbt
  • cmft_x86_high_rgbt
  • cmft_x86_fast_rgbt
  • cmft_x64_medium_rgbt
  • cmft_x64_high_rgbt
  • cmft_x64_fast_rgbt

If you are using a 64-bit, high spec computer and a HDR16 image, go with one of the x64 options. If you have an older PC or using a HDR8 image, try using one of the x86 options. If your PC cannot support the app functionality, the app will close automatically and do nothing, so just choose another option.

The difference between medium, high and fast is the resolution; for most purposes “fast” is good enough.

Once the conversion is complete you can safely (and should) delete all of the files in the Tools folder except:

  • The two original zip files that were in this folder
  • The “Template” folder
  • The 3 new .dds files

As can be seen in the screen grabs included, hi-resolution HDR files can be huge so there is no sense keeping them since you will never use again.

To complete the conversion cut/paste or move all three .dds files into the “texture” folder inside the “Template” folder.

FINAL STEP

Move the entire “Template” folder into the Ray-MMD sky boxfolder. Rename this folder using whatever name you want. We renamed ours: incskies_013.

Your new sky box is now ready for use in MMD, so open that program and load the new sky box. You should be able to see your new custom sky box if you carried out the steps above successfully.

Note that you will have to repeat this entire sequence for each custom sky box you want to create.

Your new Ray-MMD custom sky box is now ready for use in MikuMikuDance MMD.
CLICK ON IMAGE TO VIEW FULL SCREEN

USING YOUR NEW CUSTOM SKYBOX

Your new custom Ray-MMD sky box, like the other sky boxes supplied with this effect, offers special functions. First of all, you will have slider controls that are used to specify the lighting environment. These are basically the same as those provided with the standard Ray-MMD sky boxes and so will not be discussed here as I have covered these in my other tutorials in this series. However, a few functions need to be enabled before the sliders have any effect and these are detailed below.

When you first load the custom sky box, by default it will be configured with Sky with box.fx under the Main tab in the MME panel and material_skybox.fx under the materials tab. These will suffice in most situations.

To enable the lighting functions you must apply, as standard, Sky with lighting.fx to the sky box under the EnvLightMap tab. However, you have other options and these are explained below:

Options for the Main tab:

  • Sky with box – default.
  • Sky with box blur – use this if you want to blur the sky texture.
  • Sky with box with rotation – use this if you want to be able to rotate the sky box; if used, the controls for these are under the facial controls that normally controls a model’s mouth facials. You will be able to rotate the sky box on all three axis.
  • Sky with box blur with rotation – if you want to blur the sky texture and rotate the sky box, use this option. Honestly, this is fairly useless.
  • Sky with dome – don’t use.
  • Sky with dome with rotation – don’t use.

Options for the EnvLightMap tab:

  • Sky with lighting – use this one by default.
  • Sky with lighting fast – used for fast calculations. This one is situational; if you know what you’re doing, go ahead and try it.
  • Sky with lighting with rotation – this option allows you to tweak the lighting direction independently of the global lighting direction. This functionality is extremely useful and was used to help tweak the lighting in the final image below. Likewise the controls for these functions are found under the mouth facial grouping.

In case you have problems finding these .fx files, they can be found in the same folder as your custom sky box.

IS IT WORTH MAKING YOUR OWN CUSTOM SKY BOXES?

The standard sky boxes that comes with the Ray-MMD are all very good and you can just use them for all your projects. However, for advanced users of this effect, probably this is something that you will eventually want to do. So the answer to the question is a definitive “yes“.

The final image in this article used a custom sky box created from the HDR16 graphic mentioned above and if you expand the image below, you will understand why I am making an argument in favor of going this extra “mile”.

CAUTIONARY NOTE: Custom sky boxes behave a little different from the standard ones and getting the lighting environment configured properly can be quite a challenge.

I highly recommend that you do not try going this route unless you have at least some familiarity with using the standard sky boxes as well a good understanding of how to use the Ray-MMD effect.

The image below, for example, required extensive tweaking including the need to use a fill light. If you are familiar with the Ray-MMD effect, it is well worth the extra effort, but for a beginner, using a custom sky box could be a big challenge.

Enjoy your beautiful custom sky box... custom skybox.
CLICK ON IMAGE TO VIEW FULL SCREEN

CREDITS

  • Fairy Miku – TDA, edit by Skary66
  • ++incskies – aokcub
  • Mountain stream stage – Yamado
  • MMD 9.31
  • Ray-MMD 1.5.0
  • Irfanview
  • Miku Hatsune © Crypton Future Media, Inc.

 


– SEE BELOW for MORE MMD TUTORIALS…


— — —


– _ — –


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

More MMD Tutorials...

Ray-MMD environment controls create MMD dreamscape

Ray-MMD Nocturne... Ray-MMD environment controls create MMD dreamscape... One of the wonderful things about Ray-MMD is its ...read more

MMD Fill Lights Part 2 - (Ray-MMD)

MMD Fill Lights Part 2 - (Ray-MMD) Welcome back if you've read Part 1 of this ...read more

Ray-MMD Godrays... argggh!!!

Godrays created by Ray-MMD are awesome but they come at a price. Wherein, they're not ...read more

Ray-MMD Demonstration "Battle stations ... all hands on deck!!!"

This article will be a quick short one. Since there is a plethora of KanColle ...read more

Ray-MMD Shading Mech Girls brings those beauties to life!

Ray-MMD Shading Mech Girls... ... A Petite Kawaii Mech Girl Japanese anime have a lot of franchises to ...read more

RAY-MMD Technique: of Battleships and Fleet Girls

A couple of days ago, a fan of the Prinz Eugen character from the Azur ...read more

MMD Tutorials, Raycast Ray-MMD, Trackdancer2015

Post navigation

Previous Post: MMPlus, a New MMD Plugin!
Next Post: No need to “re-download” again and again…

Related Posts

  • MMD Lip-sync is fun to do... just do it!
    MMD Lip-sync is fun to do… just do it! Animation Shortcuts
  • Reggie's Adoration of FIVE MMD Models
    Reggie’s ADORATION of FIVE MMD Models -Downloads and Instructions "the making of" my video
  • Value of saved poses.
    Saved Poses get your MMD Animation Started! Animation Shortcuts
  • Rendering in 4K video at 60FPS with MMD 4k video
  • Quick-Start Basics of MMD to get you started! GloriaTheAnimator
  • How to fix a model with missing textures Fixing Broken Models

More Related Articles

Translate PMX models to English using a PMX editor Fixing Broken Models
How To Add Depth and Emotion in an MMD Picture Advanced Shader Technique
966_DigitalRipple Effect splashes lots of color into your MMD video! 966_DigitalRipple
My Top 6 Favorite Shader Effects for MikuMikuDance GloriaTheAnimator
How To Make Global Lighting Work with Game-Rips Fixing Broken Models
New Reggie’s Evil Eye demo video posted to YouTube "the making of" my video

Comments (10) on “RAY-MMD: Creating your own custom sky box”

  1. Dilriad Ailriadh Ceirdonghaidh says:
    April 3, 2020 at 1:13 pm

    Please tell me to enlarge the finished pmx custom skybox
    https://i.ibb.co/PYQs1bB/Genious-Trackdancer-and-learnmmd-com.png

    Reply
    1. KillerBeer says:
      April 4, 2020 at 5:15 am

      How to resize PMD models (and what to do when they don’t)

      Reply
      1. Dilriad Ailriadh Ceirdonghaidh says:
        April 5, 2020 at 5:42 pm

        Thanks. Can you also please tell me how to attach a normalmap to a material, in PMX Editor?

        Reply
        1. KillerBeer says:
          April 6, 2020 at 12:40 am

          For that, you’ll have to wait for the author to answer. :D

          Reply
  2. Dilriad Ailriadh Ceirdonghaidh says:
    April 2, 2020 at 4:17 am

    Hello there, I am a Brownie. Is there a way to enlarge the finished skybox? Thank you… …

    Reply
  3. Sebastian says:
    March 14, 2020 at 6:58 pm

    Ray-MMD 1.5.0 – 11.1.2018.
    Ray-MMD 1.5.2 – 13.3.2018.

    Reply
  4. King says:
    December 3, 2019 at 9:01 pm

    Hi , umm i just wanted to ask … why cant i load my skoybox ..i think u need the pmx thingy example on the HelipadGoldenHour you wll have a pmx file which is “sky with box”…my main question is how you can make a skybox to a pmx file?

    Reply
  5. Leah says:
    June 18, 2019 at 12:44 pm

    I have a question. I am using Ray 1.5.2, I will load a skybox so I can be able to apply Ray to my models. I want to use a background photo, but if I remove the skybox to allow the background photo to be on display, my model’s face would disappear. Is there a way to bring the background photo above the skybox or is there a way to make background photos into skyboxes?

    Reply
    1. bandages says:
      June 19, 2019 at 9:25 am

      Hi Leah. You need a special kind of picture to make a skybox, because it needs to represent all angles– to form a sort of sphere around the world. If you want to use a background image in Raycast, what I would do is create a simple plane model in PMXE, textured with that image, then Outside Parent both it and the camera to a dummy bone to keep it oriented with the camera.

      You could try using the instructions here to turn your background image into a skybox, but it won’t really be right. I’d recommend squashing your image into a new image so that it becomes a 12th of the horizontal space (the rest could be black) and about a 3rd of the vertical space. That would give you an aspect about appropriate for a FoV of 30 degrees, with a 16:9 aspect.

      Reply
      1. Leah says:
        June 19, 2019 at 3:12 pm

        Ok thank you. I mostly wanted to have my models using Ray and I added a regular background behind them, but that would ruin the Ray on my model. Especially when I uncheck the skybox display option. Thanks for the advice.

        Reply

Leave a Reply Cancel reply

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

SEARCH LearnMMD.com
Click the Magnifying Glass at the top of the page to SEARCH LearnMMD.com
- Download the latest version of MMD MikuMikuDance!Step-by-step instructions to help you make an MMD Music Video! bo-beep-bo-beep! LearnMMD's Step-by-Step MMD instructions for MikuMikuDance! Learn to make your own motions in MMD!

Have fun with MikuMikuDance!

  • How to make multi-part videos in MikuMikuDance Animation Shortcuts
  • Make MMD Model Hands from scratch in Blender Blender
  • Learn How to Navigate Japanese MikuMikuDance Pages Downloading New Models
  • The SSAO effect adds depth of color and shadows for greater realism! MME MMD 7.39
    Playing with MME – Using MORE cool MikuMikuEffects! Nuts & Bolts
  • How to use Raycast MMD MME Shader Effect Advanced Shader Technique
  • Posing MMD Models Using Reference Images Animation Shortcuts
  • My new “Ring Around the Moon” MMD video is on YouTube "the making of" my video
  • The MMD Pity Partry motion is free to download!
    MiyukiOhayashi’s Pity Party motion download includes WAV "the making of" my video
See LearnMMD's write-up on how to be a GOOD MMDer... Keep the Faith-MMD!!
Keep the Faith-MMD... Learn how to be a GOOD MMDer!

Find out about writing for LearnMMD!

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

Powered by PressBook Premium theme

Go to mobile version