Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-05-23 09:04:16



Reply to topic  [ 4 posts ] 
Can't select objects through texture based particles 
Author Message

Joined: 2023-10-03 14:07:30
Posts: 58
Reply with quote
While cooking G&S food I noticed I can not select objects through a cloud of steam particles that is created using a texture.
I have to turn off the display of particles before I can select an object that is behind the steam cloud or if I want to pick up an object that is emitting the steam.


Script inside the cauldron:
-----
// UUID for smoke particles
key SMOKE_SPRITE = "b85073b6-d83f-43a3-9a89-cf882b239488";
// How large (meters) should the sprites be?
float SPRITE_SIZE = 0.01;
// What is the lifetime of the system in seconds?
float LIFETIME = 1;
// How many sprites/particles should be made?
integer NUM_PARTICLES = 1;
// What initial velocity magnitude should particles have (in meters/s)?
float SPRITE_VELOCITY = 0.5;
// Width of cone (in Radians) about the object's Z axis where particle will be directed
float ARC = PI;
// Offset distance from the object center to generate the system
vector OFFSET = <1,1,1>;

default
{
state_entry()
{
// Set a timer to run the timer() event every 2.0 seconds
llSetTimerEvent(0.01);
}

timer()
{
// Make a random test (75% prob) to decide whether to make a new particle system.
if (llFrand(1.0) < 0.15) // If random number between 0 to 1 is less than 0.75
{
// Make some steam
vector our_scale = llGetScale();
float x_rand_pos = llFrand(our_scale.x);
float y_rand_pos = llFrand(our_scale.y);

OFFSET.x = (our_scale.x / 2) - x_rand_pos;
OFFSET.y = (our_scale.y / 2) - y_rand_pos;

llMakeSmoke( NUM_PARTICLES, 0.01, SPRITE_VELOCITY, LIFETIME, ARC, SMOKE_SPRITE, OFFSET);
}
}
}
----
Sim server Second Life RC Ferrari 2023-09-07.6113592855

Cool VL Viewer v1.31.0.13, Nov 6 2023 16:08:17 (self compiled with -t)
RestrainedLove viewer v2.09.29.28

My environment:
CPU: Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz (3165 MHz)
Memory: 15972MB
OS version: Linux-x86_64 v5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023
Memory manager: jemalloc v5.3.1-20231028
Graphics: NVIDIA GEFORCE GTX 1050 TI/PCIE/SSE2
OpenGL version: 4.6.0 NVIDIA 535.129.03
Detected VRAM: 4096MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: FMOD Studio v2.02.18 (PulseAudio)
Networking backend: libcurl 7.47.0/OpenSSL 1.0.2u/zlib 1.2.13.zlib-ng
Browser plugin: Dullahan 1.13.1/CEF 118.0.1/Chromium 118.0.5993.22
Packets lost: 1/45886 (0.0%)

Built with: GCC v11.4.0
Compiler-generated maths: AVX.



2023-11-06 16:14:46
Profile

Joined: 2023-10-03 14:07:30
Posts: 58
Reply with quote
I tested this with the Linden viewer in Wine, version GLTF Material Import - 7.0.1.6658224456
and it does not exhibit the same behaviour.


2023-11-06 16:16:23
Profile

Joined: 2009-03-17 18:42:51
Posts: 5989
Reply with quote
This is the expected behaviour when particles picking is enabled (allows, via the pie menu, to mute particle emitters or their owner, or abuse-report them, as well as to force-refresh their texture if needed).

In the "Tools" menu, simply disable "Pick particles".


2023-11-06 16:23:46
Profile WWW

Joined: 2023-10-03 14:07:30
Posts: 58
Reply with quote
Thanks I need to take a look at more defaults I guess.


2023-11-10 01:15:34
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.