Digging a polygon according to another

Talk about graphics, 3D models, nice sprite sheets, music, sound effects and anything related to the presentation of your game (not code :)).

Digging a polygon according to another

Postby Doremus » Fri Sep 30, 2016 12:36 pm

Hi all !
I actually develop a 3D application on Android, and i manipulate 3D object.

I want to dig a polygon according to another polygon form such as a cube or a cylinder. In the following image you can imagine I have two superimposed polygons, a cylinder and a rectangular cuboid. If I get the intersection of these two polygons and I calculate the inverse (included in the rectangular cuboid) I get a new polygon with a hole in the shape of the cylinder like in this picture.

I don't know how to achieve this with libGDX, I know the Intersector class, but I do not know how to retrieve the reverse of an intersection between two polygons.


Image
Doremus
 
Posts: 4
Joined: Sat Sep 24, 2016 8:43 am

Re: Digging a polygon according to another

Postby Doremus » Wed Oct 19, 2016 4:07 pm

Anyone can help me ?
Doremus
 
Posts: 4
Joined: Sat Sep 24, 2016 8:43 am

Re: Digging a polygon according to another

Postby kentjoung » Thu Aug 10, 2017 11:58 am

Sorry my friend, I don't know how I can help you with this problem
3D graphics now - this is one of the most important parts of programs and video games
kentjoung
 
Posts: 1
Joined: Wed Aug 09, 2017 6:38 pm


Return to Game Art

Who is online

Users browsing this forum: No registered users and 2 guests