VRAY samples :lol:

   5729   8   1
User Avatar
Member
282 posts
Joined: Jan. 2006
Offline
Hi! I have compiled VRAY_demoBox. Now I'm trying to connect .so to houdini. There is no any shop interface, you know. So I'm trying to make a dialog script and then parse it through dsparse-bin. Am I right?
So, how can I make a dialog script for this so? Thanks!
Houdini is great! O'right?
User Avatar
Staff
2597 posts
Joined: July 2005
Offline
Wish
Hi! I have compiled VRAY_demoBox. Now I'm trying to connect .so to houdini. There is no any shop interface, you know. So I'm trying to make a dialog script and then parse it through dsparse-bin. Am I right?
So, how can I make a dialog script for this so? Thanks!

Actually, it's still possible to use the old .ds file interface.

However, the easiest way is to go to the operator type manager…
1) In the “filter”, enter “file”
2) Find the Shop/vm_geo_file in OPlibShopVMantra.otl
3) Right mouse button over the operator definition and choose “Copy”.

I'll submit a bug so that the “New Operator Type” interface can be used to create geometry SHOPs.
User Avatar
Member
282 posts
Joined: Jan. 2006
Offline
Hi, Mark! That will be great to make geometry shops from op type manager!
Thanks for tips. I will try tomorrow
Houdini is great! O'right?
User Avatar
Member
282 posts
Joined: Jan. 2006
Offline
Hey Mark! It works. But tell me please, how I can link this to VRAY_demoBox.so? Thanks
Houdini is great! O'right?
User Avatar
Staff
2597 posts
Joined: July 2005
Offline
Wish
Hey Mark! It works. But tell me please, how I can link this to VRAY_demoBox.so? Thanks

If you look in the type properties, on the first tab, you'll see the “shader” namd. This should be set to the name of the procedural (in this case “demobox”, since that's the name in the VRAYprocedural file.

Then, you need to edit the parameters to match the parameters to your procedural (in this case, 2 vectors “minbound” and “maxbound”).
User Avatar
Member
282 posts
Joined: Jan. 2006
Offline
Yeah! It works! Thanks!
Houdini is great! O'right?
User Avatar
Member
282 posts
Joined: Jan. 2006
Offline
One more question. How can I get attrs from sops. Simple example:
Take a polyspehere and build a lot of boxes. One per point.
I need to get a position of current point, I think. And then I need to loop all points.

queryObject (const char *name) or smth like that will helps me?
Houdini is great! O'right?
User Avatar
Staff
2597 posts
Joined: July 2005
Offline
Wish
One more question. How can I get attrs from sops. Simple example:
Take a polyspehere and build a lot of boxes. One per point.
I need to get a position of current point, I think. And then I need to loop all points.

queryObject (const char *name) or smth like that will helps me?

That might require a little more knowledge of the HDK and the geometry structures… You might want to look at how SOPs deal with attributes…
User Avatar
Member
14 posts
Joined: Dec. 2008
Offline
I am also trying to run the demoBox example.
I compiled wirh hcustom read in the FAQ to set the path in VRAYprocedural file and checked procedurals with mantra -V4 but cant make it work.
Any ideas (i am on windows 32)?

Error is
mantra: Cannot allocate procedural ‘demobox’ on object /obj/tube_object1

looks like the same error
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=64180&sid=6df9db1d5a703bc73427a22c57e0179d [sidefx.com]

EDIT: got it working never mind
  • Quick Links