I've found that Karma can render DCM(Deep Camera Map) output. This is a good feature.
But I didn't found how can I use DCM as matte for Effect, Instead of importing the scene and then setting the Holdout Mode to matte in the geometry render settings.
It's like rendering with Mantra and setting the camera parameters in the SOP.
Does Karma have this feature?
Any help would be greatly appreciated.
- Aaron
Found 7 posts.
Search results Show results as topic list.
Technical Discussion » Karma render use DCM (Deep Camera Map) as matte for Effect
- AAaronLi
- 7 posts
- Offline
Technical Discussion » Karma LPE Problem With Treat As Light Source
- AAaronLi
- 7 posts
- Offline
Technical Discussion » Karma LPE Problem With Treat As Light Source
- AAaronLi
- 7 posts
- Offline
dlee
Hi, if you enable "Treat as Light Source" the emissive material is treated as light and not emission, so it will only contribute to LPE AOVs that accumulate direct/indirect lighting (i.e. expressions that end with 'L' not 'O').
As for the render being darker without light source: It's because diffuse indirect ray hitting transmissive surface (which then hits emissive surface or anything for that matter) is a caustic path and true caustics is disabled by default. Fake caustic is automatically enabled on MaterialX-based transmissive materials, so the colour of shadow rays for the light source is adjusted and thus appears brighter. Otherwise you'd have to enable true caustics (via rendergeometrysettings LOP on the glass object, or globally).
I understand. I've always understood it wrong before. Thank you so much. I tried to add an LPE Tag to this object, then write a custom LPE, only retain this object as the influence of the light, and then get the final result. The LPE tag of this object is `pemiss` and the LPE Expression is `C.*<L.'pemiss'>`
Technical Discussion » Karma LPE Problem With Treat As Light Source
- AAaronLi
- 7 posts
- Offline
I have a scene that contain a sphere emissive object in the blue transparent cube.
If I didn't Enable The `Treat As Light Source` in the Render Geometry Settings Node. The rendering result will be dark.
But When I Enabled this option. the LPE of `Direct Emission` and `Indirect Emission` will output black screen and no results.
And When I Disbaled this option, It's going to be correct.
Has anyone encountered this issue? Is it my inappropriate operation or is it a bug?
Any help would be greatly appreciated.
Aaron
Technical Discussion » Python Asset Gallery Data Source Issue
- AAaronLi
- 7 posts
- Offline
I used the software DB Browser for SQLite to view the db database and found that thumbnail is a BLOB type, not a file path. I used the following code to successfully generate assets with thumbnails, I hope it can help you.
ag = hou.AssetGalleryDataSource("H:/library/houdini/assetGallery.db") def open_image_as_bytes(file_path): with open(file_path, 'rb') as f: return f.read() label = 'Baskets' filepath = 'H:/library/meshusd/Baskets/Baskets_main.usda' thumbpath = 'H:/library/meshusd/Baskets/thumbnail.png' ag.addItem(label, filepath, open_image_as_bytes(thumbpath)) ag.saveAs('H:/library/houdini/assetGallery.db')
Solaris and Karma » USD export question about Solaris
- AAaronLi
- 7 posts
- Offline
Yes, I connected to the wrong input, the problem has been solved, thank you for taking the time to help me solve the problem.
Aaron
Aaron
Solaris and Karma » USD export question about Solaris
- AAaronLi
- 7 posts
- Offline
I am trying to view nad export USD blendshape in Solaris.
I made In-Between Shapes in SOP with CharacterBlendShapesAdd Node, but the BlendShape is not shown in Solaris.
The left and right deformations at the top of the box are BlendShape, but when you go into Solaris, it's just the skeleton deformations.When USD is exported in Solaris, there is no BlendShape information. it would be nice to have simple houdini-file.
Any help would be greatly appreciated.
Aaron
I made In-Between Shapes in SOP with CharacterBlendShapesAdd Node, but the BlendShape is not shown in Solaris.
Image Not Found
The left and right deformations at the top of the box are BlendShape, but when you go into Solaris, it's just the skeleton deformations.When USD is exported in Solaris, there is no BlendShape information. it would be nice to have simple houdini-file.
Any help would be greatly appreciated.
Aaron
-
- Quick Links