Decal Script Object

10 votes
Version: 
00.4beta
Date Updated: 
12/06/2009
Author Name: 
Nolan Cunningham
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
Video URL: 
AttachmentSize
Decal_object.ms12.62 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Apple_Hardcore's picture

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.

ShiroEd's picture

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

Apple_Hardcore's picture

ok re-uploaded... thanks for

ok re-uploaded...
thanks for testing the script BTW hope I can get it to work for you.

Apple_Hardcore's picture

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.

Ankebut's picture

yes I am using max 2009

yes I am using max 2009 x64...but with 3ds clean mod...maybe ill try it without...

Apple_Hardcore's picture

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.

Apple_Hardcore's picture

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.

Ankebut's picture

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

AttachmentSize
decalmax.max 408 KB
Apple_Hardcore's picture

is the checker pattern using

is the checker pattern using real-world scale? because that would cause it to unwrap wierd. also I cull any back faceing faces so that might be the issue you'r having. but I'll take a look...can you send me the max scene.. i don't know i you can attactch files on here?

Ankebut's picture

Hi its me again. Here I have

Hi

its me again.

Here I have a screenshot for you:

http://img5.imagebanana.com/view/y8vg953u/123.jpg

As you can see the generated UV Map is huge...I assigned a checker map with huge tiling but if assigned to generated object, the checker map is extremely oversized...maybe you can take a look at it.

Another problem ist the decal object,...as you see the generated mesh is not complete (deleted triangles).

and a small wish: Although I extraced the script to scripts/startup, it does not start with max...maybe you could make a installer or code it so, so that it starts with max if extracted to startup folder.

thanks.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.