Hello.
How can i use “pscale” parameter with “mantra delayed load” geometry shader ?
I have a lot of points, but all points looks too big - how can i set “pscale” point attribute, on Delayed Load shader ? It possible ?
delayed load and PSCALE
18778 28 2- live_fx
- Member
- 160 posts
- Joined: 1月 2006
- Offline
- pclaes
- Member
- 257 posts
- Joined: 11月 2007
- Offline
You can delayed load instance. And instances can make use of your attributes.
There is a file at the bottom of this blog post that contains a setup for delayed load instancing:
http://www.peterclaes.be/blog/?p=34 [peterclaes.be]
There is a file at the bottom of this blog post that contains a setup for delayed load instancing:
http://www.peterclaes.be/blog/?p=34 [peterclaes.be]
Cg Supervisor | Effects Supervisor | Expert Technical Artist at Infinity Ward
https://www.linkedin.com/in/peter-claes-10a4854/ [www.linkedin.com]
https://www.linkedin.com/in/peter-claes-10a4854/ [www.linkedin.com]
- live_fx
- Member
- 160 posts
- Joined: 1月 2006
- Offline
pclaes
You can delayed load instance. And instances can make use of your attributes.
There is a file at the bottom of this blog post that contains a setup for delayed load instancing:
http://www.peterclaes.be/blog/?p=34 [peterclaes.be]
a lot of thanks, pclaes
- mzigaib
- Member
- 977 posts
- Joined: 4月 2008
- Offline
- mzigaib
- Member
- 977 posts
- Joined: 4月 2008
- Offline
- koen
- Member
- 793 posts
- Joined: 4月 2020
- Offline
i don't think you can do that out of the box. we wrote our own to be able to adjust scale (and v). if you have worked with the hdk before this is quit simple, based on this example:
http://www.sidefx.com/docs/hdk11.1/_v_r_a_y_2_v_r_a_y___demo_file_8_c-example.html [sidefx.com]
also, it is worth sending an rfe to sidefx about adding a cvex context to the delayed load, that would allow you to run some vex code when de file gets loaded by mantra allowing for this and many other things.
koen
http://www.sidefx.com/docs/hdk11.1/_v_r_a_y_2_v_r_a_y___demo_file_8_c-example.html [sidefx.com]
also, it is worth sending an rfe to sidefx about adding a cvex context to the delayed load, that would allow you to run some vex code when de file gets loaded by mantra allowing for this and many other things.
koen
- mzigaib
- Member
- 977 posts
- Joined: 4月 2008
- Offline
- bareya
- Member
- 31 posts
- Joined: 11月 2006
- Offline
Hey guys I did something like this:
http://bareya.net/index.php/2011/10/27/delayed-load-procedural-cvex-shader/ [bareya.net]
maybe it will be helpful for you
Cheers,
Piotr
http://bareya.net/index.php/2011/10/27/delayed-load-procedural-cvex-shader/ [bareya.net]
maybe it will be helpful for you
Cheers,
Piotr
- mzigaib
- Member
- 977 posts
- Joined: 4月 2008
- Offline
- mzigaib
- Member
- 977 posts
- Joined: 4月 2008
- Offline
- bareya
- Member
- 31 posts
- Joined: 11月 2006
- Offline
Hey I moved project to:
http://code.google.com/p/delayed-load-procedural-cvex/ [code.google.com]
There you will find compiled so file.
Cheers
http://code.google.com/p/delayed-load-procedural-cvex/ [code.google.com]
There you will find compiled so file.
Cheers
- mzigaib
- Member
- 977 posts
- Joined: 4月 2008
- Offline
- bareya
- Member
- 31 posts
- Joined: 11月 2006
- Offline
- mzigaib
- Member
- 977 posts
- Joined: 4月 2008
- Offline
Thank you very much for the help again.
Now I don't get more the error but I got black renders and nothing on alpha, still using your scene example file.
In the example file the “geo” node is using a vopsurface1 that's not existent on the shopnet so I am using a constant instead just to see if I can get something, even so nothing.
Correcting:
Even saving the files on the corrected places I am still getting the error.
I have both 11.1 and 11.0 installed could be this the problem even both of them having the files in the correct places?
Now I don't get more the error but I got black renders and nothing on alpha, still using your scene example file.
In the example file the “geo” node is using a vopsurface1 that's not existent on the shopnet so I am using a constant instead just to see if I can get something, even so nothing.
Correcting:
Even saving the files on the corrected places I am still getting the error.
I have both 11.1 and 11.0 installed could be this the problem even both of them having the files in the correct places?
- bareya
- Member
- 31 posts
- Joined: 11月 2006
- Offline
Hey,
Hmm that is strange, did you try to recompile source code ?
svn checkout http://delayed-load-procedural-cvex.googlecode.com/svn/ [delayed-load-procedural-cvex.googlecode.com] delayed-load-procedural-cvex-read-only
cd delayed-load-procedural-cvex-read-only/trunk/source
make
I fixed problem with bounding box.
EDIT:
It's my fault!
Geometry is not included to example, so you have to go geo1 and bake geometry using ROP! Because Delayed Load can't find bgeo file.
I am sorry, I have to fix it!
EDIT2:
fixed!
Cheers!
Hmm that is strange, did you try to recompile source code ?
svn checkout http://delayed-load-procedural-cvex.googlecode.com/svn/ [delayed-load-procedural-cvex.googlecode.com] delayed-load-procedural-cvex-read-only
cd delayed-load-procedural-cvex-read-only/trunk/source
make
I fixed problem with bounding box.
EDIT:
It's my fault!
Geometry is not included to example, so you have to go geo1 and bake geometry using ROP! Because Delayed Load can't find bgeo file.
I am sorry, I have to fix it!
EDIT2:
fixed!
Cheers!
- mzigaib
- Member
- 977 posts
- Joined: 4月 2008
- Offline
- bareya
- Member
- 31 posts
- Joined: 11月 2006
- Offline
no worries!
first you have to download latest version:
svn checkout http://delayed-load-procedural-cvex.googlecode.com/svn/ [delayed-load-procedural-cvex.googlecode.com] delayed-load-procedural-cvex-read-only
then go to dir:
cd delayed-load-procedural-cvex-read-only/trunk/source
and compile!
make
let me know how's going
cheers!
first you have to download latest version:
svn checkout http://delayed-load-procedural-cvex.googlecode.com/svn/ [delayed-load-procedural-cvex.googlecode.com] delayed-load-procedural-cvex-read-only
then go to dir:
cd delayed-load-procedural-cvex-read-only/trunk/source
and compile!
make
let me know how's going
cheers!
- moondeer
- Member
- 14 posts
- Joined: 9月 2011
- Offline
What I did was to take one one of the delayed load sequences, drop in a pointsop and dial in a good pscale.
That single was about 3 mil points, so hou handled it just fine.
Then I added that same pointsop to each and used a georop to write out
Only a few frames of all 5 delayed load sequences again. More render tests and scale tweaks followed… Finally I wrote out all the frames of all the seq.
I believe I also added a color attribute as well.
Kinda the long way around, but it worked.
That single was about 3 mil points, so hou handled it just fine.
Then I added that same pointsop to each and used a georop to write out
Only a few frames of all 5 delayed load sequences again. More render tests and scale tweaks followed… Finally I wrote out all the frames of all the seq.
I believe I also added a color attribute as well.
Kinda the long way around, but it worked.
- mzigaib
- Member
- 977 posts
- Joined: 4月 2008
- Offline
bareya
no worries!
first you have to download latest version:
svn checkout http://delayed-load-procedural-cvex.googlecode.com/svn/ [delayed-load-procedural-cvex.googlecode.com] delayed-load-procedural-cvex-read-only
then go to dir:
cd delayed-load-procedural-cvex-read-only/trunk/source
and compile!
make
let me know how's going
cheers!
Thanks for the help, sorry the delay.
But I am a little confused I guess I forgot to mention that I have no experience in programing, shame on me. ops:
All this code and directories should I do it on phyton shell, houdini shell or any other shell?
Thanks.
- bareya
- Member
- 31 posts
- Joined: 11月 2006
- Offline
-
- Quick Links