Developer guide for moving from SAS/C Amiga to MorphOS?
  • Order of the Butterfly
    Order of the Butterfly
    discreetfx
    Posts: 392 from 2003/7/26
    From: Chicago, IL
    Sorry if we are asking a dumb question but are there any developer guides for moving SAS/C apps to MorphOS? What is recommend for best & quickest development time? Cubic IDE? GCC? A combo of both? What supports accelerated 3D via the GPU?

    [ Edited by discreetfx on 2008/1/7 21:22 ]
    DiscreetFX
    Making your
    Digital Films
    More Effective!
  • »08.01.08 - 03:13
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    discreetfx
    Posts: 392 from 2003/7/26
    From: Chicago, IL
    Sorry to answer our own question but based on further research Cubic IDE might be the best way forward.
    DiscreetFX
    Making your
    Digital Films
    More Effective!
  • »08.01.08 - 03:24
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3088 from 2003/3/5
    From: Canada
    Quote:

    are there any developer guides for moving SAS/C apps to MorphOS?


    This might help.

    Quote:

    What supports accelerated 3D via the GPU?


    Use tinygl
  • »08.01.08 - 07:13
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Jupp3
    Posts: 1193 from 2003/2/24
    From: Helsinki, Finland
    Quote:

    Use tinygl

    ...which is basically (a subset of) OpenGL. Look for OpenGL tutorials, most of them work just fine. http://nehe.gamedev.net has some simple ones, but many do things in, let's say "less-than-optimal way"

    If you are new to OpenGL, I recommend that you start using vertex arrays as soon as possible, it will be later painful, if you need / want to convert your direct mode / display list code to use vertex arrays instead...
  • »09.01.08 - 09:06
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    discreetfx
    Posts: 392 from 2003/7/26
    From: Chicago, IL
    Our fear on developing the MorphOS version is that we would like to take advantage of GPU rendered displays. We are doing that on the OS X version of A4D. This has also been demoed on MOS 2.0 but is not in the current version. We feel GPU acceleration is the future but don't want to do double work on Aladdin 4D by not taking advantage of it now but having to recode for it later.
    DiscreetFX
    Making your
    Digital Films
    More Effective!
  • »09.01.08 - 23:59
    Profile Visit Website
  • Caterpillar
    Caterpillar
    Posts: 37 from 2008/1/4
    From: Canada
    The place to search and ask for answers is on the developer site. Over here:

    http://developer.morphosppc.com/
  • »10.01.08 - 00:15
    Profile
  • MorphOS Developer
    kiero
    Posts: 129 from 2003/2/28
    You don't need to take care about anything or recode anything later.
  • »10.01.08 - 00:36
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jcmarcos
    Posts: 1178 from 2003/3/13
    From: Pinto, Madrid ...
    Quote:

    Omen wrote:

    The place to search and ask for answers is on the developer site. Over here:

    http://developer.morphosppc.com/


    Yes. And it looks embarrasing to see something from two years ago quoted as "news". And you can also get, at first sight, articles dated from a full four years ago. The forum section is also a desert.
    There are actually a couple of insightful technical posts but, in all, it's a big shame that the once announced "official" developer site is a joke. It makes MorphOS look ridiculous. The announcement of a second developer site, present here too, makes it more depressing.
    Why did this very important effort became void? Because it came from Genesi? Are there really any MorphOS developers outside of the core team, willing to comunicate?
    A computer system is as good as its developers. MorphOS developers are invisible. In its current status, MorphOS can't attract new users, because it lacks functions (meanwhile, the finished functions that it already has work very, very well).
    So the obvious target is to attract developers. And this MDC is all they get?
    What a pity.
  • »10.01.08 - 08:29
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Jupp3
    Posts: 1193 from 2003/2/24
    From: Helsinki, Finland
    Quote:

    Our fear on developing the MorphOS version is that we would like to take advantage of GPU rendered displays. We are doing that on the OS X version of A4D. This has also been demoed on MOS 2.0 but is not in the current version.

    What MOS2.0 offers over 1.4x in GPU usage is that, it will use graphics acceleration for "traditionally drawn" 2D graphics aswell in way that all current applications should automatically take advantage of that (although I guess that some new things will be possible, and API will be extended to cover those)

    What I think you are after is "traditional" 3D acceleration using OpenGL, which works on current MorphOS. Sure, there are a few bugs that I have been bugging kiero with :-) but I can live with them, but hope to see them fixed anyway. I guess that MOS2.0 will add support for more OpenGL functionality (such as glInterleavedArrays() which is really easy to code from scratch anyway, if you need it) but as I see it, there shouldn't be anything that would make A4D development impossible.

    If you need more info about the current status, ask more specific questions.
  • »10.01.08 - 08:56
    Profile Visit Website
  • MorphOS Developer
    kiero
    Posts: 129 from 2003/2/28
    "What MOS2.0 offers over 1.4x in GPU usage is that, it will use graphics acceleration for "traditionally drawn" 2D graphics aswell in way that all current applications should automatically take advantage of that (although I guess that some new things will be possible, and API will be extended to cover those)"

    sigh, what makes you think graphics operations are not accelerated even in mos 1.4? if everything would be dome with cpu it would be much much slower.
  • »10.01.08 - 09:07
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Jupp3
    Posts: 1193 from 2003/2/24
    From: Helsinki, Finland
    Quote:

    sigh, what makes you think graphics operations are not accelerated even in mos 1.4? if everything would be dome with cpu it would be much much slower.

    Didn't mean to say that it's "totally unaccelerated" (With "traditionally drawn" I meant "using the same API's that certainly didn't use any modern GPU based acceleration on classic amigas")

    The first point was that the "big news concerning graphics acceleration" are about how it's used with 2D graphics (transparency, cube screen switching etc.). (Despite a few annoying bugs) OpenGL works already, and I'd guess that's what's needed for A4D.

    The second point was that even if 2D drawing is done differently inside MOS2.0, it shouldn't require any changes to the code, unless you want to use some new MOS2.0 features.

    By the way, will MorphOS 2.0 support non-accelerated diagonal gradients? 8-)
  • »10.01.08 - 11:24
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    discreetfx
    Posts: 392 from 2003/7/26
    From: Chicago, IL
    Thank you for the help Jupp3, that answers some questions we had concerning MOS development.
    DiscreetFX
    Making your
    Digital Films
    More Effective!
  • »10.01.08 - 17:16
    Profile Visit Website