Board index FlightGear Support Installation Mac

Rembrandt with Mac Launcher

Installing FlightGear, scenery, aircraft etc. on Mac.

Rembrandt with Mac Launcher

Postby JM-26 » Mon Feb 04, 2013 2:26 pm

Hi everybody,

Since a lot of months, I have no idea how to use rembrandt with the Mac launcher ( not FGX ).
Which command line I have to write ? --enable-rembrandt is not working.

I have an error message known :

Code: Select all
FRAGMENT glCompileShader "/Applications/FlightGear.app/Contents/Resources/../Resources/data/Shaders/ssao.frag" FAILED
FRAGMENT Shader "/Applications/FlightGear.app/Contents/Resources/../Resources/data/Shaders/ssao.frag" infolog:
ERROR: 0:20: 'array of 2-component vector of float' : constructor not supported for type
ERROR: 0:20: 'array of 2-component vector of float' : no matching overloaded function found
ERROR: 0:20: 'const 2-component vector of float' : cannot declare arrays of this type
ERROR: 0:20: 'v' : redefinition
ERROR: 0:55: 'reflect' : no matching overloaded function found
ERROR: 0:55: '=' :  cannot convert from 'float' to '2-component vector of float'

glLinkProgram "" FAILED
Program "" infolog:
ERROR: One or more attached shaders not successfully compiled


The wiki says that I must add this command line :

Code: Select all
--prop:/sim/rendering/rembrandt/ambient-occlusion-buffers=false


But this command line works for FGRUN. How to use it with the launcher ?

Image

Thank you in advance for your help.

Mac OSX 10.6.8
2.53 GHz Intel Core 2 Duo
4 Go 1067 MHz DDR3
NVIDIA GeForce 9400M 256 Mo

Regards,
JM-26
 
Posts: 29
Joined: Tue Mar 27, 2012 6:38 pm
Location: LFLR ( Anneyron, FRANCE )
Callsign: JM-26
Version: 2.8
OS: Mac OSX 10.6.8

Re: Rembrandt with Mac Launcher

Postby Philosopher » Mon Feb 04, 2013 2:33 pm

You see that window that has "--enable-rembrandt" in it? You simply add your --prop to there – that is where any extra arguments that aren't selected by the launcher can be entered in and then passed to FG.
Philosopher
 
Posts: 1593
Joined: Sun Aug 12, 2012 7:29 pm

Re: Rembrandt with Mac Launcher

Postby JM-26 » Mon Feb 04, 2013 3:00 pm

Philosopher wrote in Mon Feb 04, 2013 2:33 pm:You see that window that has "--enable-rembrandt" in it? You simply add your --prop to there – that is where any extra arguments that aren't selected by the launcher can be entered in and then passed to FG.

Yes, but with this prop ( --prop:/sim/rendering/rembrandt/ambient-occlusion-buffers=false ), FG bug with this message :

Code: Select all
(0) : fatal error C9999: Nested functions, aborting!
Cg compiler terminated due to fatal error


You use 2.6, you don't have rembrandt ? I need somebody who use rembrandt with 2.8 and the launcher.

Thank you for your reply.

Regards,
JM-26
 
Posts: 29
Joined: Tue Mar 27, 2012 6:38 pm
Location: LFLR ( Anneyron, FRANCE )
Callsign: JM-26
Version: 2.8
OS: Mac OSX 10.6.8

Re: Rembrandt with Mac Launcher

Postby zakalawe » Mon Feb 04, 2013 4:01 pm

Your problem isn't the launcher, it's the fact the Rembrandt shaders aren't compiling on Mac.
zakalawe
 
Posts: 1259
Joined: Sat Jul 19, 2008 5:48 pm
Location: Edinburgh, Scotland
Callsign: G-ZKLW
Version: next
OS: Mac

Re: Rembrandt with Mac Launcher

Postby JM-26 » Mon Feb 04, 2013 4:10 pm

zakalawe wrote in Mon Feb 04, 2013 4:01 pm:Your problem isn't the launcher, it's the fact the Rembrandt shaders aren't compiling on Mac.

There is a solution ?

Regards,
JM-26
 
Posts: 29
Joined: Tue Mar 27, 2012 6:38 pm
Location: LFLR ( Anneyron, FRANCE )
Callsign: JM-26
Version: 2.8
OS: Mac OSX 10.6.8

Re: Rembrandt with Mac Launcher

Postby Hooray » Mon Feb 04, 2013 4:11 pm

we should probably try to find a simple way to catch GLSL compiler errors and log them to the property tree for inspection purposes, so that we can directly show a dialog whenever a shader didn't even compile in the first place, that would probably improve usability further...
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Rembrandt with Mac Launcher

Postby JM-26 » Mon Feb 04, 2013 4:24 pm

This means that today, no one can use rembrandt with Mac OSX ?

Regards,
JM-26
 
Posts: 29
Joined: Tue Mar 27, 2012 6:38 pm
Location: LFLR ( Anneyron, FRANCE )
Callsign: JM-26
Version: 2.8
OS: Mac OSX 10.6.8

Re: Rembrandt with Mac Launcher

Postby Philosopher » Wed Feb 06, 2013 4:28 am

I have 2.8 and Rembrandt works fine? I just check the box (or is it command line option), start up flightgear normally, and suddenly I see pixely shadows appear.

P.S. My profile is outdated
Philosopher
 
Posts: 1593
Joined: Sun Aug 12, 2012 7:29 pm

Re: Rembrandt with Mac Launcher

Postby JM-26 » Wed Feb 06, 2013 10:15 am

Could you please post a picture of your launcher with the command line.

Regards,
Last edited by Gijs on Wed Feb 06, 2013 10:16 am, edited 1 time in total.
Reason: No useless quoting please.
JM-26
 
Posts: 29
Joined: Tue Mar 27, 2012 6:38 pm
Location: LFLR ( Anneyron, FRANCE )
Callsign: JM-26
Version: 2.8
OS: Mac OSX 10.6.8

Re: Rembrandt with Mac Launcher

Postby Philosopher » Thu Feb 07, 2013 3:21 am

I have no idea what you are doing wrong, mine looks exactly the same. I have Mac OSX version 10.7.5 on an iMac (AMD Radeon HD Graphics with 512MB), if that helps.
Philosopher
 
Posts: 1593
Joined: Sun Aug 12, 2012 7:29 pm

Re: Rembrandt with Mac Launcher

Postby Ohty » Sun Feb 10, 2013 4:53 pm

Hi Philosopher
I have the same problem and the files runing wrong are ssao.frag, blur.frag, sunlight.frag :

if I run OpenGL Shader Builder and try to compile ssao.frag I get the same message. (See my post http://www.flightgear.org/forums/viewtopic.php?f=47&t=19070)

You write you don't have this problem : can you send me your files ssao.frag, blur.frag and sunlight.frag" ?

If I compile the other files with OpenGLSB, no error.

I have an iMac too, FG 2.10, OsX 10.6.8.
iMac, Os X 10.8
Ohty
 
Posts: 17
Joined: Sat Nov 17, 2012 12:21 pm
Location: Angers, France

Re: Rembrandt with Mac Launcher

Postby Thorsten » Sun Feb 10, 2013 5:05 pm

Wiki on Rembrandt (which is mentioned in this thread) clearly mentions the error and says that you have to disable ambient occlusion if you get it. The first post in this thread repeats this bit of information. What precisely is the problem with following this instruction first to see where it gets you?
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Rembrandt with Mac Launcher

Postby Ohty » Sun Feb 10, 2013 5:10 pm

Thank you Thorsten : I have writen the wiki instruction and now the ssao.frag error disappeared and the errors following are :
Code: Select all
FRAGMENT glCompileShader "/Applications/FlightGear.app/Contents/Resources/../Resources/data/Shaders/blur.frag" FAILED
FRAGMENT Shader "/Applications/FlightGear.app/Contents/Resources/../Resources/data/Shaders/blur.frag" infolog:
ERROR: 0:6: 'array of float' : constructor not supported for type
ERROR: 0:6: 'array of float' : no matching overloaded function found
ERROR: 0:6: 'const float' : cannot declare arrays of this type
ERROR: 0:6: 'f' : redefinition
ERROR: 0:7: 'array of float' : constructor not supported for type
ERROR: 0:7: 'array of float' : no matching overloaded function found
ERROR: 0:7: 'const float' : cannot declare arrays of this type
ERROR: 0:7: 'w' : redefinition
ERROR: 0:11: 'expression' :  left of '[' is not of type array, matrix, or vector 
ERROR: 0:11: 'expression' :  left of '[' is not of type array, matrix, or vector 
ERROR: 0:13: 'expression' :  left of '[' is not of type array, matrix, or vector 
ERROR: 0:13: 'expression' :  left of '[' is not of type array, matrix, or vector 
ERROR: 0:14: 'expression' :  left of '[' is not of type array, matrix, or vector 
ERROR: 0:14: 'expression' :  left of '[' is not of type array, matrix, or vector 

glLinkProgram "" FAILED
Program "" infolog:
ERROR: One or more attached shaders not successfully compiled

FRAGMENT glCompileShader "/Applications/FlightGear.app/Contents/Resources/../Resources/data/Shaders/sunlight.frag" FAILED
FRAGMENT Shader "/Applications/FlightGear.app/Contents/Resources/../Resources/data/Shaders/sunlight.frag" infolog:
ERROR: 0:79: 'array of float' : constructor not supported for type
ERROR: 0:81: 'array of float' : no matching overloaded function found
ERROR: 0:79: 'kernel' : redefinition



What do I do now ?
iMac, Os X 10.8
Ohty
 
Posts: 17
Joined: Sat Nov 17, 2012 12:21 pm
Location: Angers, France

Re: Rembrandt with Mac Launcher

Postby JM-26 » Sun Feb 10, 2013 5:29 pm

Thorsten wrote in Sun Feb 10, 2013 5:05 pm:The first post in this thread repeats this bit of information. What precisely is the problem with following this instruction first to see where it gets you?

The problem is how following this instruction with the Mac launcher ?
If I add the line "--prop:/sim/rendering/rembrandt/ambient-occlusion-buffers=false" in the command line of the launcher, FG bug with this log :

Code: Select all
(0) : fatal error C9999: Nested functions, aborting!
Cg compiler terminated due to fatal error


Regards,
JM-26
 
Posts: 29
Joined: Tue Mar 27, 2012 6:38 pm
Location: LFLR ( Anneyron, FRANCE )
Callsign: JM-26
Version: 2.8
OS: Mac OSX 10.6.8

Re: Rembrandt with Mac Launcher

Postby Thorsten » Sun Feb 10, 2013 5:41 pm

So, gentlemen, that now actually looks like a problem report FredB can start working with...
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Next

Return to Mac

Who is online

Users browsing this forum: No registered users and 1 guest