Welcome to Fractal Forums

Fractal Software => Fragmentarium => Topic started by: Adam Majewski on August 17, 2015, 08:33:18 AM




Title: warning- line number
Post by: Adam Majewski on August 17, 2015, 08:33:18 AM
Hi,

After compiling the script I have warnings :
Fragment shader compiled with warnings: Fragment info
-------------
0(90) : warning C7011: implicit cast from "int" to "float"
0(91) : warning C7011: implicit cast from "int" to "float"
0(112) : warning C7011: implicit cast from "int" to "float"


How cah I find the line which is the cause of the problem when I do not see number lines ?

TIA

Adam


Title: Re: warning- line number
Post by: claude on August 17, 2015, 09:49:01 AM
the status bar shows the line number of the preprocessed script at the current cursor location, which is a bit awkward (as is the colouring of the log with my system theme - white text on white background...)   this is with fragmentarium from syntopia github (about says 1.0.0 cologne)


Title: Re: warning- line number
Post by: Adam Majewski on September 27, 2015, 10:22:55 PM
I have found the problem : I had nouvou driver for my Nvidia card.
I have change driver to binary from Nvidia.
Now it is OK


Title: Re: warning- line number
Post by: quaz0r on September 27, 2015, 11:06:52 PM
nouveau is teh sux0r failsauce  :angel1:


Title: Re: warning- line number
Post by: JohnVV on September 28, 2015, 08:56:59 PM
Quote
I have found the problem : I had nouvou driver for my Nvidia card.
I have change driver to binary from Nvidia.
Now it is OK
your default text editor also has numbering
gedit ( gnome)  or Kate ( KDE) and Emacs all have line numbering



Title: Re: warning- line number
Post by: 3dickulus on September 29, 2015, 02:27:54 AM
Under the "Render" menu,
select "Output preprocessed script",
this will open a new tab with the complete script as it is when executed.

if you have editor line numbers turned on in preferences (v1.0.12) you will easily be able to find the right line for any error ;)
or you can save the preprocessed script and use your favourite editor to look at it while editing the fragment in Fragmentarium :D