Jump to content
A Nonny Moose

OpenGL graphics vs. DirectX

9 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

I have no feel for who might be using OpenGL in place of DirectX, but I recently tried it and it is working.  Previous tests showed failure, but recently some fix in wine (Linux) has made this work.

 

The only thing I haven't be able to work yet is edge scrolling, which doesn't work under wine.  Anyone on Windows with OpenGL have this problem or is it isolated to me?


Beware: Emancipated user.  No Windoze for me.
The teacher opens the door but the student must enter himself. - Ancient Chinese Saying

Every minute of hate in which one indulges oneself is sixty seconds of happiness lost.
Music expresses that which cannot be put into words and that which cannot remain silent. -- Victor Hugo
If you always do what you've always done, you'll mostly get what you've always got.
JohnNewSig.gif
"We have met the enemy, and he is us" - Walt Kelly

Come join us at the Moose Factory

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

I can confirm edge scrolling works under Windows, at least with my Intel Chip.

 

What I'd be interested to know is why OpenGL rendering, unlike DirectX does not count as hardware rendering by SC4, if that could be resolved it would open up the HD mods to a lot more people who can't use DirectX for whatever reason.

  • Like 1

Head over to my Lot and Mod Shack to keep abreast of my latest developments.

Do you like custom textures, but don't like all the work involved creating them?, take a look at the Texture Automation options here. Change the look and feel of your transit networks, with the minimum of effort, for example customised versions of my Sidewalk NAM (SWN) and Terrain Grass NAM (TGN) mods, and much more besides.

New to the NAM? Check out my tutorials on YouTube. Latest upload: How to: RHW - MHO Roundabout Interchanges. (Nov 25).

p.s. - I'm MGB over on SC4D and a member of the NAM team.

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

I can confirm edge scrolling works under Windows, at least with my Intel Chip.

 

What I'd be interested to know is why OpenGL rendering, unlike DirectX does not count as hardware rendering by SC4, if that could be resolved it would open up the HD mods to a lot more people who can't use DirectX for whatever reason.

Well, Maxis never really finished the OpenGL part of the game, so that probably explains it.


Check out my roadgeek CJ, United States of Simerica! Last updated: March 5th, 2017

NAM Associate

Cofounder of the United SimNations

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    When I run with OpenGL and my RS780 chip set, everything works (so far) except edge scrolling.  The code may be old, but it is being handled almost entirely, just have to scroll with the arrow keys.  OpenGL, by the way, is the default for Linux.  The running game has the hardware rendering option set (press F11 and see).  I guess they simply didn't want to complicate the menu.

     

    DirectX is getting kind of long in the tooth now that most GPUs will accept OpenGL commands directly.


    Beware: Emancipated user.  No Windoze for me.
    The teacher opens the door but the student must enter himself. - Ancient Chinese Saying

    Every minute of hate in which one indulges oneself is sixty seconds of happiness lost.
    Music expresses that which cannot be put into words and that which cannot remain silent. -- Victor Hugo
    If you always do what you've always done, you'll mostly get what you've always got.
    JohnNewSig.gif
    "We have met the enemy, and he is us" - Walt Kelly

    Come join us at the Moose Factory

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    The reason why many of us will still use DirectX, including me, is that the game CTDs when you try and use any HD custom content (which includes many newer tree controllers and terrain mods) on OpenGL.


    Check out my roadgeek CJ, United States of Simerica! Last updated: March 5th, 2017

    NAM Associate

    Cofounder of the United SimNations

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    I just tried this it opened up to my region view but in a window about the size of my cell phone. so I could not enter a city.

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    The reason why many of us will still use DirectX, including me, is that the game CTDs when you try and use any HD custom content (which includes many newer tree controllers and terrain mods) on OpenGL.

    Not surprising.  HD did not exist when this was written.  The calls are probably wrong.  I don't use HD textures because I was mostly constrained to running software mode.  It is only the last few updates of wine that supported hardware mode properly.  Since I have only a 24" screen, I really don't see any point in HD textures.  I think some people using large format screens might benefit.

     

    I just tried this it opened up to my region view but in a window about the size of my cell phone. so I could not enter a city.

    I don't think it would work without the -customresolution:enabled options.

     

    Overall: I believe that OpenGL rendering with SC4 was not really properly tested and may be unfinished.

    • Like 1

    Beware: Emancipated user.  No Windoze for me.
    The teacher opens the door but the student must enter himself. - Ancient Chinese Saying

    Every minute of hate in which one indulges oneself is sixty seconds of happiness lost.
    Music expresses that which cannot be put into words and that which cannot remain silent. -- Victor Hugo
    If you always do what you've always done, you'll mostly get what you've always got.
    JohnNewSig.gif
    "We have met the enemy, and he is us" - Walt Kelly

    Come join us at the Moose Factory

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Since I have only a 24" screen, I really don't see any point in HD textures.  I think some people using large format screens might benefit.

    Only 24"? That's actually a big monitor! For me, the benefit of HD anything shows up at zoom 6, where HD stuff isn't pixelated.

    Check out my roadgeek CJ, United States of Simerica! Last updated: March 5th, 2017

    NAM Associate

    Cofounder of the United SimNations

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Zoom 6 is an interesting point, but because of the higher density of pixels in HD textures, they still pixelate but you can't see it.


    Beware: Emancipated user.  No Windoze for me.
    The teacher opens the door but the student must enter himself. - Ancient Chinese Saying

    Every minute of hate in which one indulges oneself is sixty seconds of happiness lost.
    Music expresses that which cannot be put into words and that which cannot remain silent. -- Victor Hugo
    If you always do what you've always done, you'll mostly get what you've always got.
    JohnNewSig.gif
    "We have met the enemy, and he is us" - Walt Kelly

    Come join us at the Moose Factory

    Share this post


    Link to post
    Share on other sites

    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account


    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections