Curvy 3D on Mac Dev Log
-
- C.E.O.
- Posts: 2576
- Joined: Wed Dec 01, 2004 8:13 am
- Location: Kingston Upon Thames, U.K.
- Contact:
Curvy 3D on Mac Dev Log
I'll update this thread as Curvy gets closer to a mac version
I'm aiming at getting Curvy running in GL as my first step towards a native OSX build. Then you should at least be able to run a GL version of Curvy under Wine, or perhaps WineBottler.
Current Status: I have a GL viewport launching from Curvy. Currently with some paper aeroplanes flying round (using a GLUT demo!)
Now I am starting the long job of extracting the bulk of the Microsoft Windows code - namely Afx & MFC classes, types and functions. While this work might be simpler that the DirectX to OpenGL side of things it is a slow grind through 1000's of changes.
I'm aiming at getting Curvy running in GL as my first step towards a native OSX build. Then you should at least be able to run a GL version of Curvy under Wine, or perhaps WineBottler.
Current Status: I have a GL viewport launching from Curvy. Currently with some paper aeroplanes flying round (using a GLUT demo!)
Now I am starting the long job of extracting the bulk of the Microsoft Windows code - namely Afx & MFC classes, types and functions. While this work might be simpler that the DirectX to OpenGL side of things it is a slow grind through 1000's of changes.
-
- C.E.O.
- Posts: 2576
- Joined: Wed Dec 01, 2004 8:13 am
- Location: Kingston Upon Thames, U.K.
- Contact:
I've been adding a new indirection layer to Curvy so most of the program won't know if it is running on OSX, Linux or Windows and only a few key parts have to interact with the underlying operating system.
I'll try to do the same thing with DirectX & OpenGL too - but if it all goes well I might switch the Windows version over to OpenGL too one day.
I'll try to do the same thing with DirectX & OpenGL too - but if it all goes well I might switch the Windows version over to OpenGL too one day.
As am I. Just curious, why go with OpenGL as a full switch? OpenGL is out-dated these days and I believe Dx has much more power and flexibility. Although, I'm probably wrong on that speculation. However, it is good to hear that your making progress. Your pretty much incorporating your own version of HAL but on the software side.... SAL? Haha.
C is missing : Scream's pain of Clicking dost my Keyboard a Thinkin'. I need a new Laptop.
-
- C.E.O.
- Posts: 2576
- Joined: Wed Dec 01, 2004 8:13 am
- Location: Kingston Upon Thames, U.K.
- Contact:
Last time I did this kind of conversion it was GL to DX, so it is funny doing the other way round for a change. Even then I still kept the GL style of doing things because it is very simple and friendly for day to day coding.
DX is wandering off on a different path... DX10 and 11 are restricted to certain versions of Windows OS so they are not helpful. I have to use DX9 for compatibility, and even then it drags in 30MB of install files into the Curvy installer.
The main reason for GL is to see if I can get better performance on the Linux and OSX versions - but it I like it there may be no point maintaining two versions of the renderer in parallel.
DX is wandering off on a different path... DX10 and 11 are restricted to certain versions of Windows OS so they are not helpful. I have to use DX9 for compatibility, and even then it drags in 30MB of install files into the Curvy installer.
The main reason for GL is to see if I can get better performance on the Linux and OSX versions - but it I like it there may be no point maintaining two versions of the renderer in parallel.
its all rather tricky
i suppose aiming for maximum platform and hardware compatibility
makes the most sense.
I imagine keeping the core of curvy in a safe and usable format is the crucial thing (it's basic algorithms etc)
from a personal point of view i would love to see the day that i could run all my applications on a linux machine.
opengl must require a lot of low level coding but at least it is some form of standard.
i suppose aiming for maximum platform and hardware compatibility
makes the most sense.
I imagine keeping the core of curvy in a safe and usable format is the crucial thing (it's basic algorithms etc)
from a personal point of view i would love to see the day that i could run all my applications on a linux machine.
opengl must require a lot of low level coding but at least it is some form of standard.
Very awesome! Although... I really hate to say it, but I screwed up my laptop MBR while trying to install windows after linux. I tried to fix it but with my laptop unable to boot to flash drive, couldn't fix it. Right now, I just have Windows but will be putting Linux as dual boot later on today. Going to try Kubuntu this time.
C is missing : Scream's pain of Clicking dost my Keyboard a Thinkin'. I need a new Laptop.
-
- C.E.O.
- Posts: 2576
- Joined: Wed Dec 01, 2004 8:13 am
- Location: Kingston Upon Thames, U.K.
- Contact:
That's cool. I think the next step will probably be Curvy working in Open GL with minimal Windows code - working under Wine on Linux & Mac. I'm looking forward to finding out what kind of performance the GL version gets (and of course it will be good to get the Wine version working again!)
The full Mac port will be a bit more complex.
The full Mac port will be a bit more complex.