Hi,guys
I want to store 10 points' positon into a vector array, how to do that?
for(int a=0;a<10;++a){
UT_Vector3 pos = ppt->getPos();
UT_Vector3Array VA;
}
and how to let ppt pointer point to the next point after one loop.
thanks .
Found 52 posts.
Search results Show results as topic list.
Technical Discussion » VectorArray in HDK
- horizon1231
- 52 posts
- Offline
Technical Discussion » HDK suggestion
- horizon1231
- 52 posts
- Offline
cybermaxthanks,I will look into
Maybe help this:
GU_Detail *pgdp = (GU_Detail *)inputGeo(0, context);
GEO_Point *pt;
FOR_ALL_GPOINTS(pgdp, pt){
UT_Vector3 pos = pt.getPos();
GEO_AttributeHandle col= pgdp->getPointAttribute(“Cd”);
col.setElement(pt);
UT_Vector3 color = col.getV3();
printf(“color: %f, %f, %f\n”, color.x(), color.y(), color.z() );
}
Technical Discussion » HDK suggestion
- horizon1231
- 52 posts
- Offline
Hey guys,
I want to query point attribute within 10 points like P,Cd atrr, then want to
print them to a custom format.
which hdk api template should I use to query att?
any suggestions will be welcome!
I want to query point attribute within 10 points like P,Cd atrr, then want to
print them to a custom format.
which hdk api template should I use to query att?
any suggestions will be welcome!
Technical Discussion » instance problem
- horizon1231
- 52 posts
- Offline
Hi,there
I am doing a little instance practice,I want each bee's wings in my file get a random speed according to template particle id.now my problem is that looks very uniform.
any help would be appreciate.
I am doing a little instance practice,I want each bee's wings in my file get a random speed according to template particle id.now my problem is that looks very uniform.
any help would be appreciate.
Technical Discussion » Bullet physics implementation and other stuff
- horizon1231
- 52 posts
- Offline
cybermaxhorizon1231
cybermax may compiled bullet as a static dso ,i assume. so it can not be used with later version.
if he build bullet as dynamic, we must compile bullet libary by self.
I am using hcmd.exe with >hcustom SOP_bullet.cpp<
of course I have some -L -l -I parameters
check hcustom –help for detail
-s
-g
-e
…
Technical Discussion » Bullet physics implementation and other stuff
- horizon1231
- 52 posts
- Offline
goldleaf
I've experienced both. Some plugins have been compiled with one version, and still load in later builds of houdini. Others need to be recompiled for each build. I believe it all depends on what changes are occurring under the hood, and if they affect the HDK functions used by the plugin.
cybermax may compiled bullet as a static dso ,i assume. so it can not be used with later version.
if he build bullet as dynamic, we must compile bullet libary by self.
Technical Discussion » Bullet physics implementation and other stuff
- horizon1231
- 52 posts
- Offline
cybermax
Ok, I try destroying large huge building(20 000 objects, 200 000constraints) and I discover few critic bugs, but mainly Generation structures(and constraints) at first frame is really very slow and during simulation I get times like this:
stepBullet: 20s
updateGeometry: 25s
so update objects transformation is slow too, Bullet is faster :shock:
So I decided for drastic changes, so next version will be 5x faster(at a guess) and less memory needed. But I must create all new GUI, but speed will be awesome!!!
I write this for you, who plane large destruction. Dont use actual plugin, wait for next version.
have a look at this thread,u might build this with H10, and compare speed
http://forums.odforce.net/index.php?/topic/11750-houdini-11-vs-houdini-9-5/ [forums.odforce.net]
Technical Discussion » Bullet physics implementation and other stuff
- horizon1231
- 52 posts
- Offline
Houdini Lounge » startup error
- horizon1231
- 52 posts
- Offline
I install H11..0.446.9 on a virtual winxp64 OS with virtualbox.
but cant not start H.
console message:
Error finding shelf files:
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\shelfutils.py”, line 8, in <module>
import assetdownload
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\assetdownload.py”, line 5, in <module>
import urllib
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\urllib.py”, line 26, in <module>
import socket
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\socket.py”, line 46, in <module>
import _socket
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
Error finding shelf files:
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\shelfutils.py”, line 8, in <module>
import assetdownload
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\assetdownload.py”, line 5, in <module>
import urllib
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\urllib.py”, line 26, in <module>
import socket
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\socket.py”, line 46, in <module>
import _socket
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
Error finding shelf files:
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\shelfutils.py”, line 8, in <module>
import assetdownload
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\assetdownload.py”, line 5, in <module>
import urllib
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\urllib.py”, line 26, in <module>
import socket
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\socket.py”, line 46, in <module>
import _socket
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
Error finding shelf files:
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\shelfutils.py”, line 8, in <module>
import assetdownload
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\assetdownload.py”, line 5, in <module>
import urllib
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\urllib.py”, line 26, in <module>
import socket
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\socket.py”, line 46, in <module>
import _socket
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
368: Fatal error: Segmentation Fault
Saving application data to CDOCUME~1/ADMINI~1/LOCALS~1/Temp/Administrator.368.hip
but cant not start H.
console message:
Error finding shelf files:
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\shelfutils.py”, line 8, in <module>
import assetdownload
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\assetdownload.py”, line 5, in <module>
import urllib
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\urllib.py”, line 26, in <module>
import socket
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\socket.py”, line 46, in <module>
import _socket
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
Error finding shelf files:
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\shelfutils.py”, line 8, in <module>
import assetdownload
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\assetdownload.py”, line 5, in <module>
import urllib
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\urllib.py”, line 26, in <module>
import socket
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\socket.py”, line 46, in <module>
import _socket
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
Error finding shelf files:
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\shelfutils.py”, line 8, in <module>
import assetdownload
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\assetdownload.py”, line 5, in <module>
import urllib
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\urllib.py”, line 26, in <module>
import socket
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\socket.py”, line 46, in <module>
import _socket
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
Error finding shelf files:
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\shelfutils.py”, line 8, in <module>
import assetdownload
File “CPROGRA~1/SIDEEF~1/HOUDIN~1.9/houdini/python2.6libs\assetdownload.py”, line 5, in <module>
import urllib
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\urllib.py”, line 26, in <module>
import socket
File “C:\PROGRA~1\SIDEEF~1\HOUDIN~1.9\python26\lib\socket.py”, line 46, in <module>
import _socket
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
368: Fatal error: Segmentation Fault
Saving application data to CDOCUME~1/ADMINI~1/LOCALS~1/Temp/Administrator.368.hip
Technical Discussion » Bullet physics implementation and other stuff
- horizon1231
- 52 posts
- Offline
cybermaxfor linux is much easier than windows.If your build is h11.xx.gcc4.3 , than u only need gcc 4.3 install with ur system.open ur bash shell, type “source houdini_setup_bash”, so all environment variable is set up. then type “hcustom bullet.C”
fsimerey: sorry, source code is only for me eyes
From linux I am really crazy :shock: , ok I release win and them I will see 8)
and I believe Linux64 is commonly used.
Houdini Lounge » Occlusion Material removed?
- horizon1231
- 52 posts
- Offline
rmagee
Our goal was to focus people's attention on one way of getting occlusion instead of presenting two ways that are completely different. It would be great to hear from more people who would like to see occlusion on the shader.
Your feedback on this issue is very helpful. Another question is whether or not you would want the occlusion vop in the Mantra Surface material - this could provide an occlusion export which is independent from the diffuse and specular lighting and you would not need to create a separate pass with unique shader assignments.
Some sample scenes with your preferred lighting setup would also help us determine how people like to prepare their output channels in production (if you have any time…)
Thanks,
Robert
I want to know if sesi will look into the tech used in Avatar to calc occusion .
http://portal.acm.org/citation.cfm?doid=1778765.177877 [portal.acm.org]
Technical Discussion » Bullet physics implementation and other stuff
- horizon1231
- 52 posts
- Offline
Houdini Lounge » old style zooming
- horizon1231
- 52 posts
- Offline
Hi, there
Do u guys miss the old style zooming? with smaller icon size of operater,but the size of op's name(the size of character).
Is there any chance to go back ,like earlier version
Do u guys miss the old style zooming? with smaller icon size of operater,but the size of op's name(the size of character).
Is there any chance to go back ,like earlier version
Technical Discussion » divergence pop
- horizon1231
- 52 posts
- Offline
Technical Discussion » how to blast off objs randomized?
- horizon1231
- 52 posts
- Offline
hi,guys
I encounter a new problem. I use johner's voronoi shatter tool to shatter
an animated sphere, and want to blast it after frame 15.
but nothing blasted.
if I use a static object, that works.why?
I encounter a new problem. I use johner's voronoi shatter tool to shatter
an animated sphere, and want to blast it after frame 15.
but nothing blasted.
if I use a static object, that works.why?
Edited by - June 22, 2010 21:55:31
Technical Discussion » how to blast off objs randomized?
- horizon1231
- 52 posts
- Offline
Technical Discussion » how to blast off objs randomized?
- horizon1231
- 52 posts
- Offline
I use a magnet dop and a metaball force to blast objects, but they always
blast radially, how to randomize the direction?
blast radially, how to randomize the direction?
Technical Discussion » how to make particles stick on surfaces
- horizon1231
- 52 posts
- Offline
Infernalspawnwhilst my uv change every frame,how to ?
from the top of my head,
for the sticking: you could try:
store the UV where the particle was birthed from ? and try to use this information later to get the current position in space of that uv-coordinate (i dont know if there is actualy a node/expr that can do this right away?)
if you're not constantly birthing geometry and the topology is not chaning
you could use rest position of where you're birthing from,
1) –> animated Geo add Rest Position attrib
2) –> pos->savePos, swap Pos & restPos,
3) –> pCloud magic using ParticleRest Post to get savePos from (2)
for the blowing of:
check the Acceleration if it is above a certain value move the particle to another group which does not do the sticking
cheers Seb
Technical Discussion » Massive RIBs to Houdini
- horizon1231
- 52 posts
- Offline
drexelcould you post it here? can't access massive forum.
If you look on the massive community forum, there's an otl I put together for rendering massive sims via Houdini (PRMan). One caveat, I used our edu license, so it comes in as non-commercial…easy enough to dissect though. It'll also load in stand in geometry for your agents for blocking.
Chris
Technical Discussion » Massive RIBs to Houdini
- horizon1231
- 52 posts
- Offline
-
- Quick Links