pshipkov
new
===

colorAndAlphaToRgba - bind vector array (RGB) and double array (A) into RGBA double array

extractor - works in conjunction with copier to provide channel override per instance

updated
======

copier - output instancer data that can be fed into the instancer node directly

mesh2arrays - now provides tangent per point
Quote 0 0
noizfactory
Cool! Thanks Peter.
Quote 0 0
plarson
Wonderful, thanks. The extractor node really is handy. Here's a screenshot of its connections if the info isn't available elsewhere.
Quote 0 0
SGIFreak
Nice updates, i like the copier_chainmail video example, very powerful. it's useful for modeling too.

Quote 0 0
MrFurious
thanks a lot Peter! super handy!
Quote 0 0
kishxn
mesh2arrays - now provides tangent per point



how to get pointsOnMeshInfo tangent per point?
pls help me...

Quote 0 0
pshipkov
There is a output tangent array of vectors that represent the normal for each point. To get the tangent for point 100 you can getattr mesh2arrays.tangents and then get the 100th element of the array. Or if you connect that attribute to other nodes the same will be true point ids will be associated with the elements of that array. There are any example scenes showing that. Check them out. If something is not clear come back and tell us what exactly you want to do and we e can provide more precise answer.
Quote 0 0
kishxn
in this scene, pointsOnMeshInfo node gives outPositionPP,outNormalPP,outRgbaPP........
but outTangentPP?

what way to get outTangentPP in this scene?

(sorry for my bad english)

Click image for larger version - Name: Capture.JPG, Views: 52, Size: 54.07 KB Click image for larger version - Name: Capture1.JPG, Views: 49, Size: 29.33 KB
Quote 0 0
noizfactory
There's probably a simpler method but here's one way to do it. I hope this is what you were looking for.
Quote 0 0
pshipkov
Thanks noiz. I didn't look at your example but i am sure it is a good solution.

Just spent a moment to focus on proper answer - obviously the pointsOnMeshInfo node does not output tangents (i misled you in my previous email) since tangents are associated with points/uvs. Which is matter of another "layer" of higher level operations that are not subject to this node.
Quote 0 0
noizfactory
Thanks Peter. There was an error in the connection I made in the previous file so this is the correct file. Have attached the network snapshot as well.

tangentPP.jpg 


Quote 0 0
pshipkov
Thanks. There is a small optimization that can be done. The point cloud from pointstoarray node can be directly passed to the bounding objects as "inparticlepositionpp".
Quote 0 0
kishxn
thanks............my problem solved..........

Quote 0 0
noizfactory
pshipkov wrote:
Thanks. There is a small optimization that can be done. The point cloud from pointstoarray node can be directly passed to the bounding objects as "inparticlepositionpp".

Thanks for the suggestion. Something was nagging me that I'm forgetting something obvious but couldn't pin it down. This is it!

@kishxn - glad it helped you out!
Quote 0 0