Decal Script Object
Version:
00.4beta
Date Updated:
12/06/2009 Additional Info:
this script hasn't been tested to thoroughly so post any issues you might have.
tool should end up in helper objects under GameDevTools after being executed
fixed an issue resulting in bad UVs when target object had transforms on it.
Version Requirement:
tested in 3Ds Max 2009 Attachment | Size |
---|---|
Decal_object.ms | 12.62 KB |
Comments
UV Bug
Found the bug in the uv generation
Sone values wasn't set correctly
On line 292:
--UVMod.length = -1
--UVMod.Height=1
Change to:
UVMod.length = -1
UVMod.width = 1
UVMod.height = 1
Unsure if the capital "H" was an issue, but just to be safe ;)
Hope someone can help
Hi,
The preview for the decal is perfect but the UVs for the plane that it creates is messed up. Ideally I would like the UVs to automatically cover the entire 0-1 UV space. See attached images.
I was hoping if anyone can take a look at this script and give me some insight on how it may be adjusted to achieve the correct result. The script is over 10 years at this point but I think can be extremely handy if the UV's were correct.
Ok I think I got it.
Ok I think I got it. although I;m not sure. I got the same results when I tried one of the functions on a preexisting object because the UV modifier wasn't set to 1x1. when I apply my UV in the script it automatically goes to 1x1. I'm not sure if it's different for you but it might fix it.
Im having the same problem.
Im having the same problem. UVs are not correct to display the texture. We need the 'created' mesh's UV's to be scaled to fit into normal UV 0,1 space if you know what I mean?
Currently the UVs are coming out really small for me within UV space 0,1.
Max 2010 x64
ok re-uploaded... thanks for
ok re-uploaded...
thanks for testing the script BTW hope I can get it to work for you.
I'm using max 32 but I can't
I'm using max 32 but I can't imagine that would make a difference, I haven't had any experience with the different skews though. I'm having a hard time figuring out what could cause such totaly different out comes.
I'm curious if anyone else is having any problems..
I'll re-upload the latest script to make sure I haven't botched up on that end.
yes I am using max 2009
yes I am using max 2009 x64...but with 3ds clean mod...maybe ill try it without...
we might just end up needing
we might just end up needing some more people to test this script to find out where the issue is.
are you using max 2009? also
are you using max 2009?
also couldn't reproduce the error with it not working in the startup scripts directory..it works for me. not sure how to proceed with that.
just tested out your scene as well... and it worked for me... must be your version of max or perhaps it's mine. but I'm not having any issues. also try to redownload the script to make sure you have the latest one.
here you have the max
here you have the max scene...tried it again with real world scaling etc...same error...cut off meshes + weird uv
look file attached