Grid, ray and too low fps

Hey Everybody!

I’m struggling to achieve the same type of result as shown in .toe, just with usable amount of FPS. The fact that I have no knowledge of GLSL and my geo instancing experience is almost non existent doesn’t help much. Any ideas are welcome :slight_smile:

grid and ray.toe (4.6 KB)

Ray intersection can be pretty slow.
You can get better performance by using a mesh grid as input instead of the NURBs surface.
To smooth it out, you can take the grid and convert it to a NURBs surface again.

Hope that helps,
Rob

Thanks Rob! 60 FPS :slight_smile: I just can’t find a way how to make horizontal lines in a grid invisible. Is it possible to achieve it with SOPs ?

grid and ray converted.toe (4.7 KB)

I see in your example, you are still feeding a NURBs surface to the Ray SOP.
I meant you should feed a mesh, and then convert the output from the Ray SOP into a NURBs Surface afterwards.
In that convert, if you set the connectivity to either Rows, or Columns (but not “Rows and Columns”) then you should see just one direction of lines.

Cheers,
Rob.

Got it, thanks Rob! works perfectly