Found 271 posts.
Search results Show results as topic list.
Technical Discussion » How to save the icon for otl into the otl?
- ykcosmo
- 288 posts
- Offline
Technical Discussion » How to save the icon for otl into the otl?
- ykcosmo
- 288 posts
- Offline
I used a picture as the icon of my otl, how to save it into the otl, so when I distribute it to the others, they can see the icon?
Technical Discussion » Snow Leopard and Houdini good to go?
- ykcosmo
- 288 posts
- Offline
Technical Discussion » rot attribute question
- ykcosmo
- 288 posts
- Offline
What are the 4 rot attributes stand for in the detail view?
I think they stand for x, y, z, angle?
how does Houdini charge of the x, y, z, and angle?
I found the Angle in Rotation pop is degree, but the rot seems not radians or degree, what is it?
When I set the Axis to , and Angle to 10, I got the rot attribute . Can't understand why I got this number of rot attribute.
Anyone could explain?
I think they stand for x, y, z, angle?
how does Houdini charge of the x, y, z, and angle?
I found the Angle in Rotation pop is degree, but the rot seems not radians or degree, what is it?
When I set the Axis to , and Angle to 10, I got the rot attribute . Can't understand why I got this number of rot attribute.
Anyone could explain?
Houdini Lounge » Which version of Houdini supports the RMAN15 ?
- ykcosmo
- 288 posts
- Offline
Technical Discussion » compile HDK under OSX
- ykcosmo
- 288 posts
- Offline
Technical Discussion » Snow Leopard and Houdini good to go?
- ykcosmo
- 288 posts
- Offline
Technical Discussion » Snow Leopard and Houdini good to go?
- ykcosmo
- 288 posts
- Offline
yes…some people use this machine here too….
only the problem is the flicker viewport.
Alos, when I started to sim more than a min, the fan of the cpu went very high speed…-.-!
only the problem is the flicker viewport.
Alos, when I started to sim more than a min, the fan of the cpu went very high speed…-.-!
Technical Discussion » compile HDK under OSX
- ykcosmo
- 288 posts
- Offline
I tried to compile standalone/geoisosurface.C under OSX, but failed.
hcustom -s geoisosurface.C
Making geoisosurface.o from geoisosurface.C
cc1plus: warning: command line option “-fobjc-gc-only” is valid for ObjC/ObjC++ but not for C++
In file included from geoisosurface.C:10:
geoisosurface.h: In function ‘int main(int, char**)’:
geoisosurface.h:25: error: ‘HDK_Sample’ has not been declared
geoisosurface.C: At global scope:
geoisosurface.C:13: error: ‘HDK_Sample’ is not a namespace-name
geoisosurface.C:13: error: expected namespace-name before ‘;’ token
geoisosurface.C: In function ‘float densityFunction(const UT_Vector3&)’:
geoisosurface.C:16: error: redefinition of ‘float densityFunction(const UT_Vector3&)’
geoisosurface.h:13: error: ‘float densityFunction(const UT_Vector3&)’ previously defined here
geoisosurface.C: In function ‘int main(int, char**)’:
geoisosurface.C:22: error: redefinition of ‘int main(int, char**)’
geoisosurface.h:19: error: ‘int main(int, char**)’ previously defined here
geoisosurface.C:28: error: ‘HDK_Sample’ has not been declared
geoisosurface.h: At global scope:
geoisosurface.h:13: warning: ‘float densityFunction(const UT_Vector3&)’ defined but not used
Compile failed
Also, I tried to use g++ to compile, still fail…
gcc -I$HT/include geoisosurface.C
In file included from /usr/include/c++/4.2.1/backward/iostream.h:31,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/SYS/fpreal16.h:93,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/SYS/SYS_Types.h:72,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/UT/UT_PtrArrayRaw.h:27,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/UT/UT_PtrArray.h:33,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/GU/GU_Detail.h:25,
from geoisosurface.h:10,
from geoisosurface.C:10:
/usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/UT/UT_Math.h:36,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/UT/UT_Matrix3.h:22,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/GU/GU_Detail.h:27,
from geoisosurface.h:10,
from geoisosurface.C:10:
/Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/SYS/SYS_Math.h: In function ‘uint SYSpointerHash(const void*)’:
/Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/SYS/SYS_Math.h:835: error: cast from ‘const void*’ to ‘uint’ loses precision
In file included from geoisosurface.C:10:
geoisosurface.h: In function ‘int main(int, char**)’:
geoisosurface.h:25: error: ‘HDK_Sample’ has not been declared
geoisosurface.C: At global scope:
geoisosurface.C:13: error: ‘HDK_Sample’ is not a namespace-name
geoisosurface.C:13: error: expected namespace-name before ‘;’ token
geoisosurface.C: In function ‘float densityFunction(const UT_Vector3&)’:
geoisosurface.C:16: error: redefinition of ‘float densityFunction(const UT_Vector3&)’
geoisosurface.h:13: error: ‘float densityFunction(const UT_Vector3&)’ previously defined here
geoisosurface.C: In function ‘int main(int, char**)’:
geoisosurface.C:22: error: redefinition of ‘int main(int, char**)’
geoisosurface.h:19: error: ‘int main(int, char**)’ previously defined here
geoisosurface.C:28: error: ‘HDK_Sample’ has not been declared
hcustom -s geoisosurface.C
Making geoisosurface.o from geoisosurface.C
cc1plus: warning: command line option “-fobjc-gc-only” is valid for ObjC/ObjC++ but not for C++
In file included from geoisosurface.C:10:
geoisosurface.h: In function ‘int main(int, char**)’:
geoisosurface.h:25: error: ‘HDK_Sample’ has not been declared
geoisosurface.C: At global scope:
geoisosurface.C:13: error: ‘HDK_Sample’ is not a namespace-name
geoisosurface.C:13: error: expected namespace-name before ‘;’ token
geoisosurface.C: In function ‘float densityFunction(const UT_Vector3&)’:
geoisosurface.C:16: error: redefinition of ‘float densityFunction(const UT_Vector3&)’
geoisosurface.h:13: error: ‘float densityFunction(const UT_Vector3&)’ previously defined here
geoisosurface.C: In function ‘int main(int, char**)’:
geoisosurface.C:22: error: redefinition of ‘int main(int, char**)’
geoisosurface.h:19: error: ‘int main(int, char**)’ previously defined here
geoisosurface.C:28: error: ‘HDK_Sample’ has not been declared
geoisosurface.h: At global scope:
geoisosurface.h:13: warning: ‘float densityFunction(const UT_Vector3&)’ defined but not used
Compile failed
Also, I tried to use g++ to compile, still fail…
gcc -I$HT/include geoisosurface.C
In file included from /usr/include/c++/4.2.1/backward/iostream.h:31,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/SYS/fpreal16.h:93,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/SYS/SYS_Types.h:72,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/UT/UT_PtrArrayRaw.h:27,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/UT/UT_PtrArray.h:33,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/GU/GU_Detail.h:25,
from geoisosurface.h:10,
from geoisosurface.C:10:
/usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/UT/UT_Math.h:36,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/UT/UT_Matrix3.h:22,
from /Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/GU/GU_Detail.h:27,
from geoisosurface.h:10,
from geoisosurface.C:10:
/Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/SYS/SYS_Math.h: In function ‘uint SYSpointerHash(const void*)’:
/Library/Frameworks/Houdini.framework/Versions/10.0.401/Resources/toolkit/include/SYS/SYS_Math.h:835: error: cast from ‘const void*’ to ‘uint’ loses precision
In file included from geoisosurface.C:10:
geoisosurface.h: In function ‘int main(int, char**)’:
geoisosurface.h:25: error: ‘HDK_Sample’ has not been declared
geoisosurface.C: At global scope:
geoisosurface.C:13: error: ‘HDK_Sample’ is not a namespace-name
geoisosurface.C:13: error: expected namespace-name before ‘;’ token
geoisosurface.C: In function ‘float densityFunction(const UT_Vector3&)’:
geoisosurface.C:16: error: redefinition of ‘float densityFunction(const UT_Vector3&)’
geoisosurface.h:13: error: ‘float densityFunction(const UT_Vector3&)’ previously defined here
geoisosurface.C: In function ‘int main(int, char**)’:
geoisosurface.C:22: error: redefinition of ‘int main(int, char**)’
geoisosurface.h:19: error: ‘int main(int, char**)’ previously defined here
geoisosurface.C:28: error: ‘HDK_Sample’ has not been declared
Technical Discussion » Snow Leopard and Houdini good to go?
- ykcosmo
- 288 posts
- Offline
Technical Discussion » Snow Leopard and Houdini good to go?
- ykcosmo
- 288 posts
- Offline
Technical Discussion » custom UI for RenderMan shader with slo2otl.py
- ykcosmo
- 288 posts
- Offline
very odd….
I put them in the same directory as my hip is, also I assigned the shader path as $HIP with the default path.
I tried it again, re-complied the shader and otl. I got the magenta color when I toggle the blue, so the shader works, but still get that warning, very odd…
Please see my attachment, I put the hip, sl, and otl in it.
I was running mac OSX 10.6.1 with houdini 10.0.401.
I put them in the same directory as my hip is, also I assigned the shader path as $HIP with the default path.
I tried it again, re-complied the shader and otl. I got the magenta color when I toggle the blue, so the shader works, but still get that warning, very odd…
Please see my attachment, I put the hip, sl, and otl in it.
I was running mac OSX 10.6.1 with houdini 10.0.401.
Technical Discussion » custom UI for RenderMan shader with slo2otl.py
- ykcosmo
- 288 posts
- Offline
Technical Discussion » Snow Leopard and Houdini good to go?
- ykcosmo
- 288 posts
- Offline
we all got this problem man, see the posts in the previous page and wait the new fix….
-.-!
-.-!
Technical Discussion » custom UI for RenderMan shader with slo2otl.py
- ykcosmo
- 288 posts
- Offline
It works, thank you !
And I tried to make the toggle, it worked but there was a warming:
S31003 {WARNING} RIB value for “x” in shader “flatred” on gprim “/obj/platonic_object1” was not declared.
Here is my sl code:
#pragma rendermask RIB
#pragma label red “The Red Parameter”
#pragma hint red color
#pragma label x “toggle blue”
#pragma hint x toggle
#if defined(__vex)
surface flatred(vector red={1,0,0}; float x = 0) {}
#else
surface
flatred(color red = color (1,0,0); float x = 0)
{
color blue = color (0,0,1);
Ci = red + x * blue;
}
#endif
Also, this is not the best to make toggle parameter, I tried to use if {}but doesn't work.
Could you make a toggle example?
And I tried to make the toggle, it worked but there was a warming:
S31003 {WARNING} RIB value for “x” in shader “flatred” on gprim “/obj/platonic_object1” was not declared.
Here is my sl code:
#pragma rendermask RIB
#pragma label red “The Red Parameter”
#pragma hint red color
#pragma label x “toggle blue”
#pragma hint x toggle
#if defined(__vex)
surface flatred(vector red={1,0,0}; float x = 0) {}
#else
surface
flatred(color red = color (1,0,0); float x = 0)
{
color blue = color (0,0,1);
Ci = red + x * blue;
}
#endif
Also, this is not the best to make toggle parameter, I tried to use if {}but doesn't work.
Could you make a toggle example?
Technical Discussion » custom UI for RenderMan shader with slo2otl.py
- ykcosmo
- 288 posts
- Offline
I usually use slo2otl.py to create the otl from RenderMan slo file. I want to create the menu in the UI can choose different type of the things like the vex shader, or the toggle to enable or disable the parameters. Without this I can only use numbers to switch them, not good UI.
So, Are there any way to custom the UI through this command or anyway else?
So, Are there any way to custom the UI through this command or anyway else?
Technical Discussion » Snow Leopard and Houdini good to go?
- ykcosmo
- 288 posts
- Offline
…………….. -.-!….why does apple choose ATI……!!!!!!!
maybe 2 years before, the world of warcraft updated a new version, many ATI cards couldn't run it, they forced the users to buy their new cards and didn't update the driver. At that time, the nvidia updated the new driver. I will never use ATI from that time because they didn't update driver and forced the users to buy new products, the cards they dropped were not very old.
maybe 2 years before, the world of warcraft updated a new version, many ATI cards couldn't run it, they forced the users to buy their new cards and didn't update the driver. At that time, the nvidia updated the new driver. I will never use ATI from that time because they didn't update driver and forced the users to buy new products, the cards they dropped were not very old.
Technical Discussion » Snow Leopard and Houdini good to go?
- ykcosmo
- 288 posts
- Offline
Work in Progress » Some structures and abstract stuff
- ykcosmo
- 288 posts
- Offline
Technical Discussion » Snow Leopard and Houdini good to go?
- ykcosmo
- 288 posts
- Offline
-
- Quick Links