Sign in to follow this  

DOUBLESIDE plane, dynamically after create?

Recommended Posts

I see a plane can be created as {sideOrientation: BABYLON.Mesh.DOUBLESIDE}, 

But is it possible to make a plane which is FRONTSIDE by default... and then DOUBLESIDE dynamically at runtime?

CONTEXT: a plane is imported by blender (as a complex shape), it is DEFAULT FRONTSIDE.

After many user interactions the plane then can become DOUBLESIDE .

How to do this?

Without it being DOUBLESIDE on the blender import.

Feeble attempts in this playground:

There is a delay, and then tries to:

1) convert directly  plane.sideOrientation = BABYLON.Mesh.DOUBLESIDE (no change)

2) and it seems possible to clone the mesh and re-create it with DOUBLESIDE (but complications with height,width, rotation, performance overhead, etc)

So, curious: Is there a way to dynamically apply DOUBLESIDE to a plane?

3) if not, will probably blenderfix...etc.  : )


Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.