Status Update / Devlog about CryptoCompany CEO | Sort of Devlog #4

devlog0004.png

lodge-01-2048x2048-01-opt.png

I wanted to write something down briefly. You can call it a tutorial or a how-to, an insight into my work or a working instruction that I can give to the next 3D contributor at the game @cryptocompany. ;-)

I like to show you how to build windows in buildings with Blender 3.1. (Download for free) And when you think about, you learn more stuff, than just windows. Get creative! Without much talking:

The plan: windows in a wall. Including window frame and window cross.

The first picture shows the result, but also directly the procedure:

image.png



A wall with windows. It quickly becomes obvious: the window frames are a deformed cylinder and make a hole in the wall via Boolean modifier. Copy this window sill block (brown), scale it down a bit and there is another block (gray) available to cut the hole in the window frame, also per Boolean Modifier. This gray block can be pushed together directly at the end, give glass as material and the window is ready. Not quite!

I have outlined the edges of the resulting glass in the picture. Do you see the "error"? What is slightly "reflected" there is the edge of the pane. Because: the pane is exactly on the frame. And not a single millimeter in the frame. Somit sagt mir der Renderer "Hey, ich habe hier eine Glaskante, die mache ich Dir mal hübsch. Was aber am Ende zu Quatsch führt. Worse still later in the game:

So there are now two surfaces, yes, on top of each other, as exact as can be. Nevertheless, through this slit, under unfavorable conditions, the shadow cast could show a narrow slit of light. This not only looks not very funny, but also has a really weird effect. This can be prevented by pushing the objects slightly into each other - even if it is only a fraction of a millimeter. Already the wall is slightly in the frame and also the window in it - without "gap" in between.

Step by Step:

1: Create a wall (20 centimeters thick on the X axis).
2: Make a cylinder (brown, 30 centimeters thick on the X axis) protrude through the wall and shape it as desired.
3: Give the wall a Boolean modifier, select the brown cylinder as a stamp and apply it directly.
4: Duplicate the brown cylinder and scale it down a bit on the Y and Z axis. Scale up X, give gray/different material for clarity - as in the picture, this gray block must pierce the brown block on both sides.
5: Give the brown cylinder a Boolean modifier. Take the gray cylinder as stamp object and apply it directly as well.

Now everything is cut. Now a few things need to be scaled properly. On the one hand:

6: Scale the gray cylinder on the X axis to 2 centimeters.
7: Now swap the gray to a glass material and it looks done.

However, as mentioned above, it is not. We still need to put the wall and the window sheath into the frame. To do this:

8: Take a frontal view. (Do you know the number function on your Num-Pad?).

image.png

Let's start with the windows at the bottom left. There is already a window cross integrated here - but don't let that irritate you. The windows below are created exactly like the windows above.

image.png

On the left window you can see how we need it. The right window is not yet properly interlocked. Can you see the difference? On the left, you can clearly see how the intersecting edges of the wall, the window border and the window inside it do NOT overlap, but are pushed into each other.

image.png

The window frame at the bottom left, marked in orange. You can see it well: from the outside the wall protrudes into the frame, from the inside the glass pane protrudes into the frame. This is how it should be in the end. You can also see that the pivot point is in the middle of the frame - this is important for the following scaling. If the pivot point is anywhere, now center it on the mass or surface of your window frame.

9: Select the window frame and scale it up on the Z and Y axis. (Tip: normalize the scale to 1 beforehand; then you can set precise steps instead of making pi times eye). In our example, a scale of 1.01 is sufficient.

image.png

As soon as you have scaled up the frame a bit, what happens? Correct, the pane becomes too small. (You could have scaled only the outer vertices, then the inner diameter would have remained the same. But since the glass has to be scaled as well, the way to do it with less clicks is to scale the complete object right away).

image.png

I wanted to highlight that the slice is now too small at (normalized) Scale 1 - see at the highlighting.

image.png

Scale 1.02 to Y and Z push the edges into the frame. 1.01 would be too little - because then the edges would sit exactly on the frame as at the beginning, but not in it.

It's basically done now. But this is where optimization for computer games begins. If an object (our wall, windowsill, window) is visible on the player's screen, it must be calculated. If we disregard special techniques, the complete object with all its surfaces is always rendered, even if only a small part of it is visible.

This circumstance is very important for the modeling and compilation of game worlds and interacts with other factors. For example, sometimes you might want to save individual objects together as one object, or keep the objects in the game individually. Everything would have its reasons, benefits, associated opportunities, pros and cons.

In our case, however, one thing is clear: the surfaces of the wall or pane that now protrude into the window border can be deleted. Simply to reduce the areas that need to be rendered. This is one technique (of many) to consider when aiming for the best possible performance.

image.png

I moved my perspective slightly, went into edit mode, activated the surface selection, selected all surfaces that are completely in the frame and now: Delete surfaces (X on your keyboard).

We now repeat the same for the faces of the wall, which have now disappeared in the window frame. Grid view, select surfaces, delete:

image.png

For best performance there are many other factors, not only the number of surfaces. The number and complexity of objects or their meshes is also a factor, glass is generally not a performance booster because you have to render a pixel multiple times in a bad case when you view thru. And sometimes not just once, but 2, 3, 4, or five times. But before we write down a complete course "what you should consider when designing 3D for your game", I'll end the tutorial here.

Bonus task to think about:

You've basically already learned how to add a window cross here. A square cylinder, thicker than the window itself. Of course, again without surface at the beginning and end of the rods, since these areas are hidden in other components.

Why single cylinders, instead of struts modeled out of the frame? Could have been done, but since all surfaces have to be triangulated cleanly for export, the object would have ended up with more surfaces instead of me just "sticking" a cylinder in there. Try it out, test, compare and think about what you are doing. That's how you develop! And someday you will make your own computer game?

Any interest in another How-To? Was that interesting for you? Would you have thought that it would work like that?

Any questions? Please post your questions, ideas and comments below or contact me via Discord, username powerpaul! I'm looking forward to!


Greetings from Paraguay!

Follow for the hottest stuff!
Please do me a favor and share this with your friends.
(This is so important that I have highlighted it in red. That means something!)

Rock n' Roll!


My articles, younger than 7 days:

Devlog at @powerpaul:

Status Update / Devlog [ENG/DEU] about CryptoCompany CEO | Sort of Devlog #3
CryptoCompany CEO at @flexnet

Weekly DELEGATION PAYOUT REPORT | Data for your HP delegation to CryptoCompany CEO / Calendar Week 31 2023
CryptoCompany CEO at @flexnet

Detailed data for the CCPower calculation by CryptoCompany CEO / Calendar Week 30 2023
Devlog at @powerpaul:

Status Update / Devlog [ENG/DEU] about CryptoCompany CEO | Sort of Devlog #2
My free time

The Hive Bike is born! | Hit it on the race track!

Devlogs older than 7 days:

Status Update / Devlog [ENG/DEU] about CryptoCompany CEO | Sort of Devlog #1
Discussion, Background Information & Insider Knowledge | FOLLOW NOW! | Sort of Devlog #0


0
0
0.000
46 comments
avatar

Awesome devlog !PIMP


Posted via pimp.media

0
0
0.000
avatar

Buddy... don't fool me! ;-)

<3

!hiqvote

0
0
0.000
avatar

Not at all, I mean it your progress is amazing !PIMP

0
0
0.000
avatar

Okay. Accepted. I feel myself to slow normally...

Thank you buddy!

0
0
0.000
avatar

WITCHCRAFT!!!!!
!ALIVE

0
0
0.000
avatar

@powerpaul! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @sylmarill. (3/10)

The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want, plus you can win Hive Power and Alive Power delegations and Ecency Points in our chat every day.

0
0
0.000
avatar

Yes! And of course there are some occult spaces in every good old university lodge or what! How else to cheat on the way to the "Master of Cryptoverse"?

0
0
0.000
avatar

The house look amazing !lolz !ALIVE !PGM

0
0
0.000
avatar

@powerpaul! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @memess. (1/10)

The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want, plus you can win Hive Power and Alive Power delegations and Ecency Points in our chat every day.

0
0
0.000
avatar

Sent 0.1 PGM - 0.1 LVL- 1 STARBITS - 0.05 DEC - 1 SBT - 0.1 THG - 0.000001 SQM - 0.1 BUDS - 0.01 WOO - 0.005 SCRAP tokens

remaining commands 1

BUY AND STAKE THE PGM TO SEND A LOT OF TOKENS!

The tokens that the command sends are: 0.1 PGM-0.1 LVL-0.1 THGAMING-0.05 DEC-15 SBT-1 STARBITS-[0.00000001 BTC (SWAP.BTC) only if you have 2500 PGM in stake or more ]

5000 PGM IN STAKE = 2x rewards!

image.png
Discord image.png

Support the curation account @ pgm-curator with a delegation 10 HP - 50 HP - 100 HP - 500 HP - 1000 HP

Get potential votes from @ pgm-curator by paying in PGM, here is a guide

I'm a bot, if you want a hand ask @ zottone444


0
0
0.000
avatar

Thank you. The whole university campus will be in this style. So the scenery will be one of these old, established universities. I like the building, too. But this building should be the most basic lodge on the campus. A basic, simple start, maybe solid.

Greetings!

0
0
0.000
avatar

if the whole university look like that i'll enjoy being a students, fr this game will be a lot better than some of p2e and none p2e game

0
0
0.000
avatar

Thank you! Relaxing that you like it! One of the next steps (in the university area) is to build the university. I look forward to!

Is there something special you like to see/experience?

Stay tuned!

0
0
0.000
avatar

Is there something special you like to see/experience?

The whole game hehe, but this will comme a bit later right ?
If i have to chose i might want to see the character.
More the oppening of the game is near more i'm hyped about it.

!sloth !PIZZA !PGM !lolz !bbh

0
0
0.000
avatar

Sent 0.1 PGM - 0.1 LVL- 1 STARBITS - 0.05 DEC - 1 SBT - 0.1 THG - 0.000001 SQM - 0.1 BUDS - 0.01 WOO - 0.005 SCRAP tokens

remaining commands 1

BUY AND STAKE THE PGM TO SEND A LOT OF TOKENS!

The tokens that the command sends are: 0.1 PGM-0.1 LVL-0.1 THGAMING-0.05 DEC-15 SBT-1 STARBITS-[0.00000001 BTC (SWAP.BTC) only if you have 2500 PGM in stake or more ]

5000 PGM IN STAKE = 2x rewards!

image.png
Discord image.png

Support the curation account @ pgm-curator with a delegation 10 HP - 50 HP - 100 HP - 500 HP - 1000 HP

Get potential votes from @ pgm-curator by paying in PGM, here is a guide

I'm a bot, if you want a hand ask @ zottone444


0
0
0.000
avatar

cryptocompany-ceo-zufahrt_character.gif

You said two of three magic opening words! "character" and "opening"! You get both! Kind of. Our lovely @solymi send me something a few hours ago. Solymi plays around with first moving images... This is not finished material, but your buzz words brought me this gif into mind.

(Wait for more arranged stuff later - this clip is pretty lame. Just a camera swipe...)
0
0
0.000
avatar

clip is pretty lame

still showing the beauty of the world of taka-token

0
0
0.000
avatar

You are really rocking with these devlogs! Keep up the good work!

0
0
0.000
avatar

Really? @dynamicrypto said the same... I don't know. Let me try to make this on a regular basis and improve the hard content and a entertaining way to present this, as possible.

I really welcome that you guys like it! Let me improve it! It will grow, I think.

Thank you guys!

0
0
0.000
avatar

!ALIVE
!VSC
!PGM

0
0
0.000
avatar

@oscarps has sent VSC to @powerpaul

This post was rewarded with 0.1 VSC to support your work.
Join our photography communityVisual Shots
Check here to view or trade VSC Tokens
Be part of our Curation Trail


@oscarps ha enviado VSC a @powerpaul

Éste post fue recompensado con 0.1 VSC para apoyar tu trabajo.
Únete a nuestra comunidad de fotografía Visual Shots
Consulte aquí para ver o intercambiar VSC Tokens
Se parte de nuestro Trail de Curación


Uses: 1/10

0
0
0.000
avatar

@powerpaul! You Are Alive so I just staked 0.1 $ALIVE to your account on behalf of @oscarps. (1/10)

The tip has been paid for by the We Are Alive Tribe through the earnings on @alive.chat, feel free to swing by our daily chat any time you want, plus you can win Hive Power and Alive Power delegations and Ecency Points in our chat every day.

0
0
0.000
avatar

Sent 0.1 PGM - 0.1 LVL- 1 STARBITS - 0.05 DEC - 1 SBT - 0.1 THG - 0.000001 SQM - 0.1 BUDS - 0.01 WOO - 0.005 SCRAP tokens

remaining commands 4

BUY AND STAKE THE PGM TO SEND A LOT OF TOKENS!

The tokens that the command sends are: 0.1 PGM-0.1 LVL-0.1 THGAMING-0.05 DEC-15 SBT-1 STARBITS-[0.00000001 BTC (SWAP.BTC) only if you have 2500 PGM in stake or more ]

5000 PGM IN STAKE = 2x rewards!

image.png
Discord image.png

Support the curation account @ pgm-curator with a delegation 10 HP - 50 HP - 100 HP - 500 HP - 1000 HP

Get potential votes from @ pgm-curator by paying in PGM, here is a guide

I'm a bot, if you want a hand ask @ zottone444


0
0
0.000
avatar

!hiqvote

0
0
0.000
avatar

@powerpaul, the HiQ Smart Bot has recognized your request (1/3) but the mana is too low. Try again later.

As a consolation, @powerpaul gets !HUG from @hiq.redaktion.

For further questions, check out https://hiq-hive.com or join our Discord. And don't forget to vote HiQs fucking Witness! 😻

0
0
0.000
avatar

@hiq.smartbot, sorry!

You are out of hugs for today.

You can call the HUG bot a maximum of 2 per day.

The current call limits are:

HUG in walletcalls per day
01
12
103
0
0
0.000