[Sidefx-houdini-list] Houdini + 3Delight + PTC

Alvaro Castaneda varomix at gmail.com
Sat Jul 23 13:10:50 EDT 2011


HI Alan

I used to do this in maya, but know I can't figure the workflow in HOudini

I have those options in the renderer turned off
and I'm using this code to bake, from the 3delight exmples

surface ptc_write(
>     string ptc_file = "default.ptc";
>     string ptc_coordsys = "world"; )
> {
>     normal Nf = faceforward( normalize(N), I );
>
>     bake3d( ptc_file, "", P, Nf,
>         "coordsystem", ptc_coordsys,
>         "interpolate", 1 );
>
>     Ci = Cs;
> }
>

and I'm not using any AOVs

Thanks



On Sat, Jul 23, 2011 at 11:02 AM, Alan Warren <bluemoonshine at gmail.com>wrote:

> On Sat, Jul 23, 2011 at 12:32:37AM -0600, Alvaro Castaneda wrote:
> > Hi guys
> >
> > Been trying literally all day to get ptc files out of Houdini + 3Delight
> but
> > I just can't seem to make it work
> > at all, I started using the ptc occlusion example included with 3delight
> >
> > ANyone has any experience doing ptc?
> > can you help. please?
> >
> > Thanks
>
> It's hard to say without knowing how far you've got.
>
> Do you have these parameters on each SOP, and turned off?
>
> -rasteroriented dicing
> -cull shading of backfacing surfaces
> -cull shading of occluded surfaces
>
> Does your surface shader bake micropolygon area into a channel named
> _area using bake3d()?
>
> I'm not sure if 3Delight requires you to output an AOV for each channel
> being baked like prman does. You might want to try it incase nothing
> works. ie. float _area would be necessary if you're baking for
> occlusion.
>
>
> HTH
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



More information about the Sidefx-houdini-list mailing list