Lukich Posted August 31, 2006 Share Posted August 31, 2006 I'm using a pic() function to apply color information pulled from a COP to points on my NURBS sphere. It works fine except for one little problem - the image (a default butterfly) instead of wrapping itself around the sphere is repeated twice on the sphere, once on the side facing me and the second time - on the back side. Do you guys know why this is happening? Here's the file. Thank you very much. odforce.rar Quote Link to comment Share on other sites More sharing options...
SpencerL Posted August 31, 2006 Share Posted August 31, 2006 I havent looked at your scene, but I would guess the reason its showing through is because your UVs are set to be projected as Orthographic. If you set your UVs to be Polar (if using a sphere) it will wrap around. Quote Link to comment Share on other sites More sharing options...
Lukich Posted August 31, 2006 Author Share Posted August 31, 2006 No, it's not it. NURBS has embedded UV coordinates, so I shouldn't add any UV operators to it, I think. I actually did try to add UV through a Point sop and UV project, but to no avail Quote Link to comment Share on other sites More sharing options...
SpencerL Posted August 31, 2006 Share Posted August 31, 2006 yes, you do need to add UVs. Adding a point sop does not calculate where the uvs are located, it just makes uvs available to use/manipulate. You need to append a uvproject SOP, for example (whichever you use, make sure uvs are a point attrib and not a vertex attrib). I did this and it worked fine... Sphere SOP -NURBS -50x50 Rows and Columns UV Project SOP -polar projection Point SOP -Add Color -pic("../cop2net1/default_pic", $MAPU, $MAPV, D_CR), pic("../cop2net1/default_pic", $MAPU, $MAPV, D_CG), pic("../cop2net1/default_pic", $MAPU, $MAPV, D_CB) Quote Link to comment Share on other sites More sharing options...
Lukich Posted August 31, 2006 Author Share Posted August 31, 2006 I see. Thank s lot, SpencerL! It works great. Quote Link to comment Share on other sites More sharing options...
SpencerL Posted August 31, 2006 Share Posted August 31, 2006 no problem...good to hear! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.