dpap Posted May 19, 2015 Share Posted May 19, 2015 How can I avoid the round clipping that occurs when I'm projecting an image through a spotlight? In other words how can make the the spotlight project a rectangular image without dark corners ? Thanks in advance. spotlight projection map.hip Quote Link to comment Share on other sites More sharing options...
Skybar Posted May 19, 2015 Share Posted May 19, 2015 Scale the texture down in COPs so it fits inside the circle . Then just adjust the light as needed. spotlight_projection_map_dv.hipnc 1 Quote Link to comment Share on other sites More sharing options...
dpap Posted May 19, 2015 Author Share Posted May 19, 2015 (edited) Thank you David for your help! That's a neat solution! It's so cool that in Houdini, you can see the projection image in the viewport . In Maya you have to render in order to see what you are doing... Edit : In the viewport it's working fine but when I render I get this mantra: Unable to load texture 'op:/../cop2net1/OUT' and the light renders pink! Any idea of whats going wrong? Edited May 19, 2015 by dpap Quote Link to comment Share on other sites More sharing options...
michael Posted May 19, 2015 Share Posted May 19, 2015 pink means that Houdini/mantra can't find the texture - check the path - maybe make it a full path instead of relative.... 1 Quote Link to comment Share on other sites More sharing options...
dpap Posted May 19, 2015 Author Share Posted May 19, 2015 Thanks Michael! Using "op:/obj/cop2net1/OUT" fixed it. Kinda strange but it works now Quote Link to comment Share on other sites More sharing options...
Skybar Posted May 20, 2015 Share Posted May 20, 2015 Yeah kinda strange the relative path works in the viewport but not render. Cool that it works now though Quote Link to comment Share on other sites More sharing options...
Mandrake0 Posted May 20, 2015 Share Posted May 20, 2015 also thinking it's strange that op: cant use relative paths but hey it's in the docs: http://www.sidefx.com/docs/houdini14.0/io/op_syntax :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.