Jump to content

clusterThis for Houdini 10.0.401 for OSX


Recommended Posts

Hello there,

I'm trying to get the clusterThis to work. I've read the "help file"... I followed the directions correctly *i think*...

I am running on a 2 x 2.8 GHz Quad-Core Intel Xeon, 10 GB 800 MHz DDR2 FB-DIMM RAM, NVIDIA GeForce 8800GT 512 MB, MAC OS X Leopard 10.5.8 (THIS IS NOT SNOW LEOPARD) with Houdini version: 10.0.401

I ran the mantra -V4 in terminal and got "what looks to be correct results"

Registering procedural 'clusterThis'

Registering procedural 'demobox'

Registering procedural 'demofile'

Registering procedural 'demovolume'

Registering procedural 'sprite'

Registering procedural 'image3d'

Registering procedural 'metapoly'

Registering procedural 'file'

Registering procedural 'fur'

Registering procedural 'program'

Registering procedural 'hscriptinstance'

Registering procedural 'image3dvolume'

mantra Version 10.0.401 (Compiled on 09/16/09)

I put:

VRAY_clusterThis.dylib into my $HOME/Houdini10.0/dso/mantra folder

VRAYprocedural into my $HOME/Houdini10.0 folder

VM_GEO_clusterThis.otl in my $HOME/Houdini10.0/otls folder

When I open up the VRAY_clusterThis_dev_v1.4.6.hip

I noticed that in the SHOP I have some warnings on a few of the nodes that says:

"this node is using an incomplete asset definition. It will not work properly until the asset library containing the full definition is installed.

I've also included a picture of the nodes with warnings on them...."

Lastly, and most importantly, sorry to sound naive... but when I open the .hip, and just click render... nothing renders. So then I noticed there were many takes. so I tried clicking on different takes and rendering, and still got nothing to render. just "black"....

I also noticed for example, the particles node used a rop output driver. so i clicked the main take, "to allow me to edit the node". and saved the particles out to disk and then it fixed the "errors" that were in that network *due to the reference to the disk files*... So then I clicked render *on the particles take* and still didn't get anything but a pure black screen render.

Am I doing something wrong? Missing something? I really appreciate your time and help! I can't wait to get this thing up and running soon.

Jonathan

vray_mantraThis_warning1.tiff

Link to comment
Share on other sites

Oh okay B)

Thanks!

*EDIT*

Hmm, i tried that too. still got the warnings on those individual shop nodes and also don't get anything in my render.... I'm curious if the mac version was compiled on LEOPARD or SNOW LEOPARD... when I was trying to get the HOT to work, the mac version had been compiled on SNOW LEOPARD and it would not work on my computer. So I had to compile it myself on LEOPARD and it worked. Thought about trying to compile the src for the clusterThis thinking that might fix the problem but wasn't sure HOW to go about doing that. There were quite a few files in the src file. Thought i'd try to see if it could be fixed without going that route :)

Any more thoughts there?

Edited by itriix
Link to comment
Share on other sites

Oh yeah, if you haven't compiled it for 10, you have to recompile it for it to work.

And make sure for "VRAY_clusterThis.C" you add:

#include <UT/UT_DSOVersion.h>

In the includes, or else you'll get a version warning when you launch Houdini.

Link to comment
Share on other sites

Thanks. Is there a help file anywhere that explains how to compile it? I searched around but couldn't find anything. Sorry, i'm lacking in the whole compiling area and the only reason i was able to compile the HOT was because there were some directions to follow. Any help would be much appreciated.

Thanks,

Jonathan

Link to comment
Share on other sites

Thanks, it created:

VRAY_clusterThis.dylib and VRAY_clusterThis.o

I assume that's all it was supposed to create? And I should just replace my current VRAY_clusterThis.dylib with this one. Not sure but what and where do i put the VRAY_clusterThis.o?

Thanks,

Jonathan

*EDIT* in the meantime, i just tried putting them both in the same place as my old VRAY_clusterThis.dylib file in the *dso/mantra* folder. Then tried out the example file but still just plain black renders :( I'm hoping the location of where the .o file should go will fix it ;)

Edited by itriix
Link to comment
Share on other sites

Guest xionmark

*EDIT* in the meantime, i just tried putting them both in the same place as my old VRAY_clusterThis.dylib file in the *dso/mantra* folder. Then tried out the example file but still just plain black renders :( I'm hoping the location of where the .o file should go will fix it ;)

You only need the VRAY_clusterThis.dylib, the VRAY_clusterThis.o is a temp file made for the linking stage of the DSO.

Black frames? Can't help without more info.

Link to comment
Share on other sites

You only need the VRAY_clusterThis.dylib, the VRAY_clusterThis.o is a temp file made for the linking stage of the DSO.

Black frames? Can't help without more info.

Okay thanks. Not very familiar with the whole "compiling side of things"....

As for more info:

The first post has all my computer/houdini version info...

I downloaded the mantra_clusterThis_v1.4.6 from this link. it was named mantra_clusterThis_v1.4.6.tar.gz. as stated in the first post, i installed all of the necessary files to the locations specified in the directions. I then tried the debug tips of mantra -V4, everything checked out good.

I then opened the VRAY_clusterThis_dev_v1.4.6.hip... I assumed i would be able to probably just render one of the examples. So to start, I just tried to render, without doing anything. It returned a black frame with no info in it. So I looked around for what might be the cause. I noticed there were some errors in the (particles) geo node. There was a file node that was referencing the rop_geo node... The rop_geo node was pointing to a file location that didn't exist: geo/particles_$F4.bgeo... so i changed it to: $HIP/geo/particles_$F4.bgeo, and simmed out the particles, and the network errors disappeared. I saw the cached out particles on the screen. From here, i tried to render again. Still just a blank black frame with no info in any channels. That sent me looking around some more. I noticed that in the SHOP, I was getting some warnings on a few select nodes *which i posted a pic of in an earlier post up above here*.... Ratman suggested that I needed to INSTALL the OTL from the INSTALL DIGITAL ASSET menu. I tried that. Clicked render... Still just a black frame. I then noticed there were a bunch of takes. So I started clicking on individual takes, and clicking render. Black frame for every single take. I tried to render ALL of them. I got nothing every single time. I can see POINTS in my viewport. So it's not that the POINTS aren't there. They are there. But no matter what I do, when i click RENDER, nothing shows up. Just black. It's about at this point that I felt like MAYBE it had to do with the compile. Since, for example, with the HOT, since it was compiled on SNOW LEOPARD, it wasn't working on my NORMAL LEOPARD OS... SO after I compiled it myself, it worked! That's why I tried to compile it myself. And with Ratman and your help, I did a compile. It created the two files I mentioned above. I tried replacing the old dylib with the new one. I opened up the .hip again. And tried to render each take. Still black for each one. I tried looking around a bit more, and noticed that the VM_GEO_clusterThis_test_geo node by default was referencing a geometry file path of $HIP/tetrahedron.bgeo i noticed i think it should be $HIP/geo/tetrahedron.bgeo instead. Different takes had some different paths set up for that GEOMETRY FILE path. So i kept looking around. Some paths looked fine in some takes, some seemed wrong. But even if i changed the paths to what i thought should be correct, and then clicked RENDER, it still only gave me a BLACK frame, with no info in any channels. I also noticed that in the particles GEO node, for some takes, the "texture" node, pointed to perspective from camera and pointed to /obj/cam_particles... However, there is no cam_particles... So i tried just duplicating the camera node, and changed the name to cam_particles. I clicked render, still only a black frame. Every take, every combination i tried, i did not see anything in the render. For now I think this should suffice for explanation. Please let me know what other info could help you out.

I really appreciate you taking the time to help me. I wish I could be of more help myself! Let me know what I can do to help you help me out here

Thanks,

Jonathan

Link to comment
Share on other sites

Guest xionmark

Slow down a bit, you're shootin' in the dark there ...

A render time procedural is a bit more of an advanced topic I suppose, and as such it takes a bit more skill to debug (and yes, the example file isn't perfect). Attached is a simple hip file, open it in Houdini, set the camera, turn on point display so you can see the points, and hit render. You should see a lot of info being sent to the console as the process continues (see below) and you should have an image like the one attached. If it doesn't render, there's something is wrong with the setup on your machine. Once you get it sorted out, take some time to learn a bit more about Houdini and mantra, shading in particular, it will make life much easier.

Mark


VRAY_clusterThis::VRAY_clusterThis() - Version: 1.4.6
VRAY_clusterThis::VRAY_clusterThis() - Built for Houdini Version: 9.5.379
VRAY_clusterThis::render() Instancing ...
VRAY_clusterThis::render() Number of points of incoming geometry: 100
VRAY_clusterThis::dumpParameters() myPrimType: 0
VRAY_clusterThis::dumpParameters() myNumCopies: 11
VRAY_clusterThis::dumpParameters() myRecursion: 19
VRAY_clusterThis::dumpParameters() myMethod: 0
VRAY_clusterThis::dumpParameters() myNoiseType: 1
VRAY_clusterThis::dumpParameters() myNoiseAmp: 0
VRAY_clusterThis::dumpParameters() myNoiseAtten: 0.007
VRAY_clusterThis::dumpParameters() myNoiseSeed: 7
VRAY_clusterThis::dumpParameters() myFractalDepth: 8
VRAY_clusterThis::dumpParameters() myRadius: 1.78
VRAY_clusterThis::dumpParameters() myRough: 1.259
VRAY_clusterThis::dumpParameters() mySize: 1 1 1
VRAY_clusterThis::dumpParameters() myFreq: 1 1 1
VRAY_clusterThis::dumpParameters() myOffset: 0 0 0
VRAY_clusterThis::dumpParameters() myBirthProb: 0.583
VRAY_clusterThis::dumpParameters() myDoMotionBlur: 0
VRAY_clusterThis::dumpParameters() myShutter: 0.084
VRAY_clusterThis::dumpParameters() myFilterType: 0
VRAY_clusterThis::dumpParameters() myFilterAmp: 0
VRAY_clusterThis::dumpParameters() myCopyAttrs: 1
VRAY_clusterThis::dumpParameters() myBlendAttrs: 0
VRAY_clusterThis::dumpParameters() myGeoFile: 
VRAY_clusterThis::dumpParameters() myTempFname: ""
VRAY_clusterThis::dumpParameters() myUseTempFile: 0
VRAY_clusterThis::dumpParameters() mySaveTempFile: 0
VRAY_clusterThis::dumpParameters() myCVEXFname: clusterThis_test.vex
VRAY_clusterThis::dumpParameters() myCVEX_Exec: 0
VRAY_clusterThis::dumpParameters() myCVEXPointVars.cvex_Cd_pt: 0
VRAY_clusterThis::dumpParameters() myCVEXPointVars.cvex_Alpha_pt: 0
VRAY_clusterThis::dumpParameters() myCVEXPointVars.cvex_N_pt: 0
VRAY_clusterThis::dumpParameters() myCVEXPointVars.cvex_v_pt: 0
VRAY_clusterThis::dumpParameters() myCVEXPointVars.cvex_pscale_pt: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_Cd_prim: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_Alpha_prim: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_N_prim: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_v_prim: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_pscale_prim: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_weight_prim: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_width_prim: 0
VRAY_clusterThis::dumpParameters() myOTLVersion: 1.4.6
VRAY_clusterThis::dumpParameters() myVelocityScale: 0.0208333
VRAY_clusterThis::dumpParameters() myVerbose: 2
VRAY_clusterThis::dumpParameters() Current gdp bounding box (myBox):
VRAY_clusterThis::dumpParameters() -3.73448 4.82632
VRAY_clusterThis::dumpParameters() -5.9664 3.66297
VRAY_clusterThis::dumpParameters() -7.09339 1.58678
VRAY_clusterThis::dumpParameters() Bounding Box Parms:
VRAY_clusterThis::dumpParameters() -20 20
VRAY_clusterThis::dumpParameters() -20 20
VRAY_clusterThis::dumpParameters() -20 20
VRAY_clusterThis::render() - Using "instance all the geometry at once" method
VRAY_clusterThis::render() Number of points processed: 11 Number of instances: 1034
VRAY_clusterThis::render() Number of points processed: 22 Number of instances: 2068
VRAY_clusterThis::render() Number of points processed: 33 Number of instances: 3102
VRAY_clusterThis::render() Number of points processed: 44 Number of instances: 4136
VRAY_clusterThis::render() Number of points processed: 55 Number of instances: 5170
VRAY_clusterThis::render() Number of points processed: 66 Number of instances: 6204
VRAY_clusterThis::render() Number of points processed: 77 Number of instances: 7238
VRAY_clusterThis::render() Number of points processed: 88 Number of instances: 8272
VRAY_clusterThis::render() Number of points processed: 99 Number of instances: 9306
VRAY_clusterThis::render() - Memory usage(MB): 0.825138
VRAY_clusterThis::render() Total number of instances: 9400
VRAY_clusterThis::VRAY_clusterThis() - Version: 1.4.6
VRAY_clusterThis::VRAY_clusterThis() - Built for Houdini Version: 9.5.379
VRAY_clusterThis::render() Instancing ...
VRAY_clusterThis::render() Number of points of incoming geometry: 100
VRAY_clusterThis::dumpParameters() myPrimType: 0
VRAY_clusterThis::dumpParameters() myNumCopies: 11
VRAY_clusterThis::dumpParameters() myRecursion: 19
VRAY_clusterThis::dumpParameters() myMethod: 0
VRAY_clusterThis::dumpParameters() myNoiseType: 1
VRAY_clusterThis::dumpParameters() myNoiseAmp: 0
VRAY_clusterThis::dumpParameters() myNoiseAtten: 0.007
VRAY_clusterThis::dumpParameters() myNoiseSeed: 7
VRAY_clusterThis::dumpParameters() myFractalDepth: 8
VRAY_clusterThis::dumpParameters() myRadius: 1.78
VRAY_clusterThis::dumpParameters() myRough: 1.259
VRAY_clusterThis::dumpParameters() mySize: 1 1 1
VRAY_clusterThis::dumpParameters() myFreq: 1 1 1
VRAY_clusterThis::dumpParameters() myOffset: 0 0 0
VRAY_clusterThis::dumpParameters() myBirthProb: 0.583
VRAY_clusterThis::dumpParameters() myDoMotionBlur: 0
VRAY_clusterThis::dumpParameters() myShutter: 0.084
VRAY_clusterThis::dumpParameters() myFilterType: 0
VRAY_clusterThis::dumpParameters() myFilterAmp: 0
VRAY_clusterThis::dumpParameters() myCopyAttrs: 1
VRAY_clusterThis::dumpParameters() myBlendAttrs: 0
VRAY_clusterThis::dumpParameters() myGeoFile: 
VRAY_clusterThis::dumpParameters() myTempFname: ""
VRAY_clusterThis::dumpParameters() myUseTempFile: 0
VRAY_clusterThis::dumpParameters() mySaveTempFile: 0
VRAY_clusterThis::dumpParameters() myCVEXFname: clusterThis_test.vex
VRAY_clusterThis::dumpParameters() myCVEX_Exec: 0
VRAY_clusterThis::dumpParameters() myCVEXPointVars.cvex_Cd_pt: 0
VRAY_clusterThis::dumpParameters() myCVEXPointVars.cvex_Alpha_pt: 0
VRAY_clusterThis::dumpParameters() myCVEXPointVars.cvex_N_pt: 0
VRAY_clusterThis::dumpParameters() myCVEXPointVars.cvex_v_pt: 0
VRAY_clusterThis::dumpParameters() myCVEXPointVars.cvex_pscale_pt: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_Cd_prim: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_Alpha_prim: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_N_prim: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_v_prim: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_pscale_prim: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_weight_prim: 0
VRAY_clusterThis::dumpParameters() myCVEXPrimVars.cvex_width_prim: 0
VRAY_clusterThis::dumpParameters() myOTLVersion: 1.4.6
VRAY_clusterThis::dumpParameters() myVelocityScale: 0.0208333
VRAY_clusterThis::dumpParameters() myVerbose: 2
VRAY_clusterThis::dumpParameters() Current gdp bounding box (myBox):
VRAY_clusterThis::dumpParameters() -3.73448 4.82632
VRAY_clusterThis::dumpParameters() -5.9664 3.66297
VRAY_clusterThis::dumpParameters() -7.09339 1.58678
VRAY_clusterThis::dumpParameters() Bounding Box Parms:
VRAY_clusterThis::dumpParameters() -20 20
VRAY_clusterThis::dumpParameters() -20 20
VRAY_clusterThis::dumpParameters() -20 20
VRAY_clusterThis::render() - Using "instance all the geometry at once" method
VRAY_clusterThis::render() Number of points processed: 11 Number of instances: 1034
VRAY_clusterThis::render() Number of points processed: 22 Number of instances: 2068
VRAY_clusterThis::render() Number of points processed: 33 Number of instances: 3102
VRAY_clusterThis::render() Number of points processed: 44 Number of instances: 4136
VRAY_clusterThis::render() Number of points processed: 55 Number of instances: 5170
VRAY_clusterThis::render() Number of points processed: 66 Number of instances: 6204
VRAY_clusterThis::render() Number of points processed: 77 Number of instances: 7238
VRAY_clusterThis::render() Number of points processed: 88 Number of instances: 8272
VRAY_clusterThis::render() Number of points processed: 99 Number of instances: 9306
VRAY_clusterThis::render() - Memory usage(MB): 0.825138
VRAY_clusterThis::render() Total number of instances: 9400
VRAY_clusterThis::exitClusterThis() - Preparing to exit!
VRAY_clusterThis::exitClusterThisReal() - Exiting

Link to comment
Share on other sites

Hey Mark,

Once again, thanks for your help. It's still not working though. I'll have to re-evaluate the situation.

Some notes though:

1. When I first load the scene it throws an error:

Warning: Skipping unrecognized parameter "rf_part_geo_file".

Skipping unrecognized parameter "rf_part_geo_file".

2. In shops, there are still warnings on the nodes that i posted a pic to earlier in this post, aurora1, pattern1, VM_GEO_DemoVolumeSphere1 and flame... I'm assuming I don't need these for this to work however anyways.

3. Since I couldn't get it to work, i tried changing some things and saving to a new file... When I did that, I got some different error messages on loading the hip... It says:

Warning: Bad parameter reference: "../flame_flameramp1pos" in parameter /obj/shopnet/flame/flameramp1pos.
 Bad parameter reference: "../flame_flamealpharamp1pos" in parameter /obj/shopnet/flame/flamealpharamp1pos.
 Bad parameter reference: "../flame_flameramp2pos" in parameter /obj/shopnet/flame/flameramp2pos.
 Bad parameter reference: "../flame_flameramp2pos" in parameter /obj/shopnet/flame/flameramp2pos.
 Bad parameter reference: "../flame_flamealpharamp2pos" in parameter /obj/shopnet/flame/flamealpharamp2pos.
 Bad parameter reference: "../flame_flamealpharamp2pos" in parameter /obj/shopnet/flame/flamealpharamp2pos.

I figured, after looking around at WHAT everything is doing, that this shouldn't be the reason for my "not rendering"

I tried just clicking render on the mantra node, and it instantly exits. I looked around and noticed there are some paths that did not exist. I created the folders in my $HIP directory: ifd, rnd, txt... and then i changed the paths:

in the mantra rop:
disk file:
${IFD}/cluster_test_$F4.ifd
that didn't exist, so i changed it to:
$HIP/${IFD}/cluster_test_$F4.ifd

output path:
${RND}/cluster_tracer_v${TRACER_VER}_$F4.exr
that didn't exist, so i changed it to:
$HIP/${RND}/cluster_tracer_v${TRACER_VER}_$F4.exr

in the key light:
the shadow path was set to:
./txt/key_$F4.rat
that didn't exist, so i changed it to:
$HIP/txt/key_$F4.rat

and the last thing that I could find was:
in SHOPS, the VM_GEO_clusterThis_test_geo
had a file path set to: $HIP/tetrahedron.bgeo... which wasn't there, so i moved the tetrahedron from the /geo folder to the main hip directory.

the CVEX tab CVEX SHADER path was set to: clusterThis_test.vex, which it didn't seem to recognize the path for either, so i added a $HIP/clusterThis_test.vex...

after changing all of that, i tried to render. it generates the ifds, but still does not render an IMAGE out. Also, i'm not getting any output in my window like you are having.

As for recompiling:

in the VRAY_clusterThis.C I noticed:

#define H_VERSION "9.5.379" , should i change that to 10.0.401 instead?

When I compile: i get this warning: Maybe that helps some?

Install directory = '.'
Making VRAY_clusterThis.o and ./VRAY_clusterThis.dylib from VRAY_clusterThis.C
cc1plus: warning: command line option "-fobjc-gc-only" is valid for ObjC/ObjC++ but not for C++
VRAY_clusterCVEXUtil.C:54: warning: ‘void dumpValue(CVEX_Value*)’ defined but not used

Any more suggestions? In the meantime, i'll try recompiling the src to create the .dylib file again... and try redoing everything from scratch for installation. I'm at about 99.9999999999999999999 percent sure that i put everything in the correct location per the directions i mean.

Thanks,

Jonathan

Edited by itriix
Link to comment
Share on other sites

Guest xionmark

Warning: Skipping unrecognized parameter "rf_part_geo_file".

Skipping unrecognized parameter "rf_part_geo_file".

You can ignore this, it's just a warning from a parm that is in a version of the OTL that is in development, not related to your problem at all.

in the mantra rop:

disk file:

${IFD}/cluster_test_$F4.ifd�

that didn't exist, so i changed it to:

$HIP/${IFD}/cluster_test_$F4.ifd

....

<SNIP>

Again, not related ...

Dude, you're digging through the hip file and thinking you're finding the problem and they are *not* related ... OK?

Don't know what else to suggest except maybe compiling the VRAY Demo Box example that comes with the HDK examples, install that and see if it works. And, take a deep breathe ... geeez ...

:ph34r:

Link to comment
Share on other sites

fixed it :)

sorry, when i really want to figure something out, i keep trying until i get it... it payed off! when the render finally popped up, my heart just froze!

I opened up the VRAY_Procedural to look at the inside and noticed that it was different from the VRAY_Procedural.OSX_EXAMPLE... "there was no path to the dylib file"... so i put the path in, and this time it worked :)

Seriously, thanks for your help. I really do appreciate your efforts. I know I may have come off a bit eager to get this thing working, reporting every error that i could find (related or not related), but to be honest, when i first learned about clusterThis back in Houdini 9.5, i wanted to try it out so bad but couldn't get it working. So I waited for the H10 compile and when it was released I still wasn't able to get it to work. Really, i'm just a particle guy trying to get some more bulk to my particles :ph34r: and I was going to do everything I could think of to try and get it installed.

Once again, Thanks for your time,

Jonathan

Edited by itriix
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...