Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: plottin' the demo  (Read 2320 times)

0 Members and 1 Guest are viewing this topic.

rednova

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 225
    • http://www.feryogi.com
plottin' the demo
« on: August 22, 2007, 08:20:44 PM »

Dear Friends:

I have seen a beautiful amiga demo (satisfaction guaranteed) which I loved. It showed a series of points
moving around and becoming different shapes (made of points)like math hyperbolas...switching from shape to shape. Is it possible to do this in amospro?  To plot points and makin 'em form a different shape?
Thanks...

rednova
-mobilis in mobile-
Logged
-mobilis in mobile-

Sidewinder

  • Forum Mod
  • A600
  • *****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 155
    • http://www.liquido2.com/
Re: plottin' the demo
« Reply #1 on: August 22, 2007, 08:33:48 PM »

Absolutely!  Although the original AMOS plot function is a bit slow so I'd suggest using a replacement like the one found in the Turbo extension.  The whole concept would involve solving intersections of lines and mathematical equations for various shapes.  Without an FPU (does AMOS even use an FPU when available?) you'll need to generate precomputed tables for the different mathematical functions in order to keep the frame rate high.  But it's definitely possible.
Logged
- Sidewinder

rednova

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 225
    • http://www.feryogi.com
Re: plottin' the demo
« Reply #2 on: August 22, 2007, 08:48:54 PM »

Sidewinder:

Thanks for replying. I will mess with the plotting commands. I do not need this function to be fast...just to adequately work. Hey..all amos people:  I love you!!!!

rednova
Logged
-mobilis in mobile-

Sidewinder

  • Forum Mod
  • A600
  • *****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 155
    • http://www.liquido2.com/
Re: plottin' the demo
« Reply #3 on: August 23, 2007, 02:19:18 AM »

@rednova

I checked out the demo and didn't see effects exactly like you describe, but I did sit down with AMOS tonight and ran a simple test case with finding the intersection points of a line and a circle.  It seems to work just fine in AMOS with one random line and one circle.  I had the line spinning and calculated the intersection points and plotted them on the screen so it looked like two points circling each other.  Pretty cool effect if I do say so myself.  Now to add more complex quadratic shapes and maybe even some 3D.   ;D
Logged
- Sidewinder

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: plottin' the demo
« Reply #4 on: April 19, 2009, 01:58:44 AM »

Without an FPU (does AMOS even use an FPU when available?) you'll need to generate precomputed tables for the different mathematical functions in order to keep the frame rate high.  But it's definitely possible.
Amos only supports an FPU when using double precision numbers.
Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022