Jump to content

Invisible to camera, yet still renders


Justin Hunt
 Share

Recommended Posts

I have a problem

 

When obects are set to be invisible to the camera, they still render when an opacity mapped object overlaps or is in front of it, ie I am looking through

the transparant object I can still see the invisile object, outside the transparant object renders correctly.

 

In the tree example, the trees with red trunks are 3D Foliage objects that

are set not to be seen by the camera and the real looking trees are Plane

obects with a opacity mapped tree bitmap. The 3D trees are rendered within

the 2D planes and invisible outside the planes.

 

In the Glass roof example, there is a cylender surronding the scene with a

Cityscape mapped onto it and set to be invisible to camera, yet it is

visible through the glass roof.

 

How do I get these to work? I am rendering with MentalRay

 

JHV

Link to comment
Share on other sites

  • 4 weeks later...

You are completly missing the point. I want the reflections but I dont want to see the object anywhere else. Not in the backround, not through transparent objects ONLY in the reflections.

 

It is possible with scanline, just not Mentalray.

 

JHV

Link to comment
Share on other sites

The "visible trees is just an image mapped onto a plane facing the camera. Due to the angle of the sun to the camera and trees these would only cast a thin shadow. To get proper shadows I used the 3D trees. The 3D trees look ugly but cast nice shadows. This is just one application, there are others

 

These examples explain the issue better

 

JHV

Link to comment
Share on other sites

Hi Justin,

 

The problem is because when you look through the opacity mapped plane, there is (still) a refraction with IOR 1. As you can see in your example with the knots, you will need to turn off visible to refl/refract too.

This off course will not make the objects show up in the reflection... (so I do get the problem)

 

The workaround could be like this:

- with a raytrace material, I think you can control refract and refrect seperately. This can help you imho.

- for the trees: use the MR facade-shader (although I cannot get it to work properly, so if you can, pls tell me!)

- do not opacity mpa, but use geometry

 

rgds,

 

nisus

Link to comment
Share on other sites

I had thought of the Facade map, but havn't tried it yet, whats not working for you?

 

In the examples all the reflections are calculated with a Raytrace material, I'll check the refraction settings, Off the top of my head I think no refraction is being calculated.

 

Thanks for the suggestions, but I think that this is a bug that needs to be reported.

 

JHV

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...