Hi! If there any Ai that could create engineering drawing / blueprint of anything you like just from description?
Hi! If there any Ai that could create engineering drawing / blueprint of anything you like just from description?
Рефлексия в Unreal Engine или как движок знает о вашем коде всё
UHT сгенерировал 4294 строки кода из одного моего заголовочного файла. Имена свойств, смещения в памяти, флаги сериализации, exec thunks для каждой функции - всё, чтобы движок в runtime знал о классе то, что C++ забывает после компиляции. Это третья и последняя статья в серии про внутренности Unreal Engine: K2Node → Blueprint VM → рефлексия. Разбираем, что внутри этих четырёх тысяч строк, зачем каждая из них, и как ими пользуются Details panel, GC, репликация и сама Blueprint VM.
It's been a while since I've posted anything useful about Unreal Engine blueprints. Here's a quick rundown of how to move objects in a flow.
https://www.youtube.com/watch?v=50NZeD_aTJE
#UnrealEngine #UE5 #gamedev #indiedev #programming #UnrealEngine5 #code #blueprint

ProcessEvent на стероидах: сериализуемые вызовы функций в UE5 или как я готовлю материал для статей
В предыдущих двух статьях я разбирал K2Node - как устроены ноды Blueprint изнутри - и Blueprint VM : байткод, опкоды, стековую машину. Следующая на очереди - Reflection: UClass, UFunction, FProperty и вся система метаданных, на которой стоит движок. Готовясь к ней, я решил, что лучше всего разобраться в теме поможет практика. И тут подвернулся юзкейс: мне нужен был способ сконфигурировать вызов произвольной функции в редакторе и выполнить его в рантайме. Без хардкода, без кодогенерации, без десятка одинаковых обёрток. Так появился FunctionHandler - плагин для UE 5.6, в котором пригодилось всё, о чём я писал раньше: CustomThunk'и, ExpandNode, работа с FFrame и MostRecentProperty. Эта статья - про то, как всё сошлось в одном плагине, какие решения сработали, и на какие грабли я наступал.
https://habr.com/ru/articles/1010256/
#Кейс #Unreal_Engine #Unreal_Engine_5 #Программирование #C++ #Blueprint #StateTree #ProcessEvent #плагин

В предыдущих двух статьях я разбирал K2Node - как устроены ноды Blueprint изнутри - и Blueprint VM : байткод, опкоды, стековую машину. Следующая на очереди про рефлексию: UClass, UFunction, FProperty...
"A bucket list requires a blueprint. You can’t just hope to succeed. You need to engineer the outcome." - Futurist Jim Carroll
Ok, I'm back to my spinal recovery thing, but I'm damned excited!
You don't often get these tee times in your account!
April.
Old Course, St. Andrews.
And so with that, it was 'rotation day' yesterday!
What is 'rotation day'? It's the first day of exercises designed specifically to get my previously injured spine ready for the mechanics of the golf swing.
I've done the cardio. I've done the work to get the core back in shape. I'm doing the heavy lifting. I've put in the work. Here's 30 days of effort. I don't do this to brag; I share it to say, "I've put in the work."
(The workouts include walking - if I exclude that, I still had 28 solid days at the gym out of the last 30).
Rotation day involves doing a series of exercises that twist your body, torso, and spine.
All the things you couldn't and shouldn't do in the early stages of an L1 to L3 spinal fracture.
As I was doing this routine yesterday, I kept reminding myself that to make a bucket list item work, you've got to put in the work. I can't hope to show up in early April, swing a golf club after this situation, and expect a great round. I've got to put to work the muscles that were not put to work, and some of which were battered and bruised in the fall, to work.
On April 6, I'll tee off at the Old Course.
Pure bucket list.
You can't get to a bucket list if the potential for the bucket has been interrupted by circumstances.
You've got to push through the circumstances.
Fore!
----
Futurist Jim Carroll hopes for 4 days of extraordinary golf at St. Andrews in early April.
**#BucketList** **#StAndrews** **#Golf** **#Recovery** **#Blueprint** **#Discipline** **#Goals** **#Effort** **#Fitness** **#Spine** **#Rotation** **#Milestone** **#Dreams** **#Engineering** **#Perseverance** **#Work** **#Preparation** **#Commitment** **#Progress** **#Achievement** **#Healing** **#Determination** **#Fore** **#April** **#Onwards**
Blueprint VM изнутри: ~80 инструкций, которые двигают вашу игру
Каждый раз, когда вы соединяете ноды в Blueprint и нажимаете Play, Unreal Engine запускает маленький процессор. У него свои инструкции, свой стек, своя защита от бесконечных циклов. Он написан в ~4000 строках C++ и живёт в одном файле. Через него проходит каждый Event Tick, каждый Event BeginPlay, каждый вызов Blueprint-функции. Этот процессор - Blueprint VM (Virtual Machine). И сегодня мы разберём его по винтикам.
https://habr.com/ru/articles/1008012/
#Blueprint #виртуальная_машина #байткод #UE5 #Blueprint_VM #ScriptCore #K2Node #игровые_движки #интерпретатор #Unreal_Engine