Jump to content


Lyonz

Member Since 19 Mar 2010
Offline Last Active Jan 07 2013 03:40 PM
-----

Posts I've Made

In Topic: A Looping & Resetting Texture Expression

27 September 2012 - 11:25 AM

Resolved the issue by using chops and a modular expression.

In Topic: Speed up smoke simulations

02 September 2012 - 12:57 PM

View Postcubiccube, on 31 August 2012 - 04:06 PM, said:

If you're after detail, try using the upres node (setup with the upres shelf tool)

Thanks for the reply this works really well.

I'm still interested to know though, why increasing the division size on the smoke object changes the simulation so dramatically ? Its as if the simulation gets heavy, however doubling forces doesn't achieve the same results as the low res.

Cheers
Lyonz

In Topic: Speed up smoke simulations

31 August 2012 - 08:14 AM

Have now fixed the simulation speed issues i was facing, by writing them out locally instead of through a network.

However have noticed that once i get a decent simulation at .5 and then increase the division size to .2 my simulation completely changes, why is this happening ? all im after is more detail ? Does forces need to be doubled when adding double voxel detail ?



Cheers

Lyonz

In Topic: Convert Channels To Keyframes

27 August 2012 - 11:12 AM

View Postryoji, on 27 August 2012 - 09:26 AM, said:

Hi Lyonz,

I have had a same problem then I made a script.

Just put this in new shelf tool then push the button :)
sel = hou.selectedNodes()

parms = sel[0].parms()
keyedParmList = []
parmNames = []
for i in parms:
	if i.isTimeDependent() == 1:
		keyedParmList.append(i)
		parmNames.append(i.description() + "(" + i.name() + ")")

bakes = hou.ui.selectFromList(parmNames, message='Select Parms to bake key')

framerange = range(int(hou.expandString('$RFSTART')), int(hou.expandString('$RFEND')) + 1 )

for i in bakes:
	keyVals = {}
	for kf in framerange:
		keyVals[kf] = keyedParmList[i].evalAtFrame(kf)
   
	keyedParmList[i].deleteAllKeyframes()
   
	for kf in framerange:
		setKey = hou.Keyframe()
		setKey.setFrame(kf)
		setKey.setValue( keyVals[kf] )
	   
		keyedParmList[i].setKeyframe(setKey)

Thanks,
Ryoji

Cheers really appreciate it will test it out soon

Lyonz

In Topic: Speed up smoke simulations

27 August 2012 - 06:35 AM

Think i will ride out the waiting time and see what i get, since i want to see some details in the smoke.

Cheers for the advice

Lyonz