Home Creators Posts Import Register Favorites Logout

Content

*This article is a translation of an article I published on Pixiv Fanbox on May 31, 2022.

https://youtu.be/mRPSVKZlLw4

I am a genius!? (nth time praising myself)

For perhaps the first time in history (sorry if this is not the case), a Live2D model incorporating the refraction of eyeglass lenses has been created.

We are sure that those genuine eyeglass lovers who were shocked to see our progress so far and think "Kanbutsu Himono doesn't have any eyeglasses !!! I'm sure that the glasses lovers who were shocked to see the progress so far will be satisfied with the result. !!!

There are still some parts that are missing, such as the reflection of the lenses and the vines of the glasses, but I am so happy to have successfully expressed the reflection and refraction of the rims and lenses that I wanted to show them off, so I updated the article!

As always, I'd like to briefly explain some of the innovations we've made!

◆Ingenuity 1: The design of the glasses is too good.

To begin with, have you noticed the new design of the glasses!

If you have been following our new model progress articles from the beginning, you know that I initially planned to make the same gold & tortoiseshell patterned glasses that we had been wearing.

However, the design of the new costume we requested from the professionals was so cool, stylish, and awesome that glasses with a universal design inevitably stood out when matched with it, so we thought, "Then let's try something different for the glasses!

The color was changed to a black rim with a strong impact that accentuates the eyes.

And!!! After all,!!!

This part:!!!!!!Isn't it so cute !!!!!

When I was thinking, "I want to incorporate a design that looks like teardrop glasses, but it just doesn't seem right," an idea occurred to me. "Wouldn't it be cute if I made it look like a fish tail?

I told this to the designer, and he incorporated it in the best possible way.

This article will be the first pre-release of the glasses design.

We intend to release it to the public soon, so until then, please do not tell us about the design of the glasses 🤭.

◆Ingenuity #2: Lens refraction

I had already posted the photo below on Twitter, but I'm glad to see that a lot of modelers have responded, "How do you refract the lens? I am very grateful for the response.

You are probably thinking, "I could do it by force using clipping or something, but...," and that is correct.

First, create an art mesh for the mask that surrounds the glasses like this.

The border with the rim of the glasses should be copied and pasted from the rim art mesh, glued together, and the weight of the rim side should be 100.

https://youtu.be/HPy_39fRbQM

This way, when the model's face is moved, the border of the mask will follow on its own.

It looks surreal.

The art mesh for the mask should be set to 0% opacity.

I will explain later why the art mesh is shaped "around the lens" instead of "inside the lens.

Next, I duplicated the art mesh in the area touching the lens, including the deformer and glue, and combined them all into a single rotated deformer. This was the hardest part because the clippings were a mess and needed to be reorganized, and copying and pasting all at once made the editor deathly slow.

It is quite tedious, but I think I can manage it by naming all the refraction objects "(for glasses)" so as not to confuse them with the normal ones....

For naming, the "Find and Replace" that comes up with ctrl+F is very useful.

Once you manage to copy and paste, you can then put the art mesh that surrounds the lens you just copied into the clipping box of the copied art mesh and check the "Invert Mask" box…

https://youtu.be/H2wr6n6Ing8

Oh my goodness! Now only the inside of the lens can move freely!

The reason why I used mask inversion is because Live2D's specifications do not allow clipping under special conditions such as "clipping and mask inversion together" or "clipping only where two art mesh meshes overlap".

(I heard it is called "and condition" or "nor condition" in scientific terms, but I have no knowledge about it, so I am sorry I can't explain it well...)

As I mentioned in the previous explanation of the hair, the inner color is clipped to the sides of the back of the hair,

If  want to keep the clipping of the inner color on the sides of the back of the hair and clipping only inside the lens,

It's a pain in the ass, but the only way to do it is to create art meshes for each other's inverted masks, and then put them both in the clipping field to invert the masks.

If also display the art mesh for lens mask inversion as shown earlier, it will look like this. Now only the inside of the blue frame will be clipped. I think this is called "nor condition" in scientific terms.

I heard that the special Cubism Editor used by the Live2D designer team at the Live2D headquarters can change the clipping conditions in various ways, but unfortunately, the Editor used by us modelers is still unimplemented in 4.2, so it is worth remembering this mask inversion as a stopgap measure.

The story is long, but once this is done, the magnification of the rotational deformer is reduced to "98%".

Then, all  have to do is move it slightly to express refraction when facing up, down, left, or right.

https://youtu.be/fZcX3f17pDI

★Here's a little story about lenses

If you actually wear glasses, you probably somehow know that "the inside of the lens looks smaller for near vision glasses" and "the inside of the lens looks larger for far vision glasses". I initially thought of denting the inside of the lens without thinking anything of it, but when I actually tried taking a selfie wearing the glasses before that, I was surprised to find that when I turned my head to the side, the outline of the object inside the lens sometimes appeared to protrude.

I was like, "I don't know why it works that way, but it looked that way, so let's try to implement it anyway.

↓* When facing diagonally, it is concave.

didn't really understand the difference between "when they protrude" and "when they concave," but an expert on Twitter gave me some great advice: "I heard that concave lenses used for myopia appear to shrink "toward the center of the lens," so when the entity is inside the center of the lens, it appears to protrude outward. I received this advice.

To illustrate this in an easy-to-understand diagram, the inside of a lens for myopia looks smaller toward the center of the lens, as shown here. (The figure is extreme to make it easier to understand.)

And when the face is turned broadly to the side, the contour line is inside the center of the lens, which in turn pulls it toward the center and makes it appear to protrude.

This may be a well-known fact to eyeglass lovers, but I had never heard of it before, so it was an eye-opener for me. I'm one wiser now!

which reminds me …

You can see that the first image is at an angle that actually still looks concave because the entity (outline) is outside of the center point.

I fixed that as fast as I could, and this was the header (header for the fan box).

As I have mentioned before, I plan to move this model to at least 90 degrees sideways, so when I add more range of motion, I would like to add a protruding process to make it more realistic.

In addition, this time the left and right lens interiors are managed with a single rotational deformer, but in reality, it would be more precise to separate the left and right lenses. However, if we had done that, no matter how many clipping frames we had, it would not have been enough, so this time we gave priority to the refraction of the outer eye, where the changes are easier to see.

There are many other things I've worked on, such as rim thickness and reflected light, but this is going to be a long article, so I'll save the rest for next time!

Incidentally, if we eliminate "rim thickness," "reflected light," and "falling shadow of glasses," which we will discuss next time, it will look like this.

Suddenly, the flatness of the lens seems to have increased, or rather, the thickness of the lens seems to have disappeared.

So not only lens refraction, but also the part I will discuss next time, is a very important process to give glasses a realistic look!

Well, that's it for this issue!

Comments

No comments found for this post.