Results 1 to 2 of 2

Thread: Cross platform development

  1. #1
    Junior Member Newbie
    Join Date
    May 2011

    Cross platform development

    Hello all Im planning to create a multi platform renderer my main targets will be:


    (future platforms)
    Android OS

    To my understanding the best way to approach this is to make use of OpenGL ES 2.0

    I plan also to use SDL and GLEW

    I would like to know if anyone else in here has tried something like this, some tips and resources on how to approach this problem will also be helpful


  2. #2
    Junior Member Newbie
    Join Date
    Aug 2011
    Montana, USA

    Re: Cross platform development

    I too am try to do this. The trickiest part of this is that everything must be abstract. That means you can't use Win32, MFC, ATL, Carbon, Cocoa, or X exclusively through-out the application. But feel free to use say QT 4.7.2 or GTK+.

    Another way to think of it is, The earth is the OS. Normally you would build everything on earth(so to say). But when building things that also have to work on Mars and Venus, you need to create an abstract entity, or the Moon. then you simply create a "tether" that then your app and the OS use to communicate. This becomes very hard because when rendering with OpenGL (or any hardware accelerated drawing API), you need to render to an object that is embedded in the OS, so you have to be clever.

    As for resources, I have found the following websites very useful:
    Almost Any File Type
    Mac OS X Carbon
    MSDN for Win32, MFC, ATL, COM
    Good Linux Docs

    I hope this all helps!
    assert( != (new BadPost(this.guyname, 1/0).IsTerrible());
    Assertion Failed!

Similar Threads

  1. cross platform? tutorials?
    By aggrav8d in forum COLLADA
    Replies: 1
    Last Post: 05-23-2006, 05:11 PM
  2. cross-platform ?
    By Tetsuo in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 04-17-2005, 07:52 PM
  3. Cross Platform OpenGL -HOW??!!
    By adityagaddam in forum OpenGL: Advanced Coding
    Replies: 22
    Last Post: 12-29-2002, 11:57 AM
  4. Cross Platform
    By Gavin in forum OpenGL: macOS
    Replies: 2
    Last Post: 10-29-2000, 08:50 PM
  5. OpenGL as a Cross-Platform 2D API?
    By RossB in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 10-03-2000, 06:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean