losbellos
02-19-2009, 06:29 PM
Hi, I have a little problem. Just getting into the polygon creation business..
My box doesnt want to be properly smoother, now it looks like with very high smoothing angles. And running through all the faces and changing the degree doesnt do a thing.
Can anyone enlight me over this? Thanks a lot.
(other question how the get A face smoothing angle in mxs? I seen only the autosmooth command, there is no get smoothing angle, just command for getting and setting the smoothing gorups)
clearlistener()
vertarr = #()
facearr = #()
facelistarr = #()
vertarr[1]=[-6.5936,-2.04629,0]
vertarr[2]=[55.7045,-2.04629,0]
vertarr[3]=[-6.5936,23.4186,0]
vertarr[4]=[55.7045,23.4186,0]
vertarr[5]=[-6.5936,-2.04629,32.2859]
vertarr[6]=[55.7045,-2.04629,32.2859]
vertarr[7]=[-6.5936,23.4186,32.2859]
vertarr[8]=[55.7045,23.4186,32.2859]
facearr[1]=[1,3,4]
facearr[2]=[4,2,1]
facearr[3]=[5,6,8]
facearr[4]=[8,7,5]
facearr[5]=[1,2,6]
facearr[6]=[6,5,1]
facearr[7]=[2,4,8]
facearr[8]=[8,6,2]
facearr[9]=[4,3,7]
facearr[10]=[7,8,4]
facearr[11]=[3,1,5]
facearr[12]=[5,7,3]
x = mesh vertices:vertarr faces:facearr
for i=1 to x.numfaces do (
meshop.autoSmooth x i 250.0
)
update x
My box doesnt want to be properly smoother, now it looks like with very high smoothing angles. And running through all the faces and changing the degree doesnt do a thing.
Can anyone enlight me over this? Thanks a lot.
(other question how the get A face smoothing angle in mxs? I seen only the autosmooth command, there is no get smoothing angle, just command for getting and setting the smoothing gorups)
clearlistener()
vertarr = #()
facearr = #()
facelistarr = #()
vertarr[1]=[-6.5936,-2.04629,0]
vertarr[2]=[55.7045,-2.04629,0]
vertarr[3]=[-6.5936,23.4186,0]
vertarr[4]=[55.7045,23.4186,0]
vertarr[5]=[-6.5936,-2.04629,32.2859]
vertarr[6]=[55.7045,-2.04629,32.2859]
vertarr[7]=[-6.5936,23.4186,32.2859]
vertarr[8]=[55.7045,23.4186,32.2859]
facearr[1]=[1,3,4]
facearr[2]=[4,2,1]
facearr[3]=[5,6,8]
facearr[4]=[8,7,5]
facearr[5]=[1,2,6]
facearr[6]=[6,5,1]
facearr[7]=[2,4,8]
facearr[8]=[8,6,2]
facearr[9]=[4,3,7]
facearr[10]=[7,8,4]
facearr[11]=[3,1,5]
facearr[12]=[5,7,3]
x = mesh vertices:vertarr faces:facearr
for i=1 to x.numfaces do (
meshop.autoSmooth x i 250.0
)
update x
