Crystal Space
Welcome, Guest. Please login or register.
August 01, 2014, 03:11:40 pm

Login with username, password and session length
Search:     Advanced search
9005 Posts in 2043 Topics by 8270 Members
Latest Member: Rodphil39
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  wxgl problem on OSX, and also Solaris & IRIX rendering questions
« previous next »
Pages: [1] Print
Author Topic: wxgl problem on OSX, and also Solaris & IRIX rendering questions  (Read 4045 times)
eventhorizon5
Jr. Member
**
Posts: 53


View Profile WWW
« on: May 09, 2008, 05:54:19 pm »

First off I just submitted a patch made by me and Patrick Baggett to add MIPS atomic operations support to the CS 1.2 threading system, mainly for building on SGI machines (IRIX operating system).  http://trac.crystalspace3d.org/trac/CS/ticket/475

The main problem I'm having is that it seems that the wxgl plugin in 1.2 is defective on Mac OSX; the general sample apps (like simple1, etc) run fine, but wxtest seems to have a canvas rendering problem (and since my simulator app uses wxgl, it doesn't work either).  I have CS built in debug mode on the machine if any in-depth info is needed.  I don't know if this issue has been looked at already.
Basically what happens is that the app runs, the wx window displays, but initially nothing appears inside the window; if the window is moved, a black render area appears, but with seemingly no active rendering.  Here's one screenshot of the problem (thought I took more, but I'll get more later - this shot is of my simulator running; the result is the same as with wxtest):



In that image, the entire window titled "Skyscraper 1.1 Alpha" is a render window, but shows nothing; if you move it, the window contents turn black.


The other issue is more complex and has been an issue for a long time.  Me and some other people are trying to get CS to run on both Sun Solaris and primarily SGI IRIX, and are running into problems seemingly related to detection of GLX visuals and renderer parameters.  On both platforms, the CS demos run, but they report that the systems are running in 15-bit color mode (even though Solaris is running in 24-bit mode, and IRIX in 32-bit mode), and end up with a rapidly flickering render window with no visible 3D rendering.  I also have CS built in debug mode on both those platforms if any other info is needed; I'm working with some other people on trying to figure it out on IRIX, but wanted to ask you guys since I don't know a whole lot about the CS internals. 

CS's simple1 verbose output on IRIX:
http://ryan.tliquest.net/cs_patches/cs_1.2_irix_output.txt

IRIX Screenshot:
http://ryan.tliquest.net/cs_patches/cs_irix1.jpg


Solaris screenshot:


and a memory breakdown of the simple1 app on IRIX:
http://ryan.tliquest.net/cs_patches/cs_irix3.jpg


-eventhorizon



 

Logged
eventhorizon5
Jr. Member
**
Posts: 53


View Profile WWW
« Reply #1 on: May 10, 2008, 01:01:16 am »

Here's my screenshots and runtime logs of both wxtest and simple1 on OS X.  The machine is running 10.4.11 PPC with wxWidgets 2.8.7 and Xcode 2.5.

Simple1; works fine:


Simple1 run log:
http://www.skyscrapersim.com/1.1/dev_pics/mac/wx_problem/simple1_mac.txt

wxtest; doesn't work (this is after I moved the window, which reveals the black render area):


wxtest run log:
http://www.skyscrapersim.com/1.1/dev_pics/mac/wx_problem/wxtest_mac.txt

-eventhorizon
Logged
Vincent
Full Member
***
Posts: 191


View Profile WWW
« Reply #2 on: May 12, 2008, 10:31:09 pm »

Hello,

  could you create tickets on CS Trac about those issues ?
wxtest works here on Linux with wxWidgets 2.6 (wxGTK-2.6.3).
Be sure to mention the version you're using, and also how you installed/built it (Mac ports or whatever).
Logged
eventhorizon5
Jr. Member
**
Posts: 53


View Profile WWW
« Reply #3 on: May 12, 2008, 10:55:46 pm »

  could you create tickets on CS Trac about those issues ?
wxtest works here on Linux with wxWidgets 2.6 (wxGTK-2.6.3).
Be sure to mention the version you're using, and also how you installed/built it (Mac ports or whatever).


I was going to; I mainly didn't know if it was a known problem or not.

-eventhorizon
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.189 seconds with 15 queries.