zhang xianhao

ccyzkk

About Me

EXPERTISE
CG Supervisor
INDUSTRY
Film/TV

Connect

LOCATION
China
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

About the orientations attribute of usd pointinstancer Sept. 27, 2023, 4:52 a.m.

OK!Thanks npetit!

About the orientations attribute of usd pointinstancer Sept. 26, 2023, 11:22 p.m.

Hi,npetit!Thanks for replying.
Please take a look this.

orign_orientA = (0.7852686609761677, -0.15321283990986073, -0.21479573393639595, 0.5601265468250699)
orign_orientB = (0.785179235833791, -0.15324712673003482, -0.2147712733408779, 0.5602518950543501)
orign_orientA_to_Quath = Gf.Quath(orign_orientA.w, orign_orientA.x, orign_orientA.y, orign_orientA.z)
orign_orientB_to_Quath = Gf.Quath(orign_orientB.w, orign_orientB.x, orign_orientB.y, orign_orientB.z)
print(orign_orientA_to_Quath,orign_orientB_to_Quath )

(0.785156, -0.153198, -0.214844, 0.560059)
(0.785156, -0.153198, -0.214722, 0.560059)

return values are almost the same, is this correct?

About the orientations attribute of usd pointinstancer Sept. 25, 2023, 11:48 a.m.

Hi!I've encountered an issue with pxr usd point instancer, mainly related to the orientations attribute. When the angles between two frames are relatively small, transitioning an object from the SOP level to the LOP level results in the orient attribute values becoming the same. I'm wondering if this is due to a numerical precision limitation in the orientations attribute of pxr usd point instancer.
Thanks!