Find Jobs
Hire Freelancers

Method to clip a mesh/polygon

$30-250 USD

In Progress
Posted almost 10 years ago

$30-250 USD

Paid on delivery
I need a function written to clip a triangle mesh. Given a geometric plane represented by a width and height and 3 dimensional position, and an opengl polygon object represented by an array of 3 dimensional vertexs and a drawing order of indices, calculate a new opengl polygon. Its basically an implementation of the Intersection of a Triangle and a Plane: [login to view URL] The plane is represented by a position in 3 dimensions, and a width and height The polygon is represented like this: Vector3 positions[] = { Vector3Make(-halfSide, -halfSide, halfSide), Vector3Make( halfSide, -halfSide, halfSide), Vector3Make(-halfSide, -halfSide, -halfSide), Vector3Make( halfSide, -halfSide, -halfSide), Vector3Make(-halfSide, halfSide, halfSide), Vector3Make( halfSide, halfSide, halfSide), Vector3Make(-halfSide, halfSide, -halfSide), Vector3Make( halfSide, halfSide, -halfSide) }; int indices[] = { // bottom 0, 2, 1, 1, 2, 3, // back 2, 6, 3, 3, 6, 7, // left 0, 4, 2, 2, 4, 6, // right 1, 3, 5, 3, 7, 5, // front 0, 1, 4, 1, 5, 4, // top 4, 5, 6, 5, 7, 6 };
Project ID: 6098457

About the project

1 proposal
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $155 USD for this job
User Avatar
i can done it in 3 day....................................................................................................................
$155 USD in 3 days
5.0 (2 reviews)
0.4
0.4

About the client

Flag of UNITED STATES
San Francisco, United States
4.9
6
Payment method verified
Member since May 25, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.