Thanks for suggestion.
Unfortunately, once I set Draw Mode to BBox, it disappears.
Found 120 posts.
Search results Show results as topic list.
Solaris and Karma » Display Volume as Bounding Box
- tas3d
- 120 posts
- Offline
Solaris and Karma » Named Point Instancer Prototypes mess up assignments
- tas3d
- 120 posts
- Offline
I use name attribute (or any string attrib) to name Point Instancer Prototypes.
But if I do, then shape assignment is random once point count number starts changing.
Its a simple Packed Geo to LOP worflow.
Am I missing something?
Attached hipnc
Thanks!
But if I do, then shape assignment is random once point count number starts changing.
Its a simple Packed Geo to LOP worflow.
Am I missing something?
Attached hipnc
Thanks!
Edited by tas3d - June 4, 2021 16:41:50
Technical Discussion » Solaris USD PointInstancer - lopimport rotation issue
- tas3d
- 120 posts
- Offline
Did you try normalizing quaternions ?
I have seen few Issues at Pixar USD repo about this issue. Don't remember specifics, but I think USD doesnt normalize quat, where other DCCs and renderers do.
Just a thought.
I have seen few Issues at Pixar USD repo about this issue. Don't remember specifics, but I think USD doesnt normalize quat, where other DCCs and renderers do.
Just a thought.
Solaris and Karma » Display Volume as Bounding Box
- tas3d
- 120 posts
- Offline
Hi,
Is it possible to display Volumes as Bounding Boxes?
I tried different Kinds, but none worked.
Thanks!
Is it possible to display Volumes as Bounding Boxes?
I tried different Kinds, but none worked.
Thanks!
Edited by tas3d - June 1, 2021 10:23:08
Solaris and Karma » Creating Prims with Python in LOP
- tas3d
- 120 posts
- Offline
I asked too early.
Found these and learned about importance of Default Primitive
node = hou.pwd()
stage = node.editableStage()
prim = stage.OverridePrim('/test')
prim.GetReferences().AddReference(filePath)
Found these and learned about importance of Default Primitive
node = hou.pwd()
stage = node.editableStage()
prim = stage.OverridePrim('/test')
prim.GetReferences().AddReference(filePath)
Solaris and Karma » Creating Prims with Python in LOP
- tas3d
- 120 posts
- Offline
Hey Mark,
Volumes work fine, now I would like to programmatically reference multiple USD files.
Pretty much what Reference/Sublayer LOPs do.
Any pointers for classes and methods from API that will do the job?
https://graphics.pixar.com/usd/docs/api/index.html [graphics.pixar.com]
Volumes work fine, now I would like to programmatically reference multiple USD files.
Pretty much what Reference/Sublayer LOPs do.
Any pointers for classes and methods from API that will do the job?
https://graphics.pixar.com/usd/docs/api/index.html [graphics.pixar.com]
Technical Discussion » How do I Boolean Heightfield with Geo/Sdf ?
- tas3d
- 120 posts
- Offline
Thanks for the idea!
This worked for me
This worked for me
vector pos; vector uvw; int hit; hit = intersect(1,@P,{0,1000,0},pos,uvw); if (hit != -1) { if (@height > pos.y) { @height = pos.y; } } hit = intersect(1,@P,{0,-1000,0},pos,uvw); if (hit != -1) { if (@height > pos.y) { @height = pos.y; } }
Technical Discussion » How do I Boolean Heightfield with Geo/Sdf ?
- tas3d
- 120 posts
- Offline
Hi,
I tried cutout by object and mask by object, but its not what I am after.
I want to subtract sphere from HF. How do we do it in Terrain universe?
Thanks!
I tried cutout by object and mask by object, but its not what I am after.
I want to subtract sphere from HF. How do we do it in Terrain universe?
Thanks!
Technical Discussion » Point VOP Integer/Float to String Casting
- tas3d
- 120 posts
- Offline
Technical Discussion » Error saving USD to network folder
- tas3d
- 120 posts
- Offline
I understand this is not SESI issue.
If someone has a workaround on Windows, please let us know.
I am planning to upgrade my storage to NAS, but seems like some of them also run on SMB, so that wont fix my problem.
Thanks everyone!
If someone has a workaround on Windows, please let us know.
I am planning to upgrade my storage to NAS, but seems like some of them also run on SMB, so that wont fix my problem.
Thanks everyone!
Technical Discussion » ROP HDA missing genericTool attribute
- tas3d
- 120 posts
- Offline
Cool no worries. Create Versioned DA is very useful.
Hopefully Paul Ambrosiussen will have a look at this.
Hopefully Paul Ambrosiussen will have a look at this.
Technical Discussion » ROP HDA missing genericTool attribute
- tas3d
- 120 posts
- Offline
Solved.
It works fine when I create HDA via standard Create Digital Asset.
Breaks via Versioned Digital Asset
I wonder how are HDAs different, I thought its just naming and pathing that Labs is handling.
I don't see any scripts in Labs generated HDA.
It works fine when I create HDA via standard Create Digital Asset.
Breaks via Versioned Digital Asset
I wonder how are HDAs different, I thought its just naming and pathing that Labs is handling.
I don't see any scripts in Labs generated HDA.
Edited by tas3d - May 4, 2021 09:41:44
Technical Discussion » ROP HDA missing genericTool attribute
- tas3d
- 120 posts
- Offline
Hi,
Is creating ROP HDAs any different then SOP?
I wrapped Null in Subnet, created versioned HDA from Subnet.
Once I drop down this newly created HDA, I get this error:
Any clues?
Thank you
Is creating ROP HDAs any different then SOP?
I wrapped Null in Subnet, created versioned HDA from Subnet.
Once I drop down this newly created HDA, I get this error:
Traceback (most recent call last): File "driver_farmsubmitter::1.0", line 2, in <module> AttributeError: 'module' object has no attribute 'genericTool'
Any clues?
Thank you
Technical Discussion » Error saving USD to network folder
- tas3d
- 120 posts
- Offline
Same issue here.
H18.5.532
Windows 10.0.19042 Build 19042
Steps to repro:
1. Map network drive in Windows Explorer. For example drive E: to network location Y:
2. Write USD to Y:/test.usd
3. Load USD in Stage via Sublayer
4. Try to write to the same location from step 2 (overwrite)
5. Try to delete file from step 2
Both steps 4 and 5 will fail, saying that USD is loaded by Houdini.
If I write and load from drive E:, that is not a network drive, steps 4 and 5 finish successfully.
Hope you can repro this.
Thanks!
H18.5.532
Windows 10.0.19042 Build 19042
Steps to repro:
1. Map network drive in Windows Explorer. For example drive E: to network location Y:
2. Write USD to Y:/test.usd
3. Load USD in Stage via Sublayer
4. Try to write to the same location from step 2 (overwrite)
5. Try to delete file from step 2
Both steps 4 and 5 will fail, saying that USD is loaded by Houdini.
If I write and load from drive E:, that is not a network drive, steps 4 and 5 finish successfully.
Hope you can repro this.
Thanks!
Edited by tas3d - April 30, 2021 12:34:49
Solaris and Karma » Creating Prims with Python in LOP
- tas3d
- 120 posts
- Offline
Thanks a lot! I think I got a hang of it now.
Here is snippet for creating Volume with VDB fields inside.
Here is snippet for creating Volume with VDB fields inside.
from pxr import UsdVol node = hou.pwd() stage = node.editableStage() volume = stage.DefinePrim('/volume', 'Volume') volume = UsdVol.Volume(volume) density = stage.DefinePrim('/volume/density', 'OpenVDBAsset') density.GetAttribute('filePath').Set('Y:/eggsplosion.$F4.vdb') density.GetAttribute('fieldName').Set('density') volume.CreateFieldRelationship('density', density.GetPath())
Edited by tas3d - April 29, 2021 22:45:14
Solaris and Karma » Creating Prims with Python in LOP
- tas3d
- 120 posts
- Offline
Hi,
Can I get some help to get started with Python in LOPs.
I would like to create Volume Prim with Python Script LOP and assign it some fields( VDB paths).
I found this method in USD API docs, but not sure who to translate it to python
https://graphics.pixar.com/usd/docs/api/class_usd_vol_volume.html#af88d8076106e2b55bcc5bdcec3fc5e23 [graphics.pixar.com]
This is failing miserably on the last line.
Can I get some help to get started with Python in LOPs.
I would like to create Volume Prim with Python Script LOP and assign it some fields( VDB paths).
I found this method in USD API docs, but not sure who to translate it to python
https://graphics.pixar.com/usd/docs/api/class_usd_vol_volume.html#af88d8076106e2b55bcc5bdcec3fc5e23 [graphics.pixar.com]
This is failing miserably on the last line.
node = hou.pwd() stage = node.editableStage() vol = stage.DefinePrim('/vol', 'Volume') vol.CreateFieldRelationship('somename', 'somepath')
AttributeError: 'Prim' object has no attribute 'CreateFieldRelationship'
Edited by tas3d - April 29, 2021 16:28:30
Solaris and Karma » Point Instancer not importing accel attrib and ignoring v
- tas3d
- 120 posts
- Offline
so Render Geometry Settings fixes velocity blur.
I guess angular vel is not supported yet in Karma.
I guess angular vel is not supported yet in Karma.
Solaris and Karma » Point Instancer not importing accel attrib and ignoring v
- tas3d
- 120 posts
- Offline
Hi,
I noticed that Point Instancer is not importing accelerations from accel attribute.
Also seems like point v attrib is being ignored too, doesnt matter what I put there, Karma is not bluring or trying to compute its own motion samples if I drop down Cache LOP.
On changing topo point cloud I get crazzzy MB.
Is that a bug or I am missing something?
Attached hip
I noticed that Point Instancer is not importing accelerations from accel attribute.
Also seems like point v attrib is being ignored too, doesnt matter what I put there, Karma is not bluring or trying to compute its own motion samples if I drop down Cache LOP.
On changing topo point cloud I get crazzzy MB.
Is that a bug or I am missing something?
Attached hip
Edited by tas3d - April 28, 2021 08:47:55
Solaris and Karma » Assign materials ahead of importing them to stage
- tas3d
- 120 posts
- Offline
Hi Tim,
Once I turn off Eval Attrib at Spec Time, I don't need to target any primitives.
ConfigureLayer LOP is just setting save path, so SubLayer doesnt complain about save location.
Once I turn off Eval Attrib at Spec Time, I don't need to target any primitives.
ConfigureLayer LOP is just setting save path, so SubLayer doesnt complain about save location.
Solaris and Karma » Assign materials ahead of importing them to stage
- tas3d
- 120 posts
- Offline
Actually I gave it another try and it does make sense. Still need to double check it in production.
Take a look at screen, is this what you were talking about?
Take a look at screen, is this what you were talking about?
-
- Quick Links