|
Yrrek Gran
Crackpot Inventor
Join date: 20 Oct 2006
Posts: 209
|
02-11-2008 13:26
After 10 hours of sculpting, baking my texturemap and loosless upload of my sculpty texture, my sculpty is upsidedown (not inside out). Being a physical object, a mere rotation will not help. Where did I go wrong, and most importantly, how do I correct the texture map? Using Blender 3D. I know there is a way to flip poles but it totally escapes me. I tried flipping the map vertically, sl just laughed at me. A little help? 
|
|
Domino Marama
Domino Designs
Join date: 22 Sep 2006
Posts: 1,126
|
02-11-2008 14:47
If you did any transforms in object mode in Blender you will need to apply them before baking the sculptie. The bake script works in local space as eventually the location / rotation in object mode will be added to the lsl script output 
|
|
Yrrek Gran
Crackpot Inventor
Join date: 20 Oct 2006
Posts: 209
|
02-11-2008 15:05
No transformations that I am aware of. Took the starter sphere that Domino so kindly gave us, rotated 90 degrees ccw (z pole horizonal), and started forming my sculpty, as I have always done. I have made many objects in this manner. Uploaded the sculpty map using the lossless upload, and my little creation rezzeses belly up. I guess I do not understand what determines the z axis. Do I need to rotate the sphere back to the original position before baking?
|
|
Domino Marama
Domino Designs
Join date: 22 Sep 2006
Posts: 1,126
|
02-11-2008 15:53
It's really easy when rotating all verts to do it in object mode rather than edit mode and not notice. You can check if this is the case by hitting "n" key in object mode to view the numeric transforms dialog. RotX RotY and RotZ should all be 0. If not press CTRL-A 1 to apply before doing a bake. Apart from that I can't think of anything obvious that would cause this.
|
|
Yrrek Gran
Crackpot Inventor
Join date: 20 Oct 2006
Posts: 209
|
02-11-2008 17:33
I have checked this as suggested and made sure everything is set to 0. Rebaked the sculpty map and uploaded as losless and also simple texture upload. Still upsidedown. Thanks for the help, will start over, lol.
|
|
Aminom Marvin
Registered User
Join date: 31 Dec 2006
Posts: 520
|
02-11-2008 21:06
Don't start over! There's ways of reorienting the axis of a sculpt and mirroring in photoshop.
OK, let's say your sculpt is "facing" the negative Z axis, and you want it facing Z positive. 1) Open the image in PS. In the channels floater, click on the blue channel to make it active. Now apply image->adjustments->invert.
This mirrors all the verts across the prim's axis. However, it will now be inside out. You can flip the image horizontally, which will correct it, and make a left-right mirrored version. If you don't want it mirrored, just invert another channel (probably green) and you're all set.
Want to rotate a sculpt? Simply swap the red and green channels, and then flip the image horizontally.
With a combination of channel swapping, flipping, and channel inversion you can do any right-angle-rotation, mirror, and/or axis flip that you need.
|
|
Vlad Bjornson
Virtual Gardener
Join date: 11 Nov 2005
Posts: 650
|
02-11-2008 21:23
That's a great tip, Aminon. I'm gonna go try it out just for fun!. Thanks. 
_____________________
I heart shiny ! http://www.shiny-life.com
|
|
Domino Marama
Domino Designs
Join date: 22 Sep 2006
Posts: 1,126
|
02-12-2008 01:04
I'd second the don't start over, but mirroring the baked sculptie will distort your vertice positions a little. Each vertex (except last one in some cases) comes from the even number pixels, when you mirror they will come from what were the odd ones.
I've sent my email via PM, just because it isn't obvious from the post doesn't mean it can't be fixed in Blender. So feel free to send me the blend and that should give me enough info to get to the bottom of it.
|
|
Yrrek Gran
Crackpot Inventor
Join date: 20 Oct 2006
Posts: 209
|
02-12-2008 06:23
Thanks Aminom, I managed to invert the z axis but disovered the x is reversed as well. Now my creation moves backwards, lol. I will try messing with the red channel when I get a chance. After inverting the channel, I still must flip the map, correct? Domino, I evidently didn't save the final blend file and my last save was only about 60% complete. I think I will study that, and maybe it was before I inverted it. One thing that I did learn from this is, "I do not understand axis orientations at all! lol It didn't really matter until I started making physical objects.
|