06-29-2008
Is there anyone who can guide/help me with this.....
i would really appreciate that
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI,
I AM IN THE PROCESS OF CREATING A WEBSITE. SINCE I AM A NEW UNIX REGISTRANT, CAN I UTILIZE THE UNIX SITE TO CREATE THE SITE?:o :confused: (2 Replies)
Discussion started by: satch
2 Replies
2. BSD
Hi to all,
Iam using FreeBSD 5.4. I want to write a kernel file with an option "CD9660_ROOT" in it. When i start to compile this kernel, it gives a message "unknown option CD9660_ROOT". Could anyone hellp with this as soon as possible.
Bye,
tadakamalla (3 Replies)
Discussion started by: tadakamalla
3 Replies
3. Programming
hi everyone
i have a doubt about ".so" files.
what is the need of ".so" files.
why we use ".so" files.
where we can use ".so" files.
how can i create ".so" files.
can u tell me a good example please
thank you (6 Replies)
Discussion started by: ramesh.jella
6 Replies
4. UNIX for Dummies Questions & Answers
hi...
I have a folder<abc> under /root folder. I want to create a symlink such that when i click on folder<abc> under root, should display my home folder (home/krish).
Immediate inputs appreciated..... (1 Reply)
Discussion started by: rama.honge
1 Replies
5. HP-UX
Hi.
I am working on creating a depot that should be relocatable(I should be able to install it to a directory of my choice). The hp-ux help library talks about the variables SW_LOCATION and SW_ROOT_DIRECTORY to accomplish this.
I have set the is_relocatable parameter to true in my psf.
I... (1 Reply)
Discussion started by: JStone
1 Replies
6. Shell Programming and Scripting
Hi,
Can someone help me with creating a bash shell script.
I need to create a script that gets a positive number n as an argument.
The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies
7. Solaris
I'm running Solaris 10 5/09 X86 suddenly numpad stop working
it's working on jds dt logon screen but in not working in the os only right enter key is working
any ideas
thanks in advance (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies
8. Hardware
Hello Friends,
I have recently installed Open SUSE 12.1 with Gnome on Lenovo Thinkpad. I am using it with an external keyboard and monitor. The numpad of the keyboard seem to have some problems. Its not responding at all. I have tried numlock ON/OFF but with no success.
Some forums say, it... (3 Replies)
Discussion started by: chirag.joshi
3 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Here is what I am supposed to do, word for word from my assignment page:
1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies
10. SCO
Also, in my tinkering around I was able to get SCO installed on a VM, using VM Workstation version 12.5 in a Windows 7 Pro-64 computer. I chose the VM Workstation 8.x compatibility model for my VM, an IDE hard drive at 0:0 and an IDE CD Rom at 1:0 using the physical drive of the computer. Using the... (3 Replies)
Discussion started by: jgt
3 Replies
LEARN ABOUT OPENDARWIN
exspline
exspline(3alleg4) Allegro manual exspline(3alleg4)
NAME
exspline - Constructing smooth movement paths from spline curves. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
Example exspline
DESCRIPTION
This program demonstrates the use of spline curves to create smooth paths connecting a number of node points. This can be useful for con-
structing realistic motion and animations.
The technique is to connect the series of guide points p1..p(n) with spline curves from p1-p2, p2-p3, etc. Each spline must pass though
both of its guide points, so they must be used as the first and fourth of the spline control points. The fun bit is coming up with sensible
values for the second and third spline control points, such that the spline segments will have equal gradients where they meet. I came up
with the following solution:
For each guide point p(n), calculate the desired tangent to the curve at that point. I took this to be the vector p(n-1) -> p(n+1), which
can easily be calculated with the inverse tangent function, and gives decent looking results. One implication of this is that two dummy
guide points are needed at each end of the curve, which are used in the tangent calculations but not connected to the set of splines.
Having got these tangents, it becomes fairly easy to calculate the spline control points. For a spline between guide points p(a) and p(b),
the second control point should lie along the positive tangent from p(a), and the third control point should lie along the negative tangent
from p(b). How far they are placed along these tangents controls the shape of the curve: I found that applying a 'curviness' scaling factor
to the distance between p(a) and p(b) works well.
One thing to note about splines is that the generated points are not all equidistant. Instead they tend to bunch up nearer to the ends of
the spline, which means you will need to apply some fudges to get an object to move at a constant speed. On the other hand, in situations
where the curve has a noticeable change of direction at each guide point, the effect can be quite nice because it makes the object slow
down for the curve.
SEE ALSO
END_OF_MAIN(3alleg4), SCREEN_W(3alleg4), acquire_screen(3alleg4), alert(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), alle-
gro_message(3alleg4), calc_spline(3alleg4), circlefill(3alleg4), clear_keybuf(3alleg4), clear_to_color(3alleg4), desktop_palette(3alleg4),
fixatan2(3alleg4), fixcos(3alleg4), fixed(3alleg4), fixmul(3alleg4), fixsin(3alleg4), fixsqrt(3alleg4), fixtof(3alleg4), fixtoi(3alleg4),
font(3alleg4), ftofix(3alleg4), install_keyboard(3alleg4), install_mouse(3alleg4), install_timer(3alleg4), itofix(3alleg4), key(3alleg4),
keypressed(3alleg4), line(3alleg4), makecol(3alleg4), mouse_b(3alleg4), mouse_x(3alleg4), mouse_y(3alleg4), palette_color(3alleg4),
poll_mouse(3alleg4), readkey(3alleg4), release_screen(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4),
show_mouse(3alleg4), spline(3alleg4), textout_centre_ex(3alleg4), textprintf_centre_ex(3alleg4), textprintf_ex(3alleg4), vsync(3alleg4),
xor_mode(3alleg4)
Allegro version 4.4.2 exspline(3alleg4)