Realistic Jam material

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Post Reply
stefano-dear
Licensed Customer
Posts: 121
Joined: Mon Apr 04, 2016 12:06 pm

Hi everyone!

I am trying to make a super realistic jam material and I thought to link a 3D noise to the density of the medium but I don't know exactly how to do it... Is it possible?

the effect I would like to recreate is similar to this image, as you can see the light inside the jam diffuses unevenly

Image


Thanks!
User avatar
bepeg4d
Octane Guru
Posts: 10397
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
try to play with the Random walk Medium node in a Specular material, with a 3D Noise node in the Radius pin:
11A6661A-DA47-4B88-B0B6-74C5D690274F.jpeg
ciao,
Beppe
stefano-dear
Licensed Customer
Posts: 121
Joined: Mon Apr 04, 2016 12:06 pm

bepeg4d wrote:Hi,
try to play with the Random walk Medium node in a Specular material, with a 3D Noise node in the Radius pin:
The attachment 11A6661A-DA47-4B88-B0B6-74C5D690274F.jpeg is no longer available
ciao,
Beppe
Hi Beppe!

I have already tried this way but the noise seems only superficial and not volumetric, in fact you can also see the seam of the cubic mapping.
Screenshot.jpg
User avatar
bepeg4d
Octane Guru
Posts: 10397
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

It seems to work in 3D space here, try to create an Octane Box Projection node:
B6F5F208-398A-48D6-B460-F5F0F88DFAC3.jpeg
ciao,
Beppe
stefano-dear
Licensed Customer
Posts: 121
Joined: Mon Apr 04, 2016 12:06 pm

bepeg4d wrote:It seems to work in 3D space here, try to create an Octane Box Projection node:
The attachment B6F5F208-398A-48D6-B460-F5F0F88DFAC3.jpeg is no longer available
ciao,
Beppe
Hi Beppe,

Sorry to be annying, but it seems not working by me.
As you can see, clipping always shows the same texture, which would have to change if it were volumetric.
Maybe I'm doing something wrong...
Attachments
2022-03-02 10-37-47.m4v
(1.22 MiB) Downloaded 1828 times
User avatar
bepeg4d
Octane Guru
Posts: 10397
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Ok, try with a native C4D Noise, in Texture space, and make sure that only the OSL translation is active in c4doctane Settings/C4D Shaders tab:
12E820FB-CF5D-4854-BC5C-59DE73430D88.jpeg
ciao,
Beppe
stefano-dear
Licensed Customer
Posts: 121
Joined: Mon Apr 04, 2016 12:06 pm

bepeg4d wrote:Ok, try with a native C4D Noise, in Texture space, and make sure that only the OSL translation is active in c4doctane Settings/C4D Shaders tab:
12E820FB-CF5D-4854-BC5C-59DE73430D88.jpeg
ciao,
Beppe

Oh yes! Now it works!
Thanks a lot for your help, I guess it didn't work for the "C4d shader baking"

Thanks a lot Beppe
Ciao
User avatar
bepeg4d
Octane Guru
Posts: 10397
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Great!
Yes, it cannot work if the C4D Shaders Texture Baking is active, because the Noise stops to be procedural, and you will see a tiling effect at uv borders.
if the OSL only option is active, the C4D Noise stays procedural, and you have not any tiling effect.

Buon GPU rendering,
ciao,
Beppe
Post Reply

Return to “General Discussion”