postas

postas

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

OpenCL Voxel Space to World Space position? Aug. 21, 2020, 4:55 p.m.

Sorry, i've got it…
We have to multiply the voxel idx by voxel_x_size, idy by voxel_y_size, idz by voxel_z_size…
this will be the xyz to transform by xformtoworld matrix..

OpenCL Voxel Space to World Space position? Aug. 21, 2020, 4:16 p.m.

Hi Jeff,
And what is gidx.xyz in this case?

In default kernel we have three ids…
int gidx = get_global_id(0);
int gidy = get_global_id(1);
int gidz = get_global_id(2);

But they are integer ids - we are unlikely to multiply them by xform matrix to get world coordinate….

hou.allowEnvironmentToOverwriteVariable works on JOB only April 24, 2014, 11:50 a.m.

Okey )
For the test i had set the SYSTEM variable FOO - to “BLAH”, and started houdini all from command shell. I have a scene - with variable FOO (set to “BAR”). If i do hou.allow….. (“FOO”, True) and then load the scene - the FOO variable in the scene set to “BLAH” - everything is ok!
But if before loading the scene, i create variable FOO in houdini (with “BLAH” or anything else) - and then do hou.allow….. (“FOO”, True) and then load the scene - the FOO in scene remains it's old value (“BAR”), not the SYSTEM variable value.

In my setup i have a .py script that loading in empty houdini and sets all the project variables (from system ones) - this necessary then i want to start new empty scene (to set all project variables). So - every time houdini starts - it have all variables are set and up to date. But some old scenes has its own values in that variables - and i cannot override it with hou.allow…. because of that peculiarity (if variable set in houdini before i will load the scene - the houdini wouldnt check the system variable value for it)