SDL

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Tue Dec 18, 2007 9:28 pm

Wow... awesome!

Edit: Doesn't openGL support pixel shaders? So would there be a possibility of them at some point?
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Wed Dec 19, 2007 12:18 am

I think it does, but the language syntax is slightly different. It's possible, but timtim will have to comment.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Tue Dec 30, 2008 2:21 pm

If all the rendering part of the engine is encapsulated in a separated class then it shouldnt be a problem. Instead of Direct3D calls you put OpenGL calls.

Indeed I dont fully understand why not to have a OpenGL rendered, it will have the same quality and it will make porting much easier.
B
1
G
4
Posts: 4
Reputation: 1,033

Post » Tue Dec 30, 2008 2:26 pm

ouch, now I see the sillyness of my post, one year late and pointing out the obvious :S
B
1
G
4
Posts: 4
Reputation: 1,033

Post » Tue Dec 30, 2008 3:31 pm

The display engine is indeed in a separate class which is fairly easily interchangeable. We used Direct-X because it's easier to pickup and use than OpenGL, and it offers some benefits like the audio API. On reflection though it would've been better if we'd used OpenGL from the start :).
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Tue Dec 30, 2008 3:51 pm

I heard that there's some problems with OpenGL in the newer versions of Windows, because MS uses DirectX to render the UI of Windows...? Is this true?
B
3
S
2
G
5
Posts: 263
Reputation: 2,201

Previous

Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests