Software Listing: 039m039

This is the first half of an OpenGL RPG. It contains most of the graphics processing code, and also walking and also tile-based collision detection. There is suppost for complex quadratic objects (spheres, cylinders, cones) and for normal triangles. It contains texturing, and implements the particle engine. In the top left corner is the Frames per secons, and there are 3 modes of movement/graphics. When you press 'M', it changes the mode between constant FPS, variable FPS and constant movement, and variable FPS and movement..

  • Platform: C and C plus plus, Scripts

moonpos calculates the moon position using the method in the book Astronomical Algorithms by Jean Meeus, Chapter 45, pp 307 - 313. The algorithm used is accurate to about 10 arcsec in longitude and 4 arcsec in latitude according to the book, although the time range is not mentioned. The periodic terms used in this algorithm are based on the Chapront ELP-2000/82 lunar theory, including the later improvements by Chapront. The results of this theory are referred to the mean equinox of date, but moonpos converts these to the apparent geocentric position of the moon referred to the true equinox of date.

  • Platform: Matlab, Scripts

The HGSETGETPLUS class allows the user to: * Implement a handle class with a get/set interface. * Define validation criteria for properties that are checked when the method SET is called. * Display those criteria for a given property or all the properties. * Set defaults for the properties. * Allow a variety of input types in a consistent manner. Example: >> h = hgsetgetplusTemplate h = hgsetgetplusTemplate handle Properties: length: 0 unit: 'm' Methods, Events, Superclasses >> set(h) length: 'double -and- scalar' unit: '[ {m} | cm ]' >> set(h,'unit','kg') ??? Error using ==> setOneProperty Expected kg to match one of these strings: m, cm The input, 'kg', did not match any of the valid strings.

  • Platform: Matlab, Scripts

The advantage of the function compared to hgtransform objects is that it operates directly on the XData,YData and ZData of the object which allows ButtonDownFcn callbacks to execute even when the object was moved. Moreover the applied transforms can be undone or redone stepwise as well as objects can be reseted. The transforms are stored as a structure in the 'UserData' of the graphic objects The function supports line, surface, patch and text objects Usage: transform(obj, tmatrix) [M step]=transform(obj, tmatrix) applies the transform matrix 'tmatrix' to the graphic objects obj. Obj can be line,surface, patch, text or group objects.

  • Platform: Matlab, Scripts

Displays the contents of a displayed draggable rectangle on one axis of a source figure into an axis in a target figure. The difference in the screen size of the target axis and the size of the rectangle represents the magnification factor that the contents of the source rectangle will appear in the target figure. Backwards compatible to R12.1 at least. Much smoother under R14x though. Update of 3/29: 1) Put in arrow keys to have individual control over rectangle width and height 2) Saved size state of rectanglebetween drags and added 'r' key to restore default rectangle proportion (20% of axes) 3) Added 'm' key to toggle between maximizing target axis and having it be the original.

  • Platform: Matlab, Scripts

A marker tool where data is presented in a separate window. Actual data is presented together with several other quantities derived from the current point and a reference point, see screenshot. Simply type markertool to start the tool and associate itself with the current figure and axes. Press 'M' in plot window to set reference marker. Press 'A' in marker window to reassociate to the (new) current figure/axes. Comments and suggestions highly appreciated..

  • Platform: Matlab, Scripts

Page: 1 |

New Reviews


Simple Machines Forum (SMF)

SMF (Simple Machines Forums) is a piece of forum software that is very useful for any website owner (or anyone looking to own a website) who would like to add a community forum to their website, or indeed anyone with a forum already who would like ...


Bank Robber

Bank robber (the bank robber) is essentially a trial game or a demo for the full version of the bank robber, which costs $4.99, and is a third person stealth and strategy game. In the bank robber you play as a criminal having recently being released ...


Wise Registry Cleaner

Wise Registry Cleaner is a free registry cleaner, that is in fact more than just a registry cleaner. Its main purpose is to indeed clean your computer registry, but it also acts as a general system tune up tool, as well as a registry defragmenter, ...


Graphs Made Easy

For some students, understanding statistics is a tough mountain to climb. However, this problem can be easily solved using pictorial representation of numbers and data, popularly known as Graphs. Since Graphs are easier to interpret, these are often ...


Privacy Winner

Many computer users know that over time your computer slows down. Give it six months and if you’re unlucky enough, your brand new shiny Windows 7 computer will be running just as slow as your old XP one was, causing you no end of problems such ...


WinXP Manager

WinXP Manager is the tool letting you easily change and personalize your Windows XP based system. Its the edition of the tool released by Yamicsoft for Windows XP only, and is similar to Vista Manager and Windows 7 Manager, designed for later ...


Castle Wars

Castle wars is a unique blend of the strategy genre with a small amount of war and micro management elements added in to make it more unique. In castle wars the aim is to eliminate all the other players from the map, and become the only player left ...


Norton Internet Security Beta

Due to growing number of cyber-attacks, need of secure computers and networks has increased dramatically. Therefore, new protection technologies are being introduced every day and are incorporated into different products. This has led to evolution ...


Funny Photo Maker

It happens a lot of times that you capture a photograph, it is good enough but you still want to play with it and improve it. There are lots of programs available for photo editing and some might say that you should use Adobe’s Photoshop. Yes, ...



New Downloads

Comodo Internet Security

Comodo Internet Security is a
free security solution for
Windows that uses a powerful
combination of antivirus,
firewall, ...

UltraFileSearch Lite
Portable

File Search Utility which is
able to quickly find Files,
Folders and Text on your
Local, Network, DVD, CD-ROM,
USB Hard ...

Edraw MindMaster

MindMaster is a cross-platform
and multi-functional mind
mapping software. It provides
effective mind mapping
solutions ...

extra1x2

if you like playing toto 1x2
games, eXtra1x2 software is a
a powerfull and efficinet tool
which will maximize your ...

Easy Time Control
Enterprise

Easy Time Control Enterprise
Edition is the solution that
offers unparalleled
performance with the
flexibility and ...

Vembu BDR Suite

Vembu BDR Suite is an
effective VMware Backup
software designed for VM
administrators. It is an
unified backup solution ...

Kaspersky Free

We in Kaspersky Lab believe
that everyone has a right to
be protected. With our new
anti-virus based on
award-wining ...

Garden Organizer

The software is exceptionally
useful for the organization of
gardening projects and their
regular maintenance tasks
along ...

TruxShare

TruxShare is the greatest file
sharing program for Windows
that let you find and download
all kind of files (like .mp3,
...