Jump to content

Help with the Cube Man


christianl013

Recommended Posts


Hey Guys,

    I am working on making a character out of cubes. Basically I want to be able to have the cubes on the mesh, conform to the topology and then have the control to be able to 
    move, rotate and scale the cubes independantly while still conforming to the mesh.

    I have been looking around and found some good solutions for this (see attached images 1 and 2) and I feel that I am close but I have been running into a few snags that seem to
    be a bit above my level of expertise and was hoping to get some assistance. 

    As you can see in image1 the rotations seem to tear or collapse into the cubes as opposed to rotating on a local axis from where it is placed. Basically after calls to primuv and prim_normal any calls to rotate or scale points don't seem to apply the way they should or how you would expect them to. (I hope that makes sense.). 

    If you guys see or know of a better way to implement this type of solution then I would be more than happy to listen and learn. Thanks for your time.

    Cheers, Christian

Screen1.jpg

Screen2.jpg

Link to comment
Share on other sites

Again, I think this is probably too different to the setup you're working on but it's one way to scale and rotate the underlying polygons (which you can polyextrude into cubes later). For rotations you'd need to decide on the basis about which all transforms should take place. It was quicker to implement by using pack/unpack but I'm not sure that's the most efficient way..

flowB.gif

cube man.hipnc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...