David l
Hi
Im copystamping away, and have a performance related question.
Right now I am using vertex colors (r & g channel) to store the original uv map from the distribution object so i can regenerate it again after the copier node (need it to switch shaders in rendering).
After the copier node, I am using a point node to do it, like this:
$MAPU = $R;
$MAPV = $G;
This is really heavy, so i was wondering if anybody has a more efficient method/technique to manipulate uvs?
it would be really usefull feature if the copier node had this option build in :)
//
David
Reply 0 0
pshipkov
Copier should merge the uvs properly.
Is this not happening there ?
Reply 0 0
David l
Hi Peter
I dont need the copied objects uvs, i need the uvs from the point on surface the copies originate from... Preferably both. But most importantly the points uvs as it gives alot of shader variation control pr. Object through textures so to speak.
It works transfering them to vertex colors and then back after it has been copystamped, its just super slow with the point node, understandably :)
An option in the copier node to output a seperate uvset fx. "pointsMap1" in the future would be super awesome, if at all posible.
Let me know if i make no sense at all, and ill make a simple scene when back on work monday, have a great weekend :)
//
David
Reply 0 0
pshipkov
Got it.
It will work like this:

- inUvPP (double array) attribute will be added to the copier node

- if this attribute has an input connection that provides an array with UV values (2 per point) - they will be used as UVs for the copied geometry instead of the original UVs.

Deal ?
Reply 0 0
David l
Exactly! Thank you Peter
And if it's in any way possible to make it so the copier can outputs two uvsets, both original and for points, that would be really useufull in the future as well :)
//
David
Reply 0 0
pshipkov
This is now part of copier.
Will be in the next SOuP release.
Reply 0 0
David l
You are amazing Peter, thank you. Really looking forward to it! :)
//
David
Reply 0 0
Reply