PDA

View Full Version : .renderUV problem


ediking
08-14-2008, 03:24 AM
Hi all

(
clearListener()
local UnwrapIndex = #()
local UnwrapIndex = for i = 1 to $.modifiers.count where classof $.modifiers[i] == unwrap_uvw collect i
max modify mode
for i=1 to UnwrapIndex.count do (
UnwrapModifiers = $.modifiers[UnwrapIndex[i]]
UnwrapModifiers.renderuv_width = 256
UnwrapModifiers.renderuv_height = 256
UnwrapModifiers.renderuv_force2sided = true
UnwrapModifiers.renderuv_fillColor = [0,0,0]
UnwrapModifiers.renderuv_fillalpha = 1.0
UnwrapModifiers.renderuv_fillmode = 1
UnwrapModifiers.renderuv_showoverlap = true
UnwrapModifiers.renderuv_overlapcolor = [255,0,0]
UnwrapModifiers.renderuv_edgeColor = [255,255,255]
UnwrapModifiers.renderuv_edgealpha = 1.0
UnwrapModifiers.renderuv_visibleedges = true
UnwrapModifiers.renderuv_invisibleedges = false
UnwrapModifiers.renderuv_seamedges = true
UnwrapModifiers.renderuv_seamColor = [0,255,0]
UnwrapModifiers.renderuv_showframebuffer = true
UnwrapModifiers.renderUV ""
)
)

A problem has been encountered while renderUV scripting.

situation
1.Create sphere. (name=Sphere01)
2.Convert to Editable poly
3.Add Unwrap. (Map Channel = 1)
4.edit Unwrap UVW
5.Add Unwrap. (Map Channel = 2)
6.edit Unwrap UVW
7.run this script
8.save maxfile
9.load maxfile
10.select Sphere01
11.run this script
RenderUV of sphere01 that unsaved MAX file display normally.
How ever,RenderUV of sphere01 that saved MAX file couldn't display normally.
I don't understand the problem.

CGTalk Moderation
08-14-2008, 03:24 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.