Search found 11 matches

by cp51
Fri Jan 18, 2013 3:05 pm
Forum: Everything 2d/3d Graphics
Topic: Generate Polygon from points
Replies: 7
Views: 2898

Re: Generate Polygon from points

So... I always appreciate it when someone gives a example of wat they are talking about, so here we go :-) I am going to generate a "raindrop" looking shape. The radius as a fn of Z will vary like this: http://physics.drexel.edu/~fjones/radius.png The center of mass of the drop will vary a...
by cp51
Thu Jan 17, 2013 1:49 pm
Forum: Everything 2d/3d Graphics
Topic: Generate Polygon from points
Replies: 7
Views: 2898

Re: Generate Polygon from points

Basically, I have a bunch of images. Each image is a picture of an object that has been sliced at various depths so you just end up with a bunch of cross section images. I do some image processing to find the object in each image, then use some active contours to pick out outline of the shape. Depen...
by cp51
Wed Jan 16, 2013 2:50 pm
Forum: Everything 2d/3d Graphics
Topic: Generate Polygon from points
Replies: 7
Views: 2898

Re: Generate Polygon from points

Thanks for the advice! I was thinking I may have to do something similar to this, but I didnt know if there was a simpler method. I guess the biggest problem is going to be that not all layers have the same number of points, and the points dont necessarily all start around the same location. So whil...
by cp51
Tue Jan 15, 2013 10:29 pm
Forum: Everything 2d/3d Graphics
Topic: Generate Polygon from points
Replies: 7
Views: 2898

Generate Polygon from points

Hi all, This question is regarding creating a custom polygon from a set of semi-ordered points. Let me try and explain this clearly: The Problem: I have a set of points (xyz coords) that define the outline of a shape. Lets pretend the shape looks like a rain drop. The Z axis goes through the raindro...
by cp51
Sun Oct 12, 2008 3:32 pm
Forum: Beginners Help
Topic: Drawing lines between 2 nodes
Replies: 15
Views: 6436

Hey all, thanks for all your help. Ive been away from the comp for a few days doing some studying so i havent gotten around to trying out your suggestions yet, but thanks a lot, youve all been most helpful. Ill let you know how it goes and if i have any trouble. Btw, i have around 3500 atoms and abo...
by cp51
Thu Oct 09, 2008 11:30 pm
Forum: Beginners Help
Topic: Drawing lines between 2 nodes
Replies: 15
Views: 6436

Drawing lines between 2 nodes

Hi all, Im working on a molecular simulation and i need a way of drawing bonds between atoms in a material. I am currently using the draw3Dline method but i was just wondering if anyone knows of a better way to accomplish this or should I stick with the draw3Dline? One other thing i noticed is that ...
by cp51
Tue Jul 08, 2008 6:02 pm
Forum: Beginners Help
Topic: Tumle Vehicle Freezes Simulation
Replies: 0
Views: 244

Tumle Vehicle Freezes Simulation

Hi, I have been trying to make a simple vehicle by hacking up some of the example code from the IPhysics wrapper. I think i have it set up, however, after I compile the program(with no errors) and run it, it freezes instantly, as in it loads the scene and freezes. I found two points that cause it to...
by cp51
Wed Jun 25, 2008 2:06 pm
Forum: Beginners Help
Topic: Range Finding To Wall
Replies: 11
Views: 588

wow you guys are fast.

thanks a lot, that worked. So excited lol.

-Thanks again everyone.
by cp51
Wed Jun 25, 2008 1:20 pm
Forum: Beginners Help
Topic: Range Finding To Wall
Replies: 11
Views: 588

hey, thanks for the info. Im going to look at that right now. I have a question though. Currently i have 16 range finders in a circle. I created a rangeFinder objectthat i pass a pointer to the selector to and what angle it will be looking in. However, i also have a simple CubeSceneNode that uses se...
by cp51
Thu Jun 19, 2008 3:44 pm
Forum: Beginners Help
Topic: Range Finding To Wall
Replies: 11
Views: 588

Hey all,

thanks a lot. I was picking through the collision tutorial, but i guess i missed that, or i had no idea what it did. Thanks for pointing it out. Ill go have a look and give it a shot.

thanks a lot.
by cp51
Wed Jun 18, 2008 2:18 pm
Forum: Beginners Help
Topic: Range Finding To Wall
Replies: 11
Views: 588

Range Finding To Wall

Hi, Ive been looking all over for a way of doing this, but i cant seem to find anything. I have a node in a map(the quake2 map that comes with the download) I need to find the distance from the node to the wall in front of it. Eventually I will have to find the distance to walls around the node, but...