How to create a double-sided material in Karma?
8808 21 4-
- cheesetroyer
- Member
- 53 posts
- Joined: 11月 2016
- オフライン
-
- Enivob
- Member
- 2658 posts
- Joined: 6月 2008
- オフライン
You'd think the kma_ray_import would offer some type of 0-1 output value you could use to drive the bias on a mtlxMix. Can't figure it out yet. Some way to fetch the sign of the magnitude of ray:direction then remap that into 0-1?
Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
-
- jsmack
- Member
- 8173 posts
- Joined: 9月 2011
- オンライン
-
- cheesetroyer
- Member
- 53 posts
- Joined: 11月 2016
- オフライン
-
- Enivob
- Member
- 2658 posts
- Joined: 6月 2008
- オフライン
-
- jsmack
- Member
- 8173 posts
- Joined: 9月 2011
- オンライン
-
- Enivob
- Member
- 2658 posts
- Joined: 6月 2008
- オフライン
-
- jsmack
- Member
- 8173 posts
- Joined: 9月 2011
- オンライン
-
- jomaro
- Member
- 106 posts
- Joined: 4月 2017
- オフライン
-
- jsmack
- Member
- 8173 posts
- Joined: 9月 2011
- オンライン
-
- Enivob
- Member
- 2658 posts
- Joined: 6月 2008
- オフライン
@jsmack I tried the very small range numbers and very large. The greaterif didn't seem to help either.
I just wonder if the ray_import is actually working?
@jamaro Your method certainly works for CPU only render.
I just wonder if the ray_import is actually working?
@jamaro Your method certainly works for CPU only render.
Edited by Enivob - 2023年12月4日 17:17:35
Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
-
- jsmack
- Member
- 8173 posts
- Joined: 9月 2011
- オンライン
-
- antc
- Member
- 354 posts
- Joined: 11月 2013
- オフライン
-
- jsmack
- Member
- 8173 posts
- Joined: 9月 2011
- オンライン
-
- Enivob
- Member
- 2658 posts
- Joined: 6月 2008
- オフライン
-
- cheesetroyer
- Member
- 53 posts
- Joined: 11月 2016
- オフライン
-
- LiBoNing
- Member
- 30 posts
- Joined: 7月 2018
- オンライン
There's a simpler way other then using 2 rayimport and dot product. You can directly using ray:backface to get a bool. This is listed in the documentation of the rayimport node, but don't know why it's not listed in the drop down menu probably is a bug.
MotionCOPs toolkit - pushing COPS into motion design and dynamic effects territory.
https://github.com/Boning1011/motion-cops [github.com]
https://github.com/Boning1011/motion-cops [github.com]
-
- CalvinJor
- Member
- 2 posts
- Joined: 4月 2024
- オフライン
-
- alli13
- Member
- 8 posts
- Joined: 9月 2020
- オフライン
-
- YuRock
- Member
- 2 posts
- Joined: 4月 2019
- オフライン
-
- Quick Links