CinnamonMetal Posted April 5, 2020 Share Posted April 5, 2020 The geometry has red and black color, the points coming in are particles; I only want the particles to intersect with the parts of the geometry which are red. The parameter is to control if I want some particles to bleed into the black areas of the geometry. Although neither is working, the particles are intersecting with both the black and red parts of the geometry ? As well, I want to open the point clouds based on the dot product of the particle normal and the surface normal, I'm assuming I should use the UVW of the intersect for the position and the primitive of the intersect as the maxpoints, which I can then control the radius of how many points I want to open ? Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted April 6, 2020 Author Share Posted April 6, 2020 How do I get points to only effect the @Cd.r of the geometry; the current way is not working; the intersect is casting rays on the whole geometry regardless of the color on the geometry ? Quote Link to comment Share on other sites More sharing options...
DonRomano Posted April 6, 2020 Share Posted April 6, 2020 Use a compare node to check if the @Cd.r is greater than your threshold value, and then drive a switch with that so it should cast rays only on the red geo : Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted April 6, 2020 Author Share Posted April 6, 2020 1 hour ago, DonRomano said: Use a compare node to check if the @Cd.r is greater than your threshold value, and then drive a switch with that so it should cast rays only on the red geo : The points continue to project on the black as well as the red. Quote Link to comment Share on other sites More sharing options...
DonRomano Posted April 6, 2020 Share Posted April 6, 2020 What about sharing your file ? We'll be able to see what's not working and not wasting our breath here. It may come from another node.. Cheers, Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted April 6, 2020 Author Share Posted April 6, 2020 Fluid_Liquid_Sphere.hipnc I kept the attributevop network from your post; rather then my own. Quote Link to comment Share on other sites More sharing options...
DonRomano Posted April 6, 2020 Share Posted April 6, 2020 I don't understand what you're trying to achieve, what's your goal here. Do you want just some particles to slide on the red geometry and some other to keep their way or is it something completely different ? Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted April 6, 2020 Author Share Posted April 6, 2020 I want the particles to slide only on the parts of the geometry which are red, not the black areas, but using a parameter having some control whether some of the particles bleed into the semi-black areas is required. Quote Link to comment Share on other sites More sharing options...
nuki Posted April 7, 2020 Share Posted April 7, 2020 (edited) you could delete the poits with Cd.r<0.001 first, then intersect and use Cd.r as Alpha or pscale value. If you want to keep the black points you can skip the intersect like romain showed. Edited April 7, 2020 by nuki Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted April 7, 2020 Author Share Posted April 7, 2020 The point have no color on them, only the geometry, are you saying to transfer the Cd.r from the geometry to the points; the points still won't confine to the red areas of the geometry; as well as I want that bleed. Quote Link to comment Share on other sites More sharing options...
Librarian Posted April 7, 2020 Share Posted April 7, 2020 maybe it helps just play with that ..H 16.5 Fluid_Liquid_Spheremayb0.hipnc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.