CreateConvexHull, quads only?

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

CreateConvexHull, quads only?

Postby Xilliah » Mon Dec 22, 2008 4:20 pm

Hello!

I've been busy for some time, and now that I am ready to revive the physics part of my engine again, I notice that it only seems to accept quads (except collisiontrees).

What about triangles? Aren't quads totally inferior to them?

What if I have a generated mesh? Then I can't be 100% sure that all the vertices in every quad is coplanar. The only way to really do this is by using a treecollision, which is only for static objects.

See ya,
Xil
Xilliah
 
Posts: 2
Joined: Fri Apr 18, 2008 4:41 pm
Location: Netherlands

Re: CreateConvexHull, quads only?

Postby Xilliah » Mon Dec 22, 2008 5:46 pm

Just looked up the word 'convex' and I noticed that this isn't what I need. Isn't there anyway to get a (triangle) mesh collision in Newton?
Xilliah
 
Posts: 2
Joined: Fri Apr 18, 2008 4:41 pm
Location: Netherlands

Re: CreateConvexHull, quads only?

Postby Julio Jerez » Mon Dec 22, 2008 6:00 pm

what do you mean? you can pass quads, triangles, or any kind of faces to the collision tree.
look at the demos they all pass trangles.
Julio Jerez
Moderator
Moderator
 
Posts: 11155
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: CreateConvexHull, quads only?

Postby Gianluca » Wed Dec 24, 2008 12:56 pm

Maybe you mean that you want an object of arbitrary shape.

Look at thi topic:
viewtopic.php?f=14&t=4723
Gianluca
 
Posts: 53
Joined: Fri Nov 11, 2005 4:37 am
Location: Rome - Italy


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests