yes, that's what I did before H13. H13 new lighting contribution works like a charm
any idea how the ‘lightmask’ label works??
anyway, thank you for your help
Found 46 posts.
Search results Show results as topic list.
Technical Discussion » disable specular lighting on per obj or shader basis?
- jorosy
- 47 posts
- Offline
Technical Discussion » disable specular lighting on per obj or shader basis?
- jorosy
- 47 posts
- Offline
thank you Joker, overwriting spec geometry attribute will not filter per lighting component, sorry I didn't make it clear. ops:
There are few lights illuminate the same object. I like to switch off specular but still receive diffuse contribution from one of those lights, and other lights illuminate as normal. I used to setup extra light only for this object with specular lighting off, but it's messy when scene gets complex. Wonder if there is something on object or geometry level that combine “light mask” on object node and “light contributions” on light node does per light contribution component filtering.
For shader, I just found ‘lightmask’ does per shading component support.
http://www.sidefx.com/docs/houdini13.0/vex/contexts/shading_contexts#lightmask [sidefx.com]
I setup a sphere scene with 2 lights(light1, light2) and following code on inlineVop connect to surfaceOutputVOP of a material shader builder.
vector nn=normalize(N);
$f = diffuse(nn, .5, “lightmask”, “light1”) * 2;
Both light illuminate as without “lightmask”, I couldn't get it work.
There are few lights illuminate the same object. I like to switch off specular but still receive diffuse contribution from one of those lights, and other lights illuminate as normal. I used to setup extra light only for this object with specular lighting off, but it's messy when scene gets complex. Wonder if there is something on object or geometry level that combine “light mask” on object node and “light contributions” on light node does per light contribution component filtering.
For shader, I just found ‘lightmask’ does per shading component support.
http://www.sidefx.com/docs/houdini13.0/vex/contexts/shading_contexts#lightmask [sidefx.com]
I setup a sphere scene with 2 lights(light1, light2) and following code on inlineVop connect to surfaceOutputVOP of a material shader builder.
vector nn=normalize(N);
$f = diffuse(nn, .5, “lightmask”, “light1”) * 2;
Both light illuminate as without “lightmask”, I couldn't get it work.
Technical Discussion » disable specular lighting on per obj or shader basis?
- jorosy
- 47 posts
- Offline
I like to disable specular component from a light base on per object or shader without separate lighting setup. Is it possible to set this up on per object basis?
Does something like light selection(mask) exists on Physically Based Specular VOP or Diffuse VOP shading component inside shader??
Thank you
Does something like light selection(mask) exists on Physically Based Specular VOP or Diffuse VOP shading component inside shader??
Thank you
Edited by - Sept. 29, 2014 16:52:11
Technical Discussion » dop import sop point P representation ???
- jorosy
- 47 posts
- Offline
what's the point ‘P’ position representation when dop import object as point?? I couldn't find it record on dop position data. It seems like a matrix multiplication product from various position data. Any body has insight of it??
I try to recreate the dop import mechanism from dop import records node, as it extract more field data at once, so I don't have to manual extract custom data one by one with dop expression if use dop import node.
I try to recreate the dop import mechanism from dop import records node, as it extract more field data at once, so I don't have to manual extract custom data one by one with dop expression if use dop import node.
Technical Discussion » display over screen size info of dop node data plug??
- jorosy
- 47 posts
- Offline
on most dop node data input, when middle mouse click over the green input plug, it displays the acceptable input node type as showing in the image, how do I display the rest of the info while it over screen size?? Is there any hscript or python command I can echo into script pane like opinfo?? Or any secret acsii config file hidden somewhere??
Technical Discussion » geometry group behavior change in 12.5 or is it bug??
- jorosy
- 47 posts
- Offline
hi, edward, thank you for reply. :wink:
Test with 12.5.391, problem remains. I just submit a bug report with an image below to demostrate the problem. If I open a file build in 12.1 having setup like polyextrude and group in a chain in 12.5 build, it basically mess up all the group members down stream.
thanks for help
Test with 12.5.391, problem remains. I just submit a bug report with an image below to demostrate the problem. If I open a file build in 12.1 having setup like polyextrude and group in a chain in 12.5 build, it basically mess up all the group members down stream.
thanks for help
Technical Discussion » geometry group behavior change in 12.5 or is it bug??
- jorosy
- 47 posts
- Offline
in 12.1 build
{ grid -> group -> polyextrude }, grid geometry associates by group and accessible down the chain. now in 12.5, group geometry expand along with new geometry create by polyextrude and lost original grid association. Is this a bug or desire change as new feature??
in 12.1 build
{ grid -> group -> attributeCreate -> polyextrude }, group geometry inherits any down stream created attribute and having original grid accessible. How would I retrieve this grid geometry with down stream attribute in 12.5 build?? The new group parameter ‘merge operation’ seems only handle group collision.
{ grid -> group -> polyextrude }, grid geometry associates by group and accessible down the chain. now in 12.5, group geometry expand along with new geometry create by polyextrude and lost original grid association. Is this a bug or desire change as new feature??
in 12.1 build
{ grid -> group -> attributeCreate -> polyextrude }, group geometry inherits any down stream created attribute and having original grid accessible. How would I retrieve this grid geometry with down stream attribute in 12.5 build?? The new group parameter ‘merge operation’ seems only handle group collision.
Technical Discussion » gasAdvectDop use geometry vel advect field??
- jorosy
- 47 posts
- Offline
on gasAdvectDop help card, the parameter “use geometry velocity” enable geometry and field advection from geometry velocity instead of vel field. How do I get field advection works like help card describe?? only geometry advection works for me.
Technical Discussion » vex accessing ramp parameter on custom vex node??
- jorosy
- 47 posts
- Offline
rafal, thank you for sbmitted as RFE, I will have look the py file you mention. Big Thanks
Technical Discussion » vex accessing ramp parameter on custom vex node??
- jorosy
- 47 posts
- Offline
I create an otl in “vex builder type” so its instance is a vex node. A ramp parameter is added on this vex node via type properties parameters pane. On this pane, the “VEX Ramp Variable”: ‘Basis Name’, ‘Keys Name’ and ‘Values Name’ is assgned. How do I accessing this ramp basis, keys, vals inside inner vex code??
I am having undefined variable error while compile??
please help !!
I am having undefined variable error while compile??
please help !!
Technical Discussion » efficiency in vexbuilder networks/render speed
- jorosy
- 47 posts
- Offline
Thank you guys , those great info should probably include in doc.
Could I get more info about this pre-optimization somewhere?? or output ascii code after pre-optimization to see how optimization works .
I made a shader with only diffuse and reflection component from higher level kitchen sink H12 surface model vop. But both render without noticeable time difference display in render scheduler. Thus I have few more questions about how pre-optimization optimize.
* For a constant condiction to if then block. Does the code inside loop get stiped out to scope above(condiction true), or not even placed to execute(condiction false) after per-optimization ??
* For code multiply with 0 constant, and assign to variable. Does the variable get assign 0 directly without code placed to execute after pre-optimization??
Could I get more info about this pre-optimization somewhere?? or output ascii code after pre-optimization to see how optimization works .
I made a shader with only diffuse and reflection component from higher level kitchen sink H12 surface model vop. But both render without noticeable time difference display in render scheduler. Thus I have few more questions about how pre-optimization optimize.
* For a constant condiction to if then block. Does the code inside loop get stiped out to scope above(condiction true), or not even placed to execute(condiction false) after per-optimization ??
* For code multiply with 0 constant, and assign to variable. Does the variable get assign 0 directly without code placed to execute after pre-optimization??
Technical Discussion » mantra surface shader reflection artifacts ??
- jorosy
- 47 posts
- Offline
hi, zarti, really appreciate your help. That totally resolve my problem, although the shading does look different like you mention on the other post, but I can work from there.
Thank you so much :wink:
Thank you so much :wink:
Technical Discussion » mantra surface shader reflection artifacts ??
- jorosy
- 47 posts
- Offline
I have same geometry assign with different material. The left is with silver material form old houdini gallery and the right is with mantra surface(material shader builder).
However, the reflection on right has checker pattern artifacts correspond to geometry. I have no clue how to solve this.
Please Help !!
However, the reflection on right has checker pattern artifacts correspond to geometry. I have no clue how to solve this.
Please Help !!
Technical Discussion » How does gasCalculate blend mode blend??
- jorosy
- 47 posts
- Offline
I did a really simple setup try to study how blend work in gas calculate. Here is an empty dop initialize with fix density value 2, then solve on creation frame to compute gas calculate just once. I got no idea why the density sum up to 16.
here is what I calculate according to reference card, but the value doesn't add up.
dest = density = 2
dest process = dest + dest pre-add = 2 + 5 = 7
source process = source + source pre-add = 0 + 2 = 2
dest blend process = 1
source blend process = 1
blend mode weightSum = dest process * dest blend process + source process * source blend porcess = 7 * 1 + 2 * 1 = 9
9 is what I get
In help card ‘Blend Method’ parameter, it mention “The destination and source blend fields are used to blend the result of the gas calculation onto the destination field.” But I have not pick up any relevant blend method formula listed blow dress what's mention.
It must be something I didn't realize. Could anybody shed some light please
here is what I calculate according to reference card, but the value doesn't add up.
dest = density = 2
dest process = dest + dest pre-add = 2 + 5 = 7
source process = source + source pre-add = 0 + 2 = 2
dest blend process = 1
source blend process = 1
blend mode weightSum = dest process * dest blend process + source process * source blend porcess = 7 * 1 + 2 * 1 = 9
9 is what I get
In help card ‘Blend Method’ parameter, it mention “The destination and source blend fields are used to blend the result of the gas calculation onto the destination field.” But I have not pick up any relevant blend method formula listed blow dress what's mention.
It must be something I didn't realize. Could anybody shed some light please
Technical Discussion » python access current evaluated dopObject in modifyDataDop?
- jorosy
- 47 posts
- Offline
hi, jyoji, I am glad that help.
What bother me is modifyDataDop seems to run once with current solved object per step. while in hscript, $OBJID returns current evaluated object handle. But in python, findObject is used to query this handle from all iterate object prior the object get accessible.
It is alike access per point in VOP directly and vice verse of running an extra for loop inside VOP to gain access to the iterate point. It is ok for few objects, but not thousands in massive destruction scene as number of iteration increasing significantly.
But, that is just my doubt!! I have no proof of how frequent modifyDataDop runs nor how $OBJID is handle internally.
What bother me is modifyDataDop seems to run once with current solved object per step. while in hscript, $OBJID returns current evaluated object handle. But in python, findObject is used to query this handle from all iterate object prior the object get accessible.
It is alike access per point in VOP directly and vice verse of running an extra for loop inside VOP to gain access to the iterate point. It is ok for few objects, but not thousands in massive destruction scene as number of iteration increasing significantly.
But, that is just my doubt!! I have no proof of how frequent modifyDataDop runs nor how $OBJID is handle internally.
Technical Discussion » about fluid solver master class smoke solving order?
- jorosy
- 47 posts
- Offline
in master class, the custom solver has different solving order to H12 smoke solver, but both solver keep “vel self advection” run before “project non-divergence” like jeff mention.
Does other solving order get coupled subsequently important ?? Like “vel advect field/geometry” runs before or after “project non-divergence”?? since “project non-divergence” removes all divergence component form vel field, and return a proper net-gain net-loss vel field. shouldn't “vel advect field/geometry” get update after “project non-divergence” like H12 solver?
and why “vel self advection” is not run after “external source” and “vel/force add in”?? How does it account those factor(external force) if “vel self advection” is not run after those 2 factor add in current vel.
Master class smoke solving order:
vel advect field/geometry
external source
vel/fource add in
– vel self advection
– project non-divergence
H12 smoke solving order: (small brace is the yellow null node inside smoke solver represents stage)
– vel self advection ( vel advect )
vel add in ( vel update )
– project non-divergence ( project )
vel advect field/geometry ( advect )
external source
sorry for my bad English .. , and thank you for your time
Does other solving order get coupled subsequently important ?? Like “vel advect field/geometry” runs before or after “project non-divergence”?? since “project non-divergence” removes all divergence component form vel field, and return a proper net-gain net-loss vel field. shouldn't “vel advect field/geometry” get update after “project non-divergence” like H12 solver?
and why “vel self advection” is not run after “external source” and “vel/force add in”?? How does it account those factor(external force) if “vel self advection” is not run after those 2 factor add in current vel.
Master class smoke solving order:
vel advect field/geometry
external source
vel/fource add in
– vel self advection
– project non-divergence
H12 smoke solving order: (small brace is the yellow null node inside smoke solver represents stage)
– vel self advection ( vel advect )
vel add in ( vel update )
– project non-divergence ( project )
vel advect field/geometry ( advect )
external source
sorry for my bad English .. , and thank you for your time
Technical Discussion » command to add frame comment on flipbook??
- jorosy
- 47 posts
- Offline
on flipbook mplay session, Image/add Frame Comment. How could I access this by python or hscript?
I am currently using python to launch flipbook to record simulation time and some parameter. I would like to print on every frame of image and save out as sequence.
Thank you for any advise
I am currently using python to launch flipbook to record simulation time and some parameter. I would like to print on every frame of image and save out as sequence.
Thank you for any advise
Houdini Lounge » delete point and edge without remove face?
- jorosy
- 47 posts
- Offline
Houdini Lounge » delete point and edge without remove face?
- jorosy
- 47 posts
- Offline
I have a plane cut like the image left, how do I delete those ‘cut points’ and its inter connected edge without blast primitive and return the grid shows on image right.
thank you
:arrow: links edit!!, thank you for notice me, ndickson
thank you
:arrow: links edit!!, thank you for notice me, ndickson
Edited by - July 13, 2012 22:45:43
Technical Discussion » python access current evaluated dopObject in modifyDataDop?
- jorosy
- 47 posts
- Offline
How do I access current evaluate dopObject in modifyDataDop?
expression like dopoption('.', $OBJID, ‘Position’, ‘density’) seems execute once for current enolove object.
currently, I am using pwd().simulation().findObject(expandString('$OBJNAME'))
in modifiedDataDop to access current evaluate dopObject, which I am not sure if this is the proper way to do it ?? What would be a proper way for doing this??
Is there any accessing method for dopObject similar like curPoint() access in sop for current evaluating point??
expression like dopoption('.', $OBJID, ‘Position’, ‘density’) seems execute once for current enolove object.
currently, I am using pwd().simulation().findObject(expandString('$OBJNAME'))
in modifiedDataDop to access current evaluate dopObject, which I am not sure if this is the proper way to do it ?? What would be a proper way for doing this??
Is there any accessing method for dopObject similar like curPoint() access in sop for current evaluating point??
-
- Quick Links