A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
Gradient Material and Objects
Posted: 03 June 2014 12:59 PM   [ Ignore ]  
Avatar
Total Posts:  36
Joined  2013-05-09

Hi everyone, I have some issue with gradients materials. I can’t obtain the same look when I put it into the object. I figure out that’s very simple but I don’t know how. I attach a scene with the object and material, and a 2d image reference that show how it should be look.

Thanks for your time and hope someone can help me.

Scene File:
https://app.box.com/s/jdl9zfbi2k8e5caameti

Regards!

Profile
 
 
Posted: 03 June 2014 01:12 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi iaec,

It should normally work as you have set it up. Not your mistake—to get this idea out of the way.

The problem is based on the non existence of UV information of the caps here. If there is no UV information and the Texture Tag is set to UV, the texture or shader information available is used, BUT only the first pixel (left upper Pixel to be precise). This single pixel is then applied to everything, missing UV.

How to get it to work anyway? You take a plane and set up the plane so it covers tightly your logo. Then you use the Frontal-Projection to get the texture or shader to work in the way you like (“Fit to Object” should help here).

Then you place the logo underneath and disable the option to be rendered or seen for the plane. Uncheck the green arrow should do the trick as well.

In this way you can apply it precisely and any logo shape will work. Sometimes the logo is smaller than the texture, and the Fit To Object isn’t really working, hence the plane as support and “fix-point”.

Alternative: You make the objects editable and project the material to it and apply then “Generate UVW Coordinates” to it.

I hope it works for you.

If the colors are critical, I would render an object buffer for the logo to have a mask for the color correction. If it goes into animation, perhaps the 3D to, e.g., Ae will help to replace the texture.

(As a side note: I used to set a rectangular frame in Ai to have that “plane” as fixed border. This path or frame could be then used for the “Fit to Object” and enables so a stable workflow from texture to C4D.)

All the best

Sassi

File:
https://www.amazon.com/clouddrive/share?s=ueRJEH8GTxYszMRoRsmOpg

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 03 June 2014 01:51 PM   [ Ignore ]   [ # 2 ]  
Avatar
Total Posts:  36
Joined  2013-05-09

Hi Dr. Sassi! I changed the coordinates in the Texture Tag and it works. Anyway, your solution sounds much better, the problem is my english is not very good and I’m lost in translation. It will be more helpful if you can share the scene file to observe and understand better, this with your explanation should clear up everything.

I attach the scene file with my result changing the projection to flat and the coordinates, I think it works. But I’m very anxious to see what you explain above, because it will work not just with gradient materials, I guess it will work with textures too.

Scene File:
https://app.box.com/s/4x2xuqmlv6vn3ixtlfvr

Thanks so much for your time and patience. You’re a Master!

Profile
 
 
Posted: 03 June 2014 02:03 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re welcome, iaec!

If anything is not clear, please ask, I will try to say it differently. Please never hesitate to ask again.

YES, a scene is certainly a good idea to have. Sorry if you missed the link above, as I placed it later into the post. (The forums tech didn’t allowed me to attach my file directly, so I had to go to my “cloud” server) Sorry about that.

Let me know if the file above works for you.

If you use the “Fit To Object” for these Logos, do not click OK to have “Sub-Objects Included”. It would take the larger spline into account then, certainly not useable here.

(Please check the direction of the Gradient, as I saw both directions in the example files.)

All the best

Sassi

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 03 June 2014 02:20 PM   [ Ignore ]   [ # 4 ]  
Avatar
Total Posts:  36
Joined  2013-05-09

Thanks again Dr. Sassi, now everything is clear! Thanks so much for your help! As always you have all the solutions!

Profile
 
 
Posted: 03 June 2014 02:23 PM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Thanks again for the nice feedback, iaec!

If I have “all” the solutions, I’m not certain ;o) b
... but I’m certainly happy to work on it, hehe. Every question helps!

Have a good one

Sassi

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile