Jump to content

ifd generation and camera archives


Recommended Posts

Hey houdinis, and houdettes,

I want to start a topic about ifd generation and its optimisation inside a pipeline.

My basic problem is the following,

i generate ifd`s that have taken a while doe to amazing renders... in a pipeline with not a lot of hbatch lics,.. so that time was well spent....

then you realize you messed up a parameter in your shader... got the wrong camera, etc currently for me that means re - exporting.

So my question i guess is, is there a way to link in cameras as a archive so you can swap them easily, is there something like an RiFilter? Can i change settings in a binary ifd with a tool? Would i need to change SOHO export shizzle?

I am trying to start a discussion here how small-ish studios generate ifd`s efficently and how they manage this, and how i get around being sloppy when hitting render :)

Looking forward to all your ideas!

Jo

Link to comment
Share on other sites

I am trying to start a discussion here how small-ish studios generate ifd`s efficently and how they manage this, and how i get around being sloppy when hitting render :)

I'm also interested about hearing ideas. Good topic.

Link to comment
Share on other sites

I'm also interested about hearing ideas. Good topic.

hey i am just wondering something even cooler... is it possible to open an ifd in python?! like you open a houdini hip file?! That would be amazing open the file and then get the camera ... change it and save again? Or change settings... or grow geo from points in the file or change a shader or,.... basically i wanna know if there is hou.openFile( $AWESOME/shizzle.ifd )

thanks

jo

Link to comment
Share on other sites

hey i am just wondering something even cooler... is it possible to open an ifd in python?!

I suppose it would be possible to create some sort of a wrapper to neatly manipulate ifds.

It could be somethin like the Hou-module.

ifd.Camera.camera[1].setResolution(x,y)

or something like that:)

I could see this handy when trying to find optimal settings for some part of rendering. One could easily build small loops to test various parameter values within a given range ( like Wedge ROP does).

Link to comment
Share on other sites

hey i tried the python filtering... creating of functions and run mantra.property( camera:whatever )

i can not see where to change the cameras transformation... can someboty post a more alaborate filter that does this? or that is changing complex parameters?

thanks!

Link to comment
Share on other sites

To me this sounds like you should skip the python filter approach.

Instead of rendering the ifd with 'mantra -j 0 -f theawesome.ifd' you could pipe it through an arbitrary tool to modify it:

cameraSwitcher theawesome.ifd > mantra -j 0

Link to comment
Share on other sites

ray_start light# {ray_transform... almost looks like a transformation matrix of the origin of the rays. It's got 16 entries with the last column being 0,0,0,1.

Could that be what you're after?

Edited by Macha
Link to comment
Share on other sites

souds good but when i ahve a binary ifd that makes that all more complex i was hoping the filtering could be used for that

thanks for your answer!

jo

I had the impression IFD's are always ascii. Sometimes you inline bgeo, but in most cases you probably use DLAs.

But then, yeah ... might not the trick you're looking for :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...