Christmas Gift Gathering

 Christmas pledges for our Gift Pages... please go here to read and reply to it.

So if you can participate just reply to the post. and we will add you to the list. Thanks in advance.
Our Participants:
In our hot little hands is this color

Llola Lane
 Amanda Theyer
 Maggie-The Brown Owl


All donations are greatly needed and appreciated.

They all go to the upkeep of PFD and PFD Delights

They can be set as a monthly donation or as you can give.

Click the button to be taken to Paypal.

Enter any size donation because they are all appreciated and welcome.

Thank you for your donation.

  • Total Posts: 9723
  • Total Topics: 410
  • Online Today: 3
  • Online Ever: 53
  • (March 14, 2013, 06:58:12 AM)
Users Online
Users: 0
Guests: 2
Total: 2

Author Topic: DS4.20 and volumetric  (Read 80 times)

0 Members and 1 Guest are viewing this topic.

Offline Aelin

  • Administrator
  • Got There!
  • ******
  • Posts: 1025
    • Aelin Namarie
DS4.20 and volumetric
« on: February 22, 2022, 03:27:55 PM »
A quote because it can help some people here. It's extracted from our February 2022 topic

Not sure what's going on, but now I AM getting to see volumetrics in Iray preview mode!
That aside, a bit of info gleaned from the DAZ forums about the use of volumetrics!
Both cubes are the same. One on left is left at default, one on right of image is the 'twiddled one', the cube between them is the same primitive, but left as basic.
Each of the outside cubes has the same Iray volumetric shader applied, with the sane smoke.vdb attached.

If you check the parametrs of the Iray volumetric shader you will see an On/Off property called 'Clip to Geometry' which is On by default.

Note how the smoke effect on the left is cut-off ar where the boundaries of the cube it was applied to would be. Sadly this would also happen if you turned it to Off!
This parameter ONLY functions if the Material/Surface it is applied to is named 'Volume'. Notice that when you create a primitive that the only surface is named Default? Yeah, not that useful, huh?
This is where you gird your loins and jump into the Geometry Editor tool:
Select the primitive in the scene tab
Activate Geometry Editor (Tools> Geometry Editor or Alt-Shift-G)
Right-click the primitive, Geometry Assignmet> Create Surface ... (and give 'Volume' as name)
 Select Geometry Selection> Select By> Surfaces> Default
 Select Geometry Assignment> Assign To Surface> Volume
Exit Geometry Editor by slecting another Tool (probably Node Selection, Universal Tool or Surface Selector)
Making sure you have the primitive still selected go to Surfaces and select the Volume surface and apply the Iray Simple OpenVDB MDL Volume shader (find in: My Library\Shader Presets\Iray\Daz Volume) and then apply a VDB file to it.
Then select the Default surface and reduce Opacity Map to 0
The On or Off setting for Clip to Geometry will now function on the Volume surface.
DS3, Poser, Wings3d, PD Artist, FlowScape, Photoshop, Ivy Generator, Sculptris, DS4, Bryce... I can't choose! :)

Offline SimonJM

  • Got There!
  • *****
  • Posts: 526
Re: DS4.20 and volumetric
« Reply #1 on: February 23, 2022, 07:00:37 PM »
Another, easier, way to do this is:
Create primitive
Select primitive
Select Geometry editor
Select Tool Settings (from Window> Panes (tabs) if not already visible)
Expand the Surfaces list and double-click on the name Default. This will enable you to enter a new name, so type: Volume.
Select your usual Tool to continue

Offline eblank99

  • Vendor
  • Got There!
  • *****
  • Posts: 2365
  • I Like DS :-)
    • My book covers
Re: DS4.20 and volumetric
« Reply #2 on: February 25, 2022, 05:33:20 AM »