Hello All!
I'm very new to solaris and Karma and I was trying to do some point rendering with it.
Before, with Mantra, I used to set a point scale multiplier from the obj level geometry node
under Render->Geometry>Point Scale parameter witch acted as a multiplier at render time
before the needs to re process my point cloud or adding any post wrangle node to do it.
I wonder if there is something similar in Solaris/Karma ?
I had a quick look and I guess mostly due to the fact I know very little about this new tech
I could not figure something out.
Thank you in advance,
A
Point rendering pscale multiplier
6028 8 1-
- AlexNardini1
- Member
- 46 posts
- Joined: 4月 2008
- オフライン
-
- jsmack
- Member
- 8173 posts
- Joined: 9月 2011
- オフライン
I don't think so, but it would be a good feature request for a karma render property--would bring it further into parity with mantra.
For now the only way is to edit the widths array with a wrangle/vop/python lop--or if it's coming for a live sop network do the edit before it is imported into the stage.
For now the only way is to edit the widths array with a wrangle/vop/python lop--or if it's coming for a live sop network do the edit before it is imported into the stage.
-
- AlexNardini1
- Member
- 46 posts
- Joined: 4月 2008
- オフライン
-
- AlexNardini1
- Member
- 46 posts
- Joined: 4月 2008
- オフライン
So here is how I did it with a wrangle node inside Solaris.
However seem to be a bit slow from my tests
and I still dnt get how to use the option Run on Elements of Array Attributes in the wrangle.
I did try usingand but without luck, any help ?
int npt = usd_attriblen(0, "/sopimport1/points_0", "widths"); for(int i=0; i<npt; i++){ usd_setattribelement(0, "/sopimport1/points_0", "widths", i, 0.0005); }
However seem to be a bit slow from my tests
and I still dnt get how to use the option Run on Elements of Array Attributes in the wrangle.
I did try using
@elemnum
@numelem
-
- tamte
- Member
- 9288 posts
- Joined: 7月 2007
- オフライン
AlexNardini1make sure you are targetting the mesh node in Primitives parm
and I still dnt get how to use the option Run on Elements of Array Attributes in the wrangle.
check Run on Elements of Array Attributes and then type this into wrangle code:
@widths *= 2;
Edited by tamte - 2021年10月28日 18:56:23
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- AlexNardini1
- Member
- 46 posts
- Joined: 4月 2008
- オフライン
-
- AlexNardini1
- Member
- 46 posts
- Joined: 4月 2008
- オフライン
Karma is amazing,
here is my run with it using a new version of my FLAM3 hda recompiled for H19.
Thank you for the help, I was blown away on how fast it is and the de-noiser work like a charm!
https://vimeo.com/640136970 [vimeo.com]
here is my run with it using a new version of my FLAM3 hda recompiled for H19.
Thank you for the help, I was blown away on how fast it is and the de-noiser work like a charm!
https://vimeo.com/640136970 [vimeo.com]
-
- jason_iversen
- Member
- 12986 posts
- Joined: 7月 2005
- オフライン
Alessandro, you're a madman!
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
also, http://www.odforce.net [www.odforce.net]
-
- AlexNardini1
- Member
- 46 posts
- Joined: 4月 2008
- オフライン
-
- Quick Links