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
   
2 of 3
2
Trapcode Particular Reflections in Cinema 4D Glass Jars
Posted: 24 August 2017 06:29 PM   [ Ignore ]   [ # 16 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Mark,

Here is a demo file. You need to reconnect the hdr file (© stuff). Anything else is in the folder.

I rendered the Particular effect only, with a straight alpha out of AeCC.

This went to a plane that targets the camera and the footage is camera mapped on it.

The light is “manually” tracked, to come close to the particles, demo -quality tracking of course.

I placed some objects in to showcase the result.

The AeCC was exported as C4D scene - so I got the camera move and the lights you had in your scene (the c4d file I do not have…)

Have a look:
Scene file
https://www.amazon.com/clouddrive/share/0rV6mgIlpqC4WmT6yAqKOyG0vY3SkbBbFIpvNedxgli
Screen Shot
https://www.amazon.com/clouddrive/share/nXNYkvnY1vuEH0M6cdTM1nb4jstr3gIXfeBTn1emJoz
Demo_plus_Post
https://www.amazon.com/clouddrive/share/6h0hDyE7j8cMF8n46QtKm7kfQ61ZpkHU5mnkPDSLNkL

Please explore the file, and let me know if there is any question.

All the best

 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: 24 August 2017 07:14 PM   [ Ignore ]   [ # 17 ]  
Total Posts:  156
Joined  2015-08-31

Doc, I’m just uploaded my C4D file.  When I actually create my final version, I will have a slightly more substantial (but mainly straight on) camera move.  Also, I intend to have several more bottles, each with its own Particular effect.

Questions:

1) You would place a light source in the bottle to add illumination to the bottle walls and the stone wall…is this correct?

2) What do you mean by placing a material on the light source?

3) If the bottles overlap, would the Particular renderings each need to be separate, or could I do one render of all the particle systems?

4) When I place the renderings on a plane, what do you mean by inside the bottle?  Won’t the camera mapping handle this?

5) Finally, animation of which mesh?

You’re a life saver.  Thank you!

Mark

Profile
 
 
Posted: 24 August 2017 07:30 PM   [ Ignore ]   [ # 18 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Mark, let’s start with the questions:

1) You would place a light source in the bottle to add illumination to the bottle walls and the stone wall…is this correct?
It needs to be in the bottle, anything else will look wrong. Specular, Falloff, etc. Move it far out and see for your self.

2) What do you mean by placing a material on the light source?
Check out the file, here with a checkerboard, but to give light more “play” or “details”, use a material:
https://www.amazon.com/clouddrive/share/u9D0PPqKpfq90b4OiIDFhNOBn46Zo3JNYKwmqQCi3sO


3) If the bottles overlap, would the Particular renderings each need to be separate, or could I do one render of all the particle systems?
Ideally you have for each bottle one. Yes, it works with one, as long as one bottle is not in front of another one, then the content of the “front” bottle would show up in the “behind” bottle. You know your scene, and make adjustments accordingly. I do not like to mix too much, any re-render would require to render all again, and the adjustments are limited or more complicated. However, everyone has his/her own logic and workflow. Camera mapping has limitations and to know them means to avoid trouble.

4) When I place the renderings on a plane, what do you mean by inside the bottle?  Won’t the camera mapping handle this?
Then you don’t get the glass influences to the particles, dirt, refraction, density, etc. Behind wouldn’t work, as it would be then twice (two layers of glass)

5) Finally, animation of which mesh?
If you have a lot of particles or the reflection of the “glowing” needs to be reflected more accurately, the mesh on which it is projected shouldn’t be flat. With a little deformation the image of the particles could be seen in a better way in the reflections. Since it is camera projection, the deformation will not show directly, but in secondary effects as in reflection, refraction, and in GI.
Please check this file out, while render with and without the Spherify Deformer.
https://www.amazon.com/clouddrive/share/h0BO9Sdu51gv2AwcZY4iTQ3TFofInlLqOiGuF1WPWk1

So, I got your scene, only cork_02 was missing, but I think it will not matter much. The link for the file is in your PM—in a moment.

All the best

 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: 24 August 2017 08:56 PM   [ Ignore ]   [ # 19 ]  
Total Posts:  156
Joined  2015-08-31

Doc, I’m gonna take all of your advice and see what I can come up with over the next several days.  I’ll reach out if I get stumped.  Thanks for your patience and advice!

Mark

Profile
 
 
Posted: 25 August 2017 01:44 AM   [ Ignore ]   [ # 20 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Mark, please enjoy your project, and yes, please ask!

My best wishes.

 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: 25 August 2017 03:13 PM   [ Ignore ]   [ # 21 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

P.S.: Here is a one minute clip, about setting up the scene files between C4D and AeCC with Particular and your questions as focus point.

Clip:
https://www.amazon.com/clouddrive/share/bK0PdPeUzVz0wsKgSFuD4qwQ5D181lsfEU3KOUKi97p

In short, Particular has no connection to the C4D camera, before anything is extracted. Both, CineWare and Particular, are 2D elements which react to cameras, so it is needed to understand that the Extraction of the camera might give the impression that things have been moved (not really!) in “this window” around, perhaps out of it, as the views are not longer in sync (so it seems), if Particular was set up with the default camera, then a different camera gives the impression that it has moved, but its just not in the view of the camera anymore.

If you think about the light that I placed in the glass jar, if that is already in the file before it is used in AeCC, then this light can be used as Emitter position. Just use the “Whip-Pick” to set up the Emitter Pos. This will bring things back together.

Example file:
https://www.amazon.com/clouddrive/share/X2kgPxwJNsmp1TgMnLr6mmwqwaeKati1hxdiAt9M9T8

I hope that clears up the problem.

All the best

 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: 25 August 2017 03:35 PM   [ Ignore ]   [ # 22 ]  
Total Posts:  156
Joined  2015-08-31

Doc, you’re a good man.  Thank you!  I’m working on the particles in After Effects right now.  If I can pull this off, I’ll be quite excited to see the result.  I’ll keep you posted.

Mark

Profile
 
 
Posted: 25 August 2017 03:40 PM   [ Ignore ]   [ # 23 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re very welcome, Mark.

I tried to keep the clip simple. So, there is much more to say perhaps, but for now, that is the core that I though was needed to communicate.

Yes, if you can share the results, I look forward to it wink

Enjoy your project.

 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: 30 August 2017 12:58 PM   [ Ignore ]   [ # 24 ]  
Total Posts:  156
Joined  2015-08-31

Good morning, Doc!  Is there a way to make a C4D light invisible to the camera, but fully visible in reflections and refraction.  I’ve tried the Compositing tag with no luck. 

Thanks!

Mark

Profile
 
 
Posted: 30 August 2017 02:12 PM   [ Ignore ]   [ # 25 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Mark,

To split this up, you might check out to render in a two step Multi Pass, one time without visible light for the scene without light reflection or refraction, one time with visible light and take the passes that contain the wanted information. Then combine the parts.

All the best

 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: 30 August 2017 02:48 PM   [ Ignore ]   [ # 26 ]  
Total Posts:  156
Joined  2015-08-31

I’m now working with the sprites/particles rendered from After Effects with an alpha and brought into Cinema with Camera Mapping.  I’ve set everything up per your helpful C4D example, but I’m not getting the desired result.  When I multi-pass render and look at the refraction and reflection passes, I see the sprites/particles in the refraction pass as if they are fully visible in the jar (not just as glass refractions as I desire).  In the reflection pass, I don’t see any evidence of the sprites/particles at all and this is where I wish to see them the most.  What I want to do is make the sprites/particles themselves invisible to the camera, but refracted/reflected in the glass.  I’ve tried doing this using the Compositing tag, but with no luck.  Thanks!

Profile
 
 
Posted: 30 August 2017 03:02 PM   [ Ignore ]   [ # 27 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Mark,

Hard to tell what you have set up, without a scene file.

The upload link is open, but I really need only a single frame, not the whole footage. Pick a frame that is the worse.

All the best

 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: 30 August 2017 03:43 PM   [ Ignore ]   [ # 28 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Mark,

The file is back to you, check your PM.

I didn’t check if you had rendered it in Straight, but I hope so.

The Alpha channel wasn’t set up as I would do it, compare your setting an mine, pick what you like the most.
The Plane wasn’t in the bottle, somewhere way behind, there is not option that will look right that way. (Please see discussion above.)
The Plane has a Deformer attached, check if that is needed, it creates a better distribution of the effect in the bottle.

Let me know if there is anything else, the upload stays open for now!

All the best

 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: 30 August 2017 04:13 PM   [ Ignore ]   [ # 29 ]  
Total Posts:  156
Joined  2015-08-31

Hi Doc,

Please let me know if I’m becoming too much of a pest.  I feel like this dialog may never end.

Since my actual particles are being composited from Particular inside After Effects, I don’t want to see them inside the bottle in Cinema.  I just want to see colorful glints of the particles reflected in the glass in Cinema.  By switching off Image Alpha in the material, I can see a better reflection on the back side of the bottle, but I still see a bright well-defined particle shape inside the bottle.  Is there a way to have this material only produce glints of light in the glass?

Thank you!

Mark

P.S. What does “rendered it in Straight” mean?

Profile
 
 
Posted: 30 August 2017 05:35 PM   [ Ignore ]   [ # 30 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

I can’t even imagine that any C4D related post can become a pest, why would it! My target is certainly that things become clear and usable. Of course, learning has a gradient and the typical wish to skip that gradient by just receiving a cool-tip isn’t my reality nor my wish. In fact that kind of acquiring “skills” is dangerous and fake.
If there is a way, I certainly will try to find it. If there is not a way known to me, I certainly direct to the Support or Suggestions.
I try to learn each month an new app or a major up-grade, to keep this feeling fresh, and I’m filled with empathy about learning based on that. Don’t ever let your idea to know about things be scattered by feeling the way you hinted it above, thanks. Yes, there are arrogant people around, but they are just useless for this activity. So, please ask until you feel savvy with it.

.

Seen By
Please check out if the Compositing Tag has an answer for you. “Seen By” Transparency/Refraction/Reflections/Camera have all influence to it.  If only the reflection is key, that should be the only one of the four (Seen By Rays should be active, though)

Try to adjust the appearance with the transparency channel, if the results are too strong. Setting the Luminance Texture To Multiply and dial in the Brightness of it accordingly will leave maybe dark spot in the reflection, similar as in using the Filter “Shader”. The transparency channel really allows for other sources to take over at a certain level. No reflection should be active in the Reflection channel!

Straight Alpha, this means that the RGB values are rendered fully, even some transparency is already given, and the transparency is not “premultiplied” in the file. The transparency of the pixels is then only achieved by the Alpha channel. Just to be blunt, Straight Alpha is the way to go in pretty much all cases. Why, because if the pixel-value will be changed, the amount of change will be influenced by the “baked in” or “Premultiplied” transparency.
This can lead to a lot a weird appearances. Worst case, the already transparent areas become calculated via alpha again transparent. Some suggest then to “choke” the matte, which is of course pure nonsense, if that could have been avoid in the first place. Yes it is simpler and perhaps faster, often not even noticed. But in any high end compositing package, you will find tools to “un-multiply” this state, because it leads to artifacts.
I have tried to explain it a decade (published here in 2008, though) ago in a tutorial. (…decade as an excuse for my rusty English back then)
https://www.cineversity.com/vidplaytut/multi-pass_in_depth_005_straight_pre-multiplied_alpha
You might find in any better book about VFX composting a more or less longer chapter about.

One thought. You have rendered the Particles in Ae, then bring it in for reflection into C4D, but you go then back and render all again in Ae.  It would be faster, to render it perhaps 1.5 times larger in Ae, to keep the quality, and have the final render in C4D. One step less.

All the best

 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
 
 
   
2 of 3
2