Notifications
Clear all
[Closed] to skip missing map coordinates when i render
Oct 24, 2010 8:46 pm
i made simple render script
but there is some problme
when i load a certain file , that is missing map coodrinates
i would like to skip that message with script
i can;t find help menu about that
how can i do ?
pls pls
1 Reply
Oct 24, 2010 8:46 pm
hi,
the way I fix this is to select all objects missing texture coordinates with this script,
then apply a “unvwrap uvw” to them to “disable” the uvw error.
(this is just a quick and dirty fix).
Either way, here’s the script.
Just run it and it’ll find all these objects and apply modifier.
clearselection()
unmappedObjs = for obj in geometry where obj.mesh.numtverts == 0 collect obj
select unmappedObjs
if selection.count > 0 do
(
uvwArray = for o in selection where superclassof o == geometryclass collect o
local c = 1
while c <= uvwArray.count do
(
local obj = uvwArray[c]
select obj
addModifier uvwArray[c] (Unwrap_UVW ())
c += 1
)
)