Inochi2D / inochi-creator

Inochi2D Rigging Application
BSD 2-Clause "Simplified" License
853 stars 47 forks source link

[Feature Request] Cloned Mesh, A Node That Reuses The Textures In Another Mesh Node #381

Open mechPenSketch opened 2 months ago

mechPenSketch commented 2 months ago

Validations

Description

There are some nodes I want to duplicate. For example, for parts that comes in pairs. A further example would be the eyes, where I can import all part of the left eye, then duplicate them to create the right eye.

Suggested solution

A new type of node with a unique variable that stores a mesh (node). It will then have all same parts of data (such as Albedo) as the referred mesh.

Alternative solution

No response

Additional Context

mechPenSketch commented 3 weeks ago

According to discord, one of the to-do items is Resource-Handling for Texture. Does that mean texture are treated as a resource (Like Resource in Godot) separated from a node, and then another node's albedo can link to the texture?

r888800009 commented 3 weeks ago

If you are interested in contributing, I suggest you go to discord to discuss, because the specifications of inochi2d 0.8 and 0.9 are different.

For 0.8, you can view the code at https://github.com/Inochi2D/inochi2d/tree/v0_8 to find implementations of drawables, nodes, etc.

r888800009 commented 3 weeks ago

for this issue, I think this feature can be implemented by extending a transformation matrix for drawables.