| Post |
|
|
Mental Raymaker - Guest
3:32 pm - Feb 9, 2008
|
| |
|
Dear Shack,
mirroring a sculptie is a problem as it would be "inside out". I have written a little script that "mirrors" a 32 x32 mesh (on x ) and fixes the numbering problem. Not very elegant but i am not realy a programmer…
here the code (shack please fix it if i have done something very stupid…)
– mirror x of a 32×32 mesh for sculpties
– by mental raymaker
Source = $
SourceMesh = copy Source
convertToMesh SourceMesh
Target = copy SourceMesh
max modify mode
addmodifier sourcemesh (mirror())
collapseStack sourcemesh
for x = 1 to 33 do ( — rows
for y = 1 to 32 do ( — first 16 of the row
tno =(32 * x) - (y - 1)
sno = y + (32 * (x - 1))
a = sno as string + "=" + tno as string
print a
sourcepos = getvert Sourcemesh sno
setvert Target tno sourcepos
update target
)
)
delete sourcemesh
cheers
mental
|
|
|
|
Harmpie - Guest
12:21 pm - Feb 11, 2008
|
| |
|
To get a mirror of a sculpty you can also open the sculptmap in photoshop and make a negative out of it.
|
|
|
|
Mental Raymaker - Guest
2:53 pm - Feb 11, 2008
|
| |
|
lol I have not tried that! Cool! And now that Shack has written such a cool tool i can import it back into max too! When i wrote the litte script that was not possible!
|
|
|
|
Pale - Guest
11:13 am - May 5, 2008
|
| |
|
Sorry,
Simply inverting the sulptmap or flipping the sculptmap…. It all does not work.
the surface you are looking at is on the inside of the sculpty instead of on the outside, So you look through the sculpty and onto the inside surface of the opposite side. The shape is correct, but the surface isn't… Texturing it won't help, because you are texturing the inside of the sculpty.
Imagine splitting a tube and shaping it inside out, shape is ok, but the surface is on the inside of the object…
This program may work, I'll try it… Thanks Mental…
|
|
|
| |
|
Pale,
I haven't tried mirroring, so I don't have any practical experience, but …
flipping the sculptmap horizontally will give you a sculptie with the same shape, but with the surface normals flipped. In SL, it will appear to be “inside out” with the textures on the inside. That, I know.
If inverting gives you a mirrored version of the sculptie that is inside out.
I say “if” because I haven't tried it. But if it does, then all you need to do is to flip the inverted sculptmap horizontally to make its textures face outward.
So my suggestion is to try inverting and flipping.
|
|
|
|
Nexii - Guest
4:32 am - Jul 2, 2008
|
| |
|
You could also apply the Normals modifiert to flip normals. I have had no problems using the mirror and normal modifiers.
|
|
|
|
kakaue - Guest
7:06 pm - Sep 27, 2008
|
| |
|
ok so it really work and is also tested flip it first horizontal or vertikal (doesnt matter at end) and then make the image negativ and thats all ^^
|
|
|
|
Photon Pink - Guest
6:09 pm - Sep 29, 2008
|
| |
|
The Release Canidate SL viewer has check boxes to let you reflect a sculptie across the X axis or invert the normals. =)
|
|
|
|
Jenrose Meredith - Guest
1:12 am - Dec 17, 2008
|
| |
|
Using the check boxes is of limited use because the older viewers do not render the flipped map correctly.
|
|
|
|
Jenrose Meredith - Guest
3:53 am - Dec 17, 2008
|
| |
|
Inverting (photo negative) the image and then flipping horizontally works just fine.
|
|