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: 

clippingplane viewing both sides

2 REPLIES 2
Reply
Message 1 of 3
vredeye
82 Views, 2 Replies

clippingplane viewing both sides

Hi

 

Is it possible to view both sides of the clipping plane i.e like one side solid and other side glass material ( or transparent )

With this api i can invert the plane , but what if i want to view both sides at same time ? any tips

I see there is something called "double sided rendering" not sure how to get it working

 

setClippingPlane(position, normal, flipped)

Sets the clipping plane.

Parameters:

  • position (Pnt3f) - The position of the clipping plane.
  • normal (Vec3f) - The normal of the clipping plane.
  • flipped (bool) - Sets the direction of the normal.
2 REPLIES 2
Message 2 of 3
michael_nikelsky
in reply to: vredeye

Hi, 

 

I am not quite sure if I understand correctly what you are trying to achieve. A clipping plane always cuts away one side, that is its basic definition.

I think what you what you are trying to achieve is requiring two clipping planes in the scene graph and not the global one. What you need to do is create one clipping plane to cut away the half of one object (just put the objects to be clipped as children of the clipping plane) and the second clipping plane rotated 180 degree to cut away the half of the other object.

 

Kind regards,

Michael



Michael Nikelsky
Sr. Principal Engineer
Message 3 of 3
vredeye
in reply to: vredeye

Thanks for reply

 

yes you have got me right i just want something like this , where i can view one side solid material and other side of the clipping plane use glass ( or transparent ). yes i know clipping plane basically clips one side. I see there is an invert selection which shows the other side.

 

so may be i thought i could use the python api of invert selection. but i dont seem to find any python function for invert selection of clipping plane.

 

Using two clippingplanes is a good ideas , i ll do a research on this, 

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

Post to forums  

Autodesk Design & Make Report