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..
Found 11 posts.
Search results Show results as topic list.
Technical Discussion » OpenCL Voxel Space to World Space position?
- postas
- 11 posts
- Offline
Technical Discussion » OpenCL Voxel Space to World Space position?
- postas
- 11 posts
- Offline
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….
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….
Technical Discussion » hou.allowEnvironmentToOverwriteVariable works on JOB only
- postas
- 11 posts
- Offline
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)
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)
Technical Discussion » hou.allowEnvironmentToOverwriteVariable works on JOB only
- postas
- 11 posts
- Offline
Finally i found out the difference between your and my approaches…
It won't update the variable from system if variable had been defined before i load the scene… Even if it has same value as system has…
But if there no such variable before we load the scene - it updates successfully.
In my case all project variables are set before any scenes loading (in order to set right variables for newly created scenes) - thus they not updated from the system ones
Excepting the $JOB - it updates anyway.
It won't update the variable from system if variable had been defined before i load the scene… Even if it has same value as system has…
But if there no such variable before we load the scene - it updates successfully.
In my case all project variables are set before any scenes loading (in order to set right variables for newly created scenes) - thus they not updated from the system ones
Excepting the $JOB - it updates anyway.
Technical Discussion » hou.allowEnvironmentToOverwriteVariable works on JOB only
- postas
- 11 posts
- Offline
Nope, doesn't working.
I tryed to do exactly the same thing, and after i do hou.allowEnvironmentToOverwriteVariable('FOO',True), and load the scene, FOO is switched back to “BAR” (while in system the FOO is “BLAH”)
I tryed to do exactly the same thing, and after i do hou.allowEnvironmentToOverwriteVariable('FOO',True), and load the scene, FOO is switched back to “BAR” (while in system the FOO is “BLAH”)
Technical Discussion » hou.allowEnvironmentToOverwriteVariable works on JOB only
- postas
- 11 posts
- Offline
A few variables defined in my scene files (JOB, WORK, PRJ, RENDER, and so…), it's all about paths…
Unfortunately since certain time - my disk path had been changed, and i have to manualy update every variable in every scene…
I tried to use subj to automatically replace all that variables - using script like this:
hou.allowEnvironmentToOverwriteVariable(“JOB”,True)
hou.allowEnvironmentToOverwriteVariable(“PRJ”,True)
hou.allowEnvironmentToOverwriteVariable(“PROJECTS”,True)
hou.allowEnvironmentToOverwriteVariable(“LIBRARY”,True)
and then load the scene, but only JOB variable updating from system environment variable (i tried to start shell from houdini to check that system variables PRJ, LIBRARY etc… is set properly. Everything is ok.) - but the scene PRJ, LIBRARY are remain their old values)
Unfortunately since certain time - my disk path had been changed, and i have to manualy update every variable in every scene…
I tried to use subj to automatically replace all that variables - using script like this:
hou.allowEnvironmentToOverwriteVariable(“JOB”,True)
hou.allowEnvironmentToOverwriteVariable(“PRJ”,True)
hou.allowEnvironmentToOverwriteVariable(“PROJECTS”,True)
hou.allowEnvironmentToOverwriteVariable(“LIBRARY”,True)
and then load the scene, but only JOB variable updating from system environment variable (i tried to start shell from houdini to check that system variables PRJ, LIBRARY etc… is set properly. Everything is ok.) - but the scene PRJ, LIBRARY are remain their old values)
Technical Discussion » hou.allowEnvironmentToOverwriteVariable works on JOB only
- postas
- 11 posts
- Offline
Hi all,
Does anybody know why
hou.allowEnvironmentToOverwriteVariable works on $JOB only?
And not for any other variables…
Does anybody know why
hou.allowEnvironmentToOverwriteVariable works on $JOB only?
And not for any other variables…
Houdini Indie and Apprentice » Linux GUI problems
- postas
- 11 posts
- Offline
Houdini Indie and Apprentice » Linux GUI problems
- postas
- 11 posts
- Offline
glxinfo says:
mainhome/postas # glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer,
GLX_ARB_fbconfig_float
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
…
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 7600 GT/PCI/SSE2
OpenGL version string: 2.1.2 NVIDIA 173.14.05
OpenGL extensions:
…
and so on…
mainhome/postas # glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer,
GLX_ARB_fbconfig_float
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
…
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 7600 GT/PCI/SSE2
OpenGL version string: 2.1.2 NVIDIA 173.14.05
OpenGL extensions:
…
and so on…
Houdini Indie and Apprentice » Linux GUI problems
- postas
- 11 posts
- Offline
Nothing says in a shell. Just shows the houdini splash screen and then returns to shell.
Once it was the interface appear, but it's not worked.
Trying to launching a hkey:
It doesn't appear (any error output (hkey-bin appears is in the processes))
I keep trying to launch it for 10 or 15 times, and at last it starts. I see the license administration window and green lights. Licensing is ok.
So, it's i think a X problems.
But other 3d software runs well…
Once it was the interface appear, but it's not worked.
Trying to launching a hkey:
It doesn't appear (any error output (hkey-bin appears is in the processes))
I keep trying to launch it for 10 or 15 times, and at last it starts. I see the license administration window and green lights. Licensing is ok.
So, it's i think a X problems.
But other 3d software runs well…
Houdini Indie and Apprentice » Linux GUI problems
- postas
- 11 posts
- Offline
Hi.
Have a problems to start Houdini on SuSe 10.3 x64 (Nvidia)
Can't launch a program - i see the Houdini splashscreen, see the houdini processes (ps ax), and that's all.
Once i saw the interface - but it hang up…
I have a latest Nvidia drivers (173…..), 3d accel enabled, other 3d apps works fine.
What's wrong?
Thanx
Have a problems to start Houdini on SuSe 10.3 x64 (Nvidia)
Can't launch a program - i see the Houdini splashscreen, see the houdini processes (ps ax), and that's all.
Once i saw the interface - but it hang up…
I have a latest Nvidia drivers (173…..), 3d accel enabled, other 3d apps works fine.
What's wrong?
Thanx
-
- Quick Links