sprockets The Snowman is coming! Realistic head model by Dan Skelton Vintage character and mo-cap animation by Joe Williamsen Character animation exercise by Steve Shelton an Animated Puppet Parody by Mark R. Largent Sprite Explosion Effect with PRJ included from johnL3D New Radiosity render of 2004 animation with PRJ. Will Sutton's TAR knocks some heads!
sprockets
Recent Posts | Unread Content
Jump to content
Hash, Inc. - Animation:Master

Cylindrical mapping?


pierrotsc

Recommended Posts

I look to see if there was a cylindrical mapping tutorial and could not find one. I ahve problem mapping a seamless image onto a cylinder. first of all, i want to know why it always default to a repeat of 3 in the x !!! it is seamless so i want the beginning to match my end around the cylinder.

Then, about the normals. Should they be pointing out of the cylinder or in?

Sometimes, my map shows up as a mirror image...

Any tutorial out there?

Thanks.

Pierre

Link to comment
Share on other sites

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

  • Hash Fellow
I look to see if there was a cylindrical mapping tutorial and could not find one. I have problem mapping a seamless image onto a cylinder.

 

make sure your cyl shape is centered about the Y axis. If it isn't that way in your model, make a pose that moves it there adn apply the decal in the pose.

 

 

Here's a case where I decal a face with cyl mapping

 

http://www.hash.com/forums/index.php?s=&am...st&p=317888

 

 

 

 

first of all, i want to know why it always default to a repeat of 3 in the x !!! it is seamless so i want the beginning to match my end around the cylinder.

 

3 is the correct number for x. A:M uses one copy over a imaginarily flattened mesh as best it can and uses one more on each side to catch any stray bits of mesh that the first one didn't cover. This makes it possible for a rectangular decal to appear to wrap around a mesh that doesn't have a straight seam on the back.

 

 

Then, about the normals. Should they be pointing out of the cylinder or in?

Sometimes, my map shows up as a mirror image...

 

normals don't matter for decals.

Link to comment
Share on other sites

  • Hash Fellow
Thank you..Now i understand. Why would a decal be mirrored when you apply it? I position my image fine and it looks fine. when i apply it and render it, it is like i am looking in a mirror.

Thanks.

 

You may have to post an example case model, with the bitmap.

 

I suppose you could change the repeat to a negative number to flip it.

Link to comment
Share on other sites

Thank you..Now i understand. Why would a decal be mirrored when you apply it? I position my image fine and it looks fine. when i apply it and render it, it is like i am looking in a mirror.

Thanks.

 

The cylindrical map will always be applied as if you were applying it in front view, and centered in x direction, regardless of how you position the image before hitting apply. The y extents can be varied - but not the horizontal or x extent for the original stamp. It will always have a 3 x 1 repeat.

 

So perhaps you are trying to do it from some other view, and trying to offset it in x in some way?

 

After you apply the image with cylindrical map - you can then change the repeat & how the decal is mapped by using A:M's uv editor. But your best bet is to create the image to be used with the imagery that you want to be on the front centered in the x direction.

Link to comment
Share on other sites

Well something weird happened. After i saved the project and re rendered it, the decal was showing fine. Go wonder..

Thanks for all the decals explanation. Now i have a better understanding.

Thanks Robcat for the link to the tutorial. Cool head..

Pierre

Link to comment
Share on other sites

...make sure your cyl shape is centered about the Y axis. If it isn't that way in your model, make a pose that moves it there and apply the decal in the pose.

Not really necessary. The cylinder can be any where and any orientation as shown in the attached image. The trick is to apply the Projection material (fitting_grips.mat) to a group (injector_grip_horz) and locally translate the material's pivot to be identical to that of the group (in this case -52.73, 27.05, -291.12). Then you can locally rotate the material to align it with the group (in this case X = 90 deg.).

horz_cyl_map.jpg

Link to comment
Share on other sites

  • 4 weeks later...

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...