Projecting mattepainting

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  10 October 2012
Red face Projecting mattepainting

Hi Guys,
I am projecting a matte painting onto a mesh.I want my camera to move to the back side of my projection.I have my wrap option turned off on my 2d texture node..But I found out my projected texture rays hitting the opposite side of the mesh where I need another texture to be projected.I am uploading a sample image which will show u my issue.
I need my textures to be only projected on one side.I want to block the rays hitting my back face.
Plz somebody help me solve this issue
Attached Images
File Type: jpg Proj_problem copy.jpg (48.1 KB, 30 views)
  10 October 2012
I tried using sampler info with a condition node to stop texture falling on the flipped normal side..The texture is still passing through the mesh to other side of camera....Yeah i know i can separate the meshes and make a cheat....But I expect a more technical help from you to solve this issue....plz help me STOP THOSE PROJECTED TEXTURE RAYS
  10 October 2012
I did a projection intensive project recently and thought I'd check my setup, but the weird thing is, it works in maya 2011 but when I tried recreating it in 2012 I can't get it to work correctly. I'll have to dig some more into why it isn't working but here are some screens of my 2011 setup and my 2012 setup (and what's wrong with it).

The different grey parts in the 2011 screen are the "default color" values under "color balance" of the projection node and the file node. The setup is for two different beauty projections, plus a projected alpha to seperate them.

For all 2d placement and projection nodes I have turned off "wrap U/V" and "wrap" respectivily.

But basically, you shouldn't need all the things I setup, all you should need is to turn off those two options, but as I can't get it to work in 2012, and if you are using that too, maybe there is a nice new bug going on?
Attached Images
File Type: jpg projMaya2011a.jpg (88.9 KB, 23 views)
File Type: jpg projMaya2012a.jpg (93.9 KB, 14 views)

Last edited by Ekenryd : 10 October 2012 at 09:59 AM.
  10 October 2012
Hehe okay, weird, now it works, very basic, just turned off "wrap" on my proj
Attached Images
File Type: jpg projweird.jpg (92.1 KB, 22 views)
  10 October 2012
Thank u very much Ekenryd for ur valuable reply.......I tried turning off WRAP option on projection node ,although it helped me from removing the projected texture on the back side but resulting in an incorrect projection from the camera...I am updating my test images one with wrap turned On and one with wrap turned off...Plz check it out and help me solve this issue...and yes I am using Maya 2012..may be I have to check in other version too
Thanks again
Attached Images
File Type: jpg WRap_on.jpg (77.3 KB, 16 views)
File Type: jpg WRap_off.jpg (38.5 KB, 18 views)
  10 October 2012
Hehe that looks really weird. If you want you can send me the scene to thomas AT and I'll see if I find something, I enjoy problemsolving and two brains usually works better than one

Only thing I can think of now is that the camera clipping planes somehow affect the projection when it's not wrapping.

Last edited by Ekenryd : 10 October 2012 at 10:43 AM.
  11 November 2012

Hi Thomas....I have sent you the maya file and textures to ur given ID ...Plz check it out and give me a solution
thanks in advance
  11 November 2012
my file which has a box mapped from two different cameras .I am getting problem on the back side of the box where i am getting a blend of two textures from both cameras.How can i stop the textures projecting on back side.
I also tried projecting another texture from back side of the box which resulted in an overlapping texture in front too.I mean the back texture is penitrating back to front side of the box .I have an alpha in the transperancy too
Attached Images
File Type: jpg File_setup.jpg (78.5 KB, 4 views)
File Type: jpg Render_from_projection cam 01.jpg (35.9 KB, 3 views)
  11 November 2012
Renders from projection cam02 and a render from back side of the model
Attached Images
File Type: jpg Render_from_projection cam 02.jpg (26.8 KB, 2 views)
File Type: jpg Render_from_back side of object.jpg (20.8 KB, 2 views)
  11 November 2012
This is so weird. I tried the exact same setup as I used in this scene

but now it doesn't work. Whenever I turn off wrap, the whole texture just disappears and I have no idea why :|

The only way I get a similar effect now is to set "link to camera" to none, turn off "wrap" and then parent the place3dtexture node to the camera, and then scale it until it roughly fits the resolution gate of the camera.

Very far from optimal as its not a precise method, but at least it works if you dont need superprecision.

Last edited by Ekenryd : 11 November 2012 at 02:21 PM.
  11 November 2012
Thanks bro.... But I think it wont be a permanent solution as u said a non precise way of doing this.This makes a 360 rotation in projection impossible unless u split a model into parts :(

Did u notice a Pass Tr. option in the extra attributes of the projection node attributes....cant identify the use of it....I cant see anything about this in maya's Help menu too.....may be you could check it out ...
  11 November 2012
No idea, the first thing that comes to mind is mental rays passes, but the "tr" part I dont know. "translation"? :s Maybe it allows to "pass" the translation of whatever those values are downstream to the file node, or something. Anyhow, would be interesting to know what it does.
  11 November 2012
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 11:59 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.