Archive 17/01/2023.

Urho - Vector 3 vs Pixels

Jimmy781

I’m new to 3D engines and i have a question .

I created a plane.

_scene = new Scene();
_scene.CreateComponent();

var planeNode = _scene.CreateChild("Plane");
planeNode.Scale = new Vector3(500.0f, 1.0f, 500.0f);

I have an image 500px*500px which i set on the plane :

planeObject.SetMaterial(Material.FromImage("image.png"));

Since both are square , does that mean that the image will take the full size of the plane and that 1px will be equal to 1f (on the plane) regardless of its actual size ?

urho3d

Duplicate Topic: Urho Plane - Vector3 size to px

urho3d