Search found 6 matches

by Chris
Fri Jun 15, 2012 7:49 pm
Forum: Questions and Help
Topic: Very simple sphere to poly
Replies: 6
Views: 6395

Re: Very simple sphere to poly

I removed the normalisation of the sweep value. It was setup like that before when I was altering the distance to exclude the node radius, which isn't needed now. The boxing of the ulong is only on the editor, so at this stage performance isn't the issue. However, I will keep this in mind when expor...
by Chris
Fri Jun 15, 2012 6:42 pm
Forum: Questions and Help
Topic: Very simple sphere to poly
Replies: 6
Views: 6395

Re: Very simple sphere to poly

OK, i'll ignore the original ray trace as recommended. This is the implementation, which works quite well (might be helpful to others too). public bool ValidateEdgePath(Space space, PathNode nodeA, PathNode nodeB) { SphereShape convexSphere = new SphereShape(NodeRadius); RigidTransform rigidTransfor...
by Chris
Fri Jun 15, 2012 1:20 am
Forum: Questions and Help
Topic: Very simple sphere to poly
Replies: 6
Views: 6395

Re: Very simple sphere to poly

Thanks. :)

When you mentioned the ConvexShapes I found another thread on this forum which also helped. I have it working with a Convex Sphere. Do you think it may be worth doing a simple ray trace with 'space' to exit early before doing the convex test?
by Chris
Thu Jun 14, 2012 6:41 am
Forum: Questions and Help
Topic: Very simple sphere to poly
Replies: 6
Views: 6395

Very simple sphere to poly

Hi, I am using raytracing to find connectable pathnodes in order to build the edges, but I need to do a radius check to keep the paths away from obstacles. I basically want this check to happen instantaneously (like a ray trace), but after lots of fiddling around, I am just not sure how this relativ...
by Chris
Tue May 29, 2012 11:31 pm
Forum: Questions and Help
Topic: Some questions about spatial partitioning
Replies: 2
Views: 3139

Re: Some questions about spatial partitioning

Thanks for explanation. I've just downloaded the latest source and have noticed the changes in the sourcefiles i'm using, which is most welcoming. I'm also looking over some of the internal classes of the DLL (just rebuilt), which should be a good reference. :)
by Chris
Tue May 29, 2012 9:25 pm
Forum: Questions and Help
Topic: Some questions about spatial partitioning
Replies: 2
Views: 3139

Some questions about spatial partitioning

Hi, I am very new to BEPU, and have just implemented the full character demonstration from the playground demo. I must say that I am impressed how fast it is to setup. However, I am curious how BUPU (or rather the Space object) handles spatial partitioning, or if I am supposed to implement my own (O...