Community
VRED Forum
Welcome to Autodesk’s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ClippingPlanes vs Shadowmaterials

5 REPLIES 5
Reply
Message 1 of 6
marc.winter2
323 Views, 5 Replies

ClippingPlanes vs Shadowmaterials

Hi,

 

is there as way to clip also UShadowMaterials?

image.png

The shadowPlane with shadow material is not clipped by the global clippingPlane.

 

Best regards Marc

Labels (4)
5 REPLIES 5
Message 2 of 6

The shadow material and environment materials are excluded from any clipping operation since that is usually not what you want.

However I assume the issue is more that the shadow in OpenGL is not correct as it is the shadow of the unclipped object instead of the clipped objects, like it is happening in ray tracing. This looks like a bug.



Michael Nikelsky
Sr. Principal Engineer
Message 3 of 6

Hi Marc,

please let us know which result you want to achieve:

 

  • Clipped shadow plane with shadow of the unclipped object or of the clipped object?
  • Unclipped shadow plane with shadow of the clipped object (e.g. shadow can reach into the area that is clipped away depending on light direction ) - that is how it is in Raytracing right now

 

What we see right now in OpenGL: Unclipped shadow plane with shadow of unclipped object.

 

Kind regards
Sinje

Message 4 of 6

Hi,

 

I think both are correct.
On the one hand, a correct shadow for the clipped geometry.
On the other hand, a clipped shadow for the clipped geometry.
But an unclipped shadow for the clipped geometry always looks wrong to me.

 

I would prefer a clipped shadow (instead of a correct shadow) for my use case.
Clippingplanes always look artificial.

A realistic (correct) shadow doesn't fit there (in my case).

 

Is there a workaround to achieve this?

 

Best regards,

Marc

Message 5 of 6

Sorry if i enter the discussion, but i would like to add my use case:

In industrial design and animation i often use local clipping planes to manage the in and out of an object from the zone of my interest.

So for example i put a local clipping plane at the end of a conveyor so when the "product" pass that point, it seems to disappear...

And in that case i always see his shadows, on other objects or shadow plane.

So for me clipped portion of the clipped object doesn't have to cast shadows. Like it is in RT

 

best

Chris

Christian Garimberti
Technical Manager and Visualization Enthusiast
Qs Informatica S.r.l. | Qs Infor S.r.l. | My Website
Facebook | Instagram | Youtube | LinkedIn

EESignature

Message 6 of 6

Hi Chris, yes, OpenGL should behave like ray tracing in this case. That is a bug, I already opened a ticket for it to fix it.

 

Kind regards

Michael



Michael Nikelsky
Sr. Principal Engineer

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report