Forum

This forum is for swapping tips or ideas with fellow users, suggesting new features, or showing of what you have created with the system etc, there is no guarantee of an answer to questions posted in the forum. All support questions must be submitted via the Support ticket system

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: MegaWrap testing
ecurtz
Newbie
Posts: 4
Permalink
Post MegaWrap testing
on: January 21, 2013, 23:48
Quote

Has anyone gotten the new MegaWrap script to do anything? I've played with it a little and fixed a few issues, but I still haven't seen it successfully map any of the vertices. Just curious, since if nobody has gotten any results I'll probably just wait rather than duplicate all the debugging.

spookycat
Administrator
Posts: 148
Permalink
Post Re: MegaWrap testing
on: January 22, 2013, 00:02
Quote

Hi There
I will be updating the website with missing docs over the coming days so will be doing a page for the wrap system to explain the settings and the use. It should not be too hard to figure out, the max dist is the maximum distance the system will look from the vertex it is attempting to map to find faces it can map to and the max points is the max number of points used to position the wrap vertex, the lower this is the faster the system is, the higher the more accurate the wrap, usually you can still get good results with 1 or 2 as a value here. When you have adjusted those values you need to hit the remap button, after that you can see how the mapping looks by changing the Vert Index value, that will then show you which points that vertex has been mapped to and the unmapped value will have a non zero value if a point couldn't be mapped due to Max Distance value being too low.

What issues did you fix?

ecurtz
Newbie
Posts: 4
Permalink
Post Re: MegaWrap testing
on: January 22, 2013, 00:16
Quote

As I mentioned it doesn't seem to be doing any maps, although I did follow those steps, so at least I was guessing correctly there.

In Attach() it assumes closefaces.Count is > maxpoints, which wasn't true, presumably because my closefaces isn't getting filled. This was causing index errors in the loop creating the bind verts and trimming them afterwards.

There were similar errors in the editor script, where it had created my bind verts array but only the first entry had a real object the rest of the array was filled with nulls.

EDIT: This is not the case, I'm no longer seeing that normal issue in this new test project. (Now that I think about it and glancing at the code I wonder if this is related to whatever is causing me to get invalid normals in my morphs when I use the mega recalc method?)

spookycat
Administrator
Posts: 148
Permalink
Post Re: MegaWrap testing
on: January 22, 2013, 00:32
Quote

Mmm I will take a look at the code, I wasn't getting any errors when I was testing, I will start a fresh and see if I can recreate the issues you are having and get back to you. If you could submit a support ticket on this that would be great.

ecurtz
Newbie
Posts: 4
Permalink
Post Re: MegaWrap testing
on: January 22, 2013, 00:34
Quote

Hmm, If I go back to Mega method of normal recalc it goes into an infinite loop on remap (maybe because of my edits) so that's definitely something to check out. I'll submit a support ticket, thanks.

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.028 seconds.