Antonino Scodrani

NinoS

About Me

Lighting Supervisor at Steamroller Animation
専門知識
VFX Artist
業界:
Film/TV

Connect

LOCATION
Oxford, United Kingdom
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

[RESOLVED]usd_getbbox Vex functions return Huge incorrect values 2020年11月20日6:58

Ok so thanks to having a fresh head in the morning,
I found out that my “purpose” tag was wrong, and when it is it basically returns the world bounds I guess…
But switching to proxy made it work and the correct Bounding Box size is now returning!
YAY

[RESOLVED]usd_getbbox Vex functions return Huge incorrect values 2020年11月20日6:31

Hi,

I'm running into a small problem trying to automate a Daily Tool.

Basically I want to be able to get the BBox of my asset to transform them accordingly next to each other for presentation.
Only Problem is when I query the Bbox_size or min,max,etc… using the Vex functions(usd_getbbox_size)
houdini returns values that are huge (bboxSize = {-6.80565e+38,-6.80565e+38,-6.80565e+38}).
Which makes it basically unusable.

I don't know wether it's a bug Or I'm using it wrong.

Strangely enough inside my scene graph details window the world bounding Box property, shows the correct information…
If there is another way of obtaining this info (using python) I'm all ears

Thank you very much in advance!
Antonino

Here is my vex snippet:

//=========== Parameters =============//

string parentPath = usd_parentpath(0, @primpath);

//———– String Path Par

string wildCardAsset = “/cube1”;

//———– Setting Bbox Par

vector bbox_size = usd_getbbox_size(0,wildCardAsset,“Render”);


printf(“bboxSize = %g”,bbox_size);

Particle caches don't respect pscale attrib on import 2020年9月9日7:25

Hey,

I'm importing a particle cache as a reference in my lopStage.
The cache itself is an alembic cache.

I have the pscale setup to be 0.0025 in my example, but when I import the cache in lop's
and view my particles through redshift, karma or the Storm viewport my particles don't take into account the pscale and are very big.
Although I don't get that when I unpack the cache on sop level and sopimport it into my stage.
There the particles have the right size and I can even change the pscale and it gets updated accordingly.

I have 14 milion particles in my scene and the sopimport creates time dependencies which slow down everything and make the scene very slow.

Has anyone encountered this problem when it comes to referencing in particle caches?

I'm using houdini 18.0.416

Thank you Very Much,
AS