Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Juraj

Juraj's playground

Hello community,
I am creating this thread where I will be posting links to my tests, experiments, RnD's and other uncategorizable stuff.

Also often I will include scene files so feel free to explore them and to learn how not to do things :)

...hope it will help somebody, somehow.

 

Juraj 

3 people like this

Share this post


Link to post
Share on other sites

awesome, provide the scene file with every test, it is very nice . keep up the nice work !!!!

Share this post


Link to post
Share on other sites

Great work Juraj! Some really clever and time saving stuff in there! Would you mind sharing your 'Save Increment' tool :)

Share this post


Link to post
Share on other sites

wow.... fantastic tools!
Any plans to release these? Would make a great PulseOfLife bundle!

also ... are the LOD switches easily hooked up to distance-from-camera?

Share this post


Link to post
Share on other sites
On 3/16/2017 at 5:46 PM, sessionbeer said:

Great work Juraj! Some really clever and time saving stuff in there! Would you mind sharing your 'Save Increment' tool :)

Hello, thanks! Glad you like it :) Unfortunately I cannot share scripts because of the university policy, but will try to write a new one save incremental function :) 

# save incremental, tries to preserve version formatting
def saveInc():
	hipname = hou.getenv('HIPNAME')
	if hipname != 'untitled':
		v, num = verSplit( hipname.split("_")[-1] )
		num = str( int(num) + 1 ).zfill( len(num) )
		newName = hipname.split("_")
		newName[-1] = v + num
		newNameStr = hou.getenv('HIP') + "/" + "_".join(newName) + "." + hou.getenv('HIPFILE').split(".")[-1]
		hou.hipFile.save(newNameStr)
	else:
		print "cannot increment version name in untitled.hip"

 

On 3/16/2017 at 5:53 PM, stickman said:

wow.... fantastic tools!
Any plans to release these? Would make a great PulseOfLife bundle!

also ... are the LOD switches easily hooked up to distance-from-camera?

Hi, thanks :) Maybe, but this setup is not very portable and was made for our pipeline. It would require a bit of work to prepare for release and to make it work in most of the environments.

LOD switching would not require much of work in this setup. Just computing distance to render camera and then thresholding it into an LOD attribute. But in our case manual decisions proved to be most suitable.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now