The only collision experience i've had was with simple rectangles, i wanted to find something that would allow me to define polygonal areas for collision and have been trying to make sense of SAT using these two links
Though i'm a bit iffy with the math for the most part i feel like i understand the theory! Except my implementation somewhere down…
The only collision experience i've had was with simple rectangles, i wanted to find something that would allow me to define polygonal areas for collision and have been trying to make sense of SAT using these two links
Though i'm a bit iffy with the math for the most part i feel like i understand the theory! Except my implementation somewhere down…
I'm currently trying to find collisions in 3D between a tighter volume than an AABB and a tree of AABB volumes. I just need to know whether they are intersecting, no closest distance or collision response. An OBB, Cylinder or Capsule would all roughly fit these purposes but Cylinder and Capsule were the first thing I thought of, which I have found…
I'm trying to create a Game Editor, currently just placing different types of Shapes and such. I'm doing this in Windows Forms while drawing the 3D with XNA. So, if I have a couple of Shapes on the screen and I click the screen I want to be able to identify "which" of these objects you clicked.
What is the best method for this? Since having two…
This base class for some shapes I have in my game looks like this. Some of the shapes can be resized, some of them can not.
private Shape shape;
public virtual void SetSizeOfShape(int x, int y)
{
if (CanResize()){
shape.Width = x;
shape.Height = y;
}
else {
throw…
Do you know any library that provides methods to draw simple shapes (lines and optionally other shapes) using WPF WriteableBitmap and ideally BackBuffer?
I know that there is a WriteableBitmapEx project for silverlight but is there WPF equivalent?
I want to recognize the shapes in the picture by template matching.Is the "ExhaustiveTemplateMatching" is the right option given in Aforge.Net for this purpose.Had anyone tried this class and find it working correctly.How accurate and right choice this class is for achieving my purpose.Suggest any other methods or Alogrithms as well for…
I am getting this exception while reading the shapes in excel sheet in c#:
on code line of
if (worksheet.Shapes.Count >= iCurrentRowIndex)
{}
Unable to cast COM object of type
'System.__ComObject' to interface type
'Microsoft.Office.Interop.Excel._Worksheet'.
This operation failed because the
QueryInterface call on the…
Gnu Emacs is insisting on indenting my typedef as follows:
typedef enum {
horizontal,
vertical,
}
shapes;
I want it to indent as follows:
typedef enum {
horizontal,
vertical,
}
shapes;
What switch can I use to get that?
I have a "mynote" textbox on a slide. If I execute:
Sub test()
If ActiveWindow.Selection.SlideRange.Shapes("mynote").Visible Then
MsgBox "ok"
End If
end sub
It works.
But If I attach a shape with this macro:
Sub test(oShape As Shape)
If…
I'm developing a project using PostGIS to hold spatial data where I have records that hold geometry point data and records that hold geometry area data. To solve my problem I'm looking for two queries that can take geographic shapes rather than geometric shapes as parameters.
For query A I…
I have a Java applet, which is a form that draw shapes into it (Rect, Oval, Line).
Each shape is represented by 2 points and can draw itself to the form.
When the JApplet form resizes, I need to resize the shapes also while keeping the aspect ratio.
I didn't find an high quality solution…
I have some words:
shapes<- c("Square", "Triangle","Octagon","Hexagon")
I want to arrange them in pairs:
shapescount<-combn(shapes, 2)
shapescount
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] "Square" "Square" "Square" "Triangle" "Triangle" "Octagon"…
I'm planning to make some simple 3d shapes into anaglyphs that will be in 3d when viewed with 3d glasses (red cyan).
there's lots of info for converting pictures into 3d, but none for spinning 3d shapes. Has anyone got any experience/ideas in how to do this?
im beginner in box2dweb that version of box2d for javascript
i wrote simple gravity system and i want to detect the collision between the box and the ground , when the falling box hit the ground execute simple function like function sucs(){alert("the box on the floor !")};
this is my…
In this All Submittal Issue: Colin Eberhardt, Ken Johnson, Alan Beasley, Pencho Popadiyn, Phil Middlemiss, Khawar(-2-), Levente Mihály, Alex van Beek, Bart Czernicki, Michael…
The Pager shape that is used in Orchard to render pagination is one of those shapes that are built in code rather than in a Razor template. This can make it a little more confusing to override, but nothing is impossible. If we look at the Pager method in CoreShapes, here is…
I am looking for a good 3D CAD like library. I need basic geometry shapes (cube, sphere, torus etc.) and the library should make the surface mesh - based on the shapes and some boolean operations.
I have found many libraries on google (wrapped on C++), but most of them are…
I'm new to Android.
I am drawing bitmaps, lines and shapes onto a Canvas inside the OnDraw(Canvas canvas) method of my view. I am looking for help on how to implement smooth scrolling in response to a drag by the user. I have searched but not found any tutorials to help me…
Hi,
Currently i have a code which will print OMR Mark on each pages. Basically i insert a canvas into each page and subsequently an OMR Mark Line Series are inserted into the canvas.
Recently i found an issue that somehow one of the canvas is placed out of a page and it…
I am trying to do my own custom classes and learn C and Objective C. I'm recieving the error that there is an incompatible type for argument 1. I've defined a struct and class like this:
typedef enum {
kRedColor,
kGreenColor,
kBlueColor
} ShapeColor;
typedef struct…
I have a series of shapes that I want the user to be able click anywhere on the shape to pick up as part of a drag and drop feature. All of these shapes are bounded by a rectangle.
For example:
<g id="shape1" fill="none" stroke="black">
<rect x="0" y="0"…
I am designing an application that needs to save geometric shapes in a database. I haven't choosen the database management system yet.
In my application, all database queries will have an bounding box as input, and as output I want all shapes within that database. I…