texture projection

   3293   4   1
User Avatar
Member
3 posts
Joined: April 2006
Offline
hello,
i'm new here. I've heard Houdini is a great tool for effect shots. I watched video tutorials and I' m impressed with its ability to perforn complicated task.

What's came to my mind: I was wondering if I can setup some bizzare texture map workflow but have no idea how to start. Mayby some of you can halp me or send tips. I'd like to project texture from camera (or light). Texture is animated. And it goes like this:

in $F=1 “my_text.01.pic” is projected from position 1
in $F=2 “my_tex.02.pic” is projected from position 2
(up to now it's simple projection from moving camera… )

but….

“my_text.01.pic” in frame $F=2 remain projected from position 1
in $F=3 we have my_tex.01.pic from pos1, my_tes.02.pic from pos 2 and my_tes.03.pic from pos 3
in $F=4… and so forth…

so in every frame new texture is added to already projected textures. All positions are in camera path so I need project textures from every position of camera, but textures should “stick” somehow to surface ones projected from proper position.

Please don't tell me, that I have to setup cameras or lights for every frame and project textures one by one… if I have 200 frames it wouldn't be nice.

I'm sure there is simplier way to achieve it!


thanks,
Wan.
User Avatar
Member
7710 posts
Joined: July 2005
Offline
Just an idea but maybe you can just independently perform your projections for all 200 frames (saving out the results to disk). Then in a second pass, do the combine the results from your first past in an iterative fashion. I think the details highly depend on how you want the results combined.
User Avatar
Member
3 posts
Joined: April 2006
Offline
thank you Edward, but it doesn't work or at least not for me. I've already tried this aproach. I need something like bullet-time rig so in frame 10 I see textures projected from previous camera positions but I see them from frame 10 position. Combining frames in second pass will mix textures render from previous frame's point of view - not current…

so how about script which do something like:

for item in numer_of_frames:

create light;
light_pos=Cam_pos(@item);
light_projection_map=“my_texture.`item`.pic”

next item

then in every frame I will have to turn on another light (how?)
User Avatar
Member
7710 posts
Joined: July 2005
Offline
For reference, Mario's reply:
http://odforce.net/forum/index.php?showtopic=3969&pid=26879&st=0&#entry26879 [odforce.net]
User Avatar
Member
3 posts
Joined: April 2006
Offline
thanks Edward!
What is absolutely fantastic on this community (shouldn't be SESI forum and odforce.net registration paid? ): it is a great response for questions and even more ! You guys actually doing job for me!. Look here:
http://odforce.net/forum/index.php?showtopic=3969 [odforce.net]

Mario has made some great example which solve my problem in minut!
REAL Houdini style! Magic!

thanks!
  • Quick Links