Jump to content

Particles and Light Scattering


mathieu

Recommended Posts

I am trying to render scattering of light on a volume of particles. My first attempt was to scatter points on surface, transfering normal from that surface to points and using the wax shader from the material palette. For that I needed to generate a point cloud from my original surface using the SSS Sop.It seems to work (QT attached), but I have few questions in the case I would like to extend it to a volumetric scattering of points (through an isoOffset SOP of my scattering surface).

Is it possible to pipe directly the scattered points without generating PC files ?

I guess I need to precompute a ptarea attribute as did the SSS sop, but I would like to know if the ptarea attribute is the min distance between bunch of sampling points in a given radius.

For alternative methods, I found this interesting papers :

http://http.developer.nvidia.com/GPUGems/gpugems_ch16.html

http://developer.download.nvidia.com/compute/cuda/sdk/website/projects/smokeParticles/doc/smokeParticles.pdf

Mathieu

SSS_POINTS.mov

Edited by mathieu
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...