Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rigbits: PROXY GEO #196

Closed
5 of 8 tasks
miquelcampos opened this issue Dec 16, 2022 · 5 comments
Closed
5 of 8 tasks

Rigbits: PROXY GEO #196

miquelcampos opened this issue Dec 16, 2022 · 5 comments
Assignees

Comments

@miquelcampos
Copy link
Member

miquelcampos commented Dec 16, 2022

Tool to create proxy geometry like 3ds Max CAT or Ragdoll.

  • create capsules or boxes
  • after editing it can be stored in json file for the next build
  • option to combine it or keep it separated by joint. Serialization should support this option
  • color coding system like ctl
  • axis direction alignment
  • duplicate and mirror
  • auto color based on mirror
  • Use proxy volume for Unreal Engine and Ragdoll collision volume. Related to Shifter Game Tools: FBX exporter #117

Building default positions

  • Build for each child: will create one proxy geo to reach the position of each child. For example the metacarpal or finger
  • Build volume to the far child or closest child
  • Build align to joint orientation or to next/child joint option
  • Build centered: Build in center
    • if child and parent will build 50% between,
    • if not child but selected in order will create in the middle 50% adjusted or from previous to next selection (last selected joint will not have proxy geo)

MEMO:

  • Joint should store proxy geo build data for rebuild and collection? yes
  • for example rebuild from combined
  • but should support multiple volumes?? yes
  • how to handle when deleting proxy? can be deleted directly, because we will store the rebuild data in the joint
  • option to add or replace proxy when generate. For example to add more than one proxy to a joint
  • proxy geo is parented under the joint. When combined will apply skinning and combine in a single mesh outside of the joint hierarchy
  • FBX export tool should have a checker to ensure there are no proxy geo in the joint hierarchy Shifter Game Tools: FBX exporter #117
  • combine all or only selected.

image
image
image

@miquelcampos miquelcampos self-assigned this Dec 16, 2022
@miquelcampos miquelcampos changed the title Shifter: PROXY GEO Rigbits: PROXY GEO Feb 2, 2023
@miquelcampos
Copy link
Member Author

@mottosso Hi! I am preparing this new tool for mGear. I didn't check yet in Ragdoll API but will be cool if we can re-use the proxy geo generated here to create the volumes in Ragdoll. Do you think that is possible?
Just wanted to add this note here, so I don't forget to research this later ;)

miquelcampos added a commit that referenced this issue Feb 2, 2023
@mottosso
Copy link

mottosso commented Feb 2, 2023

Yes, that should be possible.

Ragdoll is forgiving with regards to the topology of the meshes; they don't need to be closed volumes or have any particular edge or polygon layout. It will look only at the points and generate a closed convex hull from that. So the one thing your tool could do if it needs more precision in the mesh, like a foot or around the clavicle area, is to split a mesh such that there are multiple polygon islands. An island being some set of points that are connected in some way. For example, if you make 2 Maya polygon spheres and Combine them, they will be one mesh that you can connect to Ragdoll, but two separate islands. Ragdoll will look at each individual island when generating the collision geometry, so the more islands you have the greater precision you can get. Each island is convex, but the final combined shape doesn't have to be.

See here for examples and details.

@miquelcampos
Copy link
Member Author

@mottosso Thanks for the heds up and info! The idea is to provide a mechanism to combine and separate the proxy geos, I will take in consideration the convex thing :)

@miquelcampos
Copy link
Member Author

WIP image
image

miquelcampos added a commit that referenced this issue Feb 7, 2023
miquelcampos added a commit that referenced this issue Feb 8, 2023
miquelcampos added a commit that referenced this issue Feb 9, 2023
miquelcampos added a commit that referenced this issue Feb 13, 2023
miquelcampos added a commit that referenced this issue Feb 14, 2023
@miquelcampos
Copy link
Member Author

miquelcampos commented Feb 20, 2023

image
image

miquelcampos added a commit that referenced this issue Feb 20, 2023
miquelcampos added a commit that referenced this issue Feb 20, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 4.1.x
Development

No branches or pull requests

2 participants