Changing particle size

   22744   4   2
User Avatar
Member
9 posts
Joined: Oct. 2014
Offline
Hey, new to Houdini.

I'm using a Source Particle Emitter and I need to change the size of the particles being emitted.

How is this possible?

Do I change the particles to Geo? Or is it really simple?

Attachments:
car.jpg (641.9 KB)

User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
You can change size of the particles in the Render , Not viewport !
To do that you have couple ways , the simpler way is using a Point SOP node in the Geometry Network (Not AutoDopNetwork) and connect the particles to this node , then in the Point SOP parameters in the Particle tab , change Keep Scale to Add Scale , then define your desire value for scale.

Another way is doing that in the AutoDopNetwork with POP Wrangle node :wink:


Of course you can set size of the particles in the viewport via Display Option window –> Geometry –> Point Size

But this is only for viewport !
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
I made both method for you in the attached file , Also I used rand expression for randomizing size of the particles 8)

Attachments:
JKPSCALE.hip (242.6 KB)

https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
5 posts
Joined: May 2017
Offline
Hi, i'm newbee, just started with houdini by muy own. I'd like to ask you how can i get the particle sizze acording to the camera distance? I couldn find any reable solution for this in internet yet
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Hi

Couple of options like :

Simply import position of the Camera in the Point VOP ,Subtract position of the particles with Camera position ,Then Use Length VOP for computing distance of the Camera position and Position of the Particles and export this parameter as pscale attribute.


Also there is a distance VOP node which you can use.
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
  • Quick Links