Unreal Engine 5 Tutorial - Blender Exporter - Instanced Static Mesh Exporter [2/4]

  Рет қаралды 9,998

renderBucket

renderBucket

Күн бұрын

Пікірлер: 19
@nijq
@nijq 2 жыл бұрын
Great video series. Thank you!! Not sure but I think "obj.rotation_euler.x" returns radians, so you have to also "import math" and then convert with "math.degrees(obj.rotation_euler.x)".
@renderbucket
@renderbucket 2 жыл бұрын
This is a very good point. You are right, rotation euler will return radians. I was transferring over my code from Maya for this so I think I overlooked that in Blender. Thank you for the correction!
@espen990
@espen990 Жыл бұрын
I got into the same issue, but I solved it by adding three "radians to degrees" nodes in the rotation connections between the "break" and "make transform" nodes in the UE5 construction script (shown in the next video).
@allisonainsworth4072
@allisonainsworth4072 11 ай бұрын
import bpy import csv selection = [obj for obj in bpy.context.selected_objects if obj.type == 'MESH'] col = ['', 'id', 'tx', 'ty', 'tz', 'rx', 'ry', 'rz', 'sx', 'sy', 'sz'] with open('C:\ISMExporter\data.csv', 'w', newline='') as f: writer = csv.writer(f) writer.writerow(col) for idx, obj in enumerate(selection): data = [] data.append(idx) data.append(idx) data.append(obj.location.x) data.append(obj.location.y) data.append(obj.location.z) data.append(obj.rotation_euler.x) data.append(obj.rotation_euler.y) data.append(obj.rotation_euler.z) data.append(obj.scale.x) data.append(obj.scale.y) data.append(obj.scale.z) writer.writerow(data) del data
@sailochan1203
@sailochan1203 2 ай бұрын
thank you
@GSProjects12
@GSProjects12 2 жыл бұрын
yay, I'm the first to comment! Anyway, thanks for this scripting tutorial. It opened up a whole new world of possibilities for me. Seriously!
@richardmetellus2336
@richardmetellus2336 Жыл бұрын
hmm could i hypothetically do this for a light sources? as in using this method to have unreal place lights that i have in my blender scene
@chadyonfire7878
@chadyonfire7878 Жыл бұрын
hey great work bud , can we get the exporter ready from u , would help a lot
@GG-James-E
@GG-James-E Жыл бұрын
Great video!
@sinonimos1790
@sinonimos1790 2 жыл бұрын
Thank you very much, it's awesome. Very useful👌
@学习之旅
@学习之旅 Жыл бұрын
Thank you for the sharing🙂
@hanneswerner
@hanneswerner 5 ай бұрын
Great video, However I was wondering, does this also work for Instances created with Geometry Nodes in Blender? And could it work for animated instances? Any idea how to do that?
@freakygreenfish
@freakygreenfish 2 ай бұрын
i´m trying it rn and am failing hardcore:D
@jamaalsineke2405
@jamaalsineke2405 6 ай бұрын
Hi Mr Bucket, amazing tutorial. I'm really new to Unreal and coding in general. my question is this Python export function version reliant? Can I write this for blender 4 or was this coded with Blender 3 in mind?
@Fingle
@Fingle 6 ай бұрын
That would depend on whether the blender python syntaxes has changed at all. For something as simple as this (just grabbing the selection, and copying basic metadata) I highly doubt there will be any issues. But if there are any issues, it's nothing chatgpt won't fix in a few seconds 😅
@jamaalsineke2405
@jamaalsineke2405 6 ай бұрын
@@Fingle Thanks for your prompt reply I appreciate you taking the time to get back to me
@Fingle
@Fingle 6 ай бұрын
@@jamaalsineke2405 baaah, Im just passing through and saw it was a recent comment. Good luck with your Unreal and coding journey!
@in2fractalout
@in2fractalout Жыл бұрын
instant lvl-up scroll detected! 📜✨
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Exporting Instances from Blender to Unreal Engine.
23:47
BlockyBard
Рет қаралды 693
UNLIMITED Object Copies in Blender? How to Use Collection Instances
4:12
The CG Essentials
Рет қаралды 79 М.
Introducing Dash for Unreal Engine 5
12:01
Polygonflow Dash
Рет қаралды 112 М.
UE 4 Minutes TUTORIAL Static Mesh Instance spawn along the grid
5:49
Bartosz Kamiński
Рет қаралды 30 М.
Gameplay tags are a Game Changer, here's Why Unreal Engine 5
22:37
Making a Cabin in the Woods in 15 mins using Blender
17:54
Blender Guru
Рет қаралды 2,4 МЛН