POV-Ray : Newsgroups : povray.beta-test : Redhat linux : Preview window red and blue channels inversed? Server Time
1 Jun 2024 23:27:25 EDT (-0400)
  Redhat linux : Preview window red and blue channels inversed? (Message 1 to 8 of 8)  
From: Bruno Cabasson
Subject: Redhat linux : Preview window red and blue channels inversed?
Date: 3 Feb 2011 11:35:00
Message: <web.4d4ad90f596b85bf4aa45fdf0@news.povray.org>
Hi all.

My first attempt to generate POV-Ray on a Linux target (32-bit Redhat entreprise
5, 2.6.18 kernel) was successful (yesssss).

Unfortunately, the preview window shows inversed red & blue channels whereas
saved images are OK. I mean:

background {<rgb <1,0,0>}  shows blue but saved file shows red
background {<rgb <0,0,1>}  shows red but saved file shows blue

Any idea?

Thx


Post a reply to this message

From: Jim Holsenback
Subject: Re: Redhat linux : Preview window red and blue channels inversed?
Date: 3 Feb 2011 12:16:18
Message: <4d4ae2e2$1@news.povray.org>
On 02/03/2011 12:34 PM, Bruno Cabasson wrote:
> Hi all.
> 
> My first attempt to generate POV-Ray on a Linux target (32-bit Redhat entreprise
> 5, 2.6.18 kernel) was successful (yesssss).
> 
> Unfortunately, the preview window shows inversed red & blue channels whereas
> saved images are OK. I mean:
> 
> background {<rgb <1,0,0>}  shows blue but saved file shows red
> background {<rgb <0,0,1>}  shows red but saved file shows blue

background {color rgb ... } typo?
> 
> Any idea?
> 
> Thx
> 
> 
no prob here opensuse11.2
for preview window I'm building against libSDL version >= 1.2.13


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Redhat linux : Preview window red and blue channels inversed?
Date: 3 Feb 2011 14:01:55
Message: <4d4afba3@news.povray.org>

> Hi all.
>
> My first attempt to generate POV-Ray on a Linux target (32-bit
> Redhat entreprise 5, 2.6.18 kernel) was successful (yesssss).
>
> Unfortunately, the preview window shows inversed red&  blue channels
> whereas saved images are OK. I mean:
>
> background {<rgb<1,0,0>}  shows blue but saved file shows red
> background {<rgb<0,0,1>}  shows red but saved file shows blue
>

   Works fine here on Fedora 14, but I remember a similar issue years ago
with MegaPOV, which I solved using "-visual DirectColor" on the commandline.

-- 
Jaime Vives Piqueres
		
La Persistencia de la Ignorancia
http://www.ignorancia.org


Post a reply to this message

From: Jim Holsenback
Subject: Re: Redhat linux : Preview window red and blue channels inversed?
Date: 3 Feb 2011 14:12:47
Message: <4d4afe2f$1@news.povray.org>
On 02/03/2011 03:01 PM, Jaime Vives Piqueres wrote:

>> Hi all.
>>
>> My first attempt to generate POV-Ray on a Linux target (32-bit
>> Redhat entreprise 5, 2.6.18 kernel) was successful (yesssss).
>>
>> Unfortunately, the preview window shows inversed red&  blue channels
>> whereas saved images are OK. I mean:
>>
>> background {<rgb<1,0,0>}  shows blue but saved file shows red
>> background {<rgb<0,0,1>}  shows red but saved file shows blue
>>
> 
>   Works fine here on Fedora 14, but I remember a similar issue years ago
> with MegaPOV, which I solved using "-visual DirectColor" on the
> commandline.
> 

hmmm ... don't think it's that
http://wiki.povray.org/content/Documentation:Unix_Section_6#Special_Command-Line_Options

indeed if X11 windows was working properly you'd have those command-line
options available but:

http://wiki.povray.org/content/Documentation:Unix_Section_7#Known_Bugs

just for a sanity check -visual won't pass parse phase in unx builds

Ciao


Post a reply to this message

From: Bruno Cabasson
Subject: Re: Redhat linux : Preview window red and blue channels inversed?
Date: 3 Feb 2011 14:20:00
Message: <web.4d4aff28a2d8082893ff16400@news.povray.org>
Jim Holsenback <jho### [at] povrayorg> wrote:
> On 02/03/2011 12:34 PM, Bruno Cabasson wrote:
> > Hi all.
> >
> > My first attempt to generate POV-Ray on a Linux target (32-bit Redhat entreprise
> > 5, 2.6.18 kernel) was successful (yesssss).
> >
> > Unfortunately, the preview window shows inversed red & blue channels whereas
> > saved images are OK. I mean:
> >
> > background {<rgb <1,0,0>}  shows blue but saved file shows red
> > background {<rgb <0,0,1>}  shows red but saved file shows blue
>
> background {color rgb ... } typo?
> >
> > Any idea?
> >
> > Thx
> >
> >
> no prob here opensuse11.2
> for preview window I'm building against libSDL version >= 1.2.13

Ok for typo (french keyboards...)

I'll check for libSDL though 'configure' prior to build is supposed to ensure
for versions.

Thanks for the reply


Post a reply to this message

From: Bruno Cabasson
Subject: Re: Redhat linux : Preview window red and blue channels inversed?
Date: 3 Feb 2011 14:35:01
Message: <web.4d4b0286a2d8082893ff16400@news.povray.org>
Jim Holsenback <jho### [at] povrayorg> wrote:
> On 02/03/2011 03:01 PM, Jaime Vives Piqueres wrote:

> >> Hi all.
> >>
> >> My first attempt to generate POV-Ray on a Linux target (32-bit
> >> Redhat entreprise 5, 2.6.18 kernel) was successful (yesssss).
> >>
> >> Unfortunately, the preview window shows inversed red&  blue channels
> >> whereas saved images are OK. I mean:
> >>
> >> background {<rgb<1,0,0>}  shows blue but saved file shows red
> >> background {<rgb<0,0,1>}  shows red but saved file shows blue
> >>
> >
> >   Works fine here on Fedora 14, but I remember a similar issue years ago
> > with MegaPOV, which I solved using "-visual DirectColor" on the
> > commandline.
> >
>
> hmmm ... don't think it's that
>
http://wiki.povray.org/content/Documentation:Unix_Section_6#Special_Command-Line_Options
>
> indeed if X11 windows was working properly you'd have those command-line
> options available but:
>
> http://wiki.povray.org/content/Documentation:Unix_Section_7#Known_Bugs
>
> just for a sanity check -visual won't pass parse phase in unx builds
>
> Ciao

Thanks for the tip. I'll check that.

Regards


Post a reply to this message

From: Bruno Cabasson
Subject: Re: Redhat linux : Preview window red and blue channels inversed?
Date: 4 Feb 2011 02:50:01
Message: <web.4d4bae8aa2d808284aa45fdf0@news.povray.org>
"Bruno Cabasson" <bru### [at] alcatelaleniaspacefr> wrote:
> Jim Holsenback <jho### [at] povrayorg> wrote:
> > On 02/03/2011 12:34 PM, Bruno Cabasson wrote:
> > > Hi all.
> > >
> > > My first attempt to generate POV-Ray on a Linux target (32-bit Redhat entreprise
> > > 5, 2.6.18 kernel) was successful (yesssss).
> > >
> > > Unfortunately, the preview window shows inversed red & blue channels whereas
> > > saved images are OK. I mean:
> > >
> > > background {<rgb <1,0,0>}  shows blue but saved file shows red
> > > background {<rgb <0,0,1>}  shows red but saved file shows blue
> >
> > background {color rgb ... } typo?
> > >
> > > Any idea?
> > >
> > > Thx
> > >
> > >
> > no prob here opensuse11.2
> > for preview window I'm building against libSDL version >= 1.2.13
>
> Ok for typo (french keyboards...)
>
> I'll check for libSDL though 'configure' prior to build is supposed to ensure
> for versions.
>
> Thanks for the reply

Built with libSDL 1.1.10. Should be OK. Still investigating...

B.


Post a reply to this message

From: Bruno Cabasson
Subject: Re: Redhat linux : Preview window red and blue channels inversed?
Date: 9 Feb 2011 10:55:01
Message: <web.4d52b811a2d808284aa45fdf0@news.povray.org>
"Bruno Cabasson" <bru### [at] alcatelaleniaspacefr> wrote:
> "Bruno Cabasson" <bru### [at] alcatelaleniaspacefr> wrote:
> > Jim Holsenback <jho### [at] povrayorg> wrote:
> > > On 02/03/2011 12:34 PM, Bruno Cabasson wrote:
> > > > Hi all.
> > > >
> > > > My first attempt to generate POV-Ray on a Linux target (32-bit Redhat
entreprise
> > > > 5, 2.6.18 kernel) was successful (yesssss).
> > > >
> > > > Unfortunately, the preview window shows inversed red & blue channels whereas
> > > > saved images are OK. I mean:
> > > >
> > > > background {<rgb <1,0,0>}  shows blue but saved file shows red
> > > > background {<rgb <0,0,1>}  shows red but saved file shows blue
> > >
> > > background {color rgb ... } typo?
> > > >
> > > > Any idea?
> > > >
> > > > Thx
> > > >
> > > >
> > > no prob here opensuse11.2
> > > for preview window I'm building against libSDL version >= 1.2.13
> >
> > Ok for typo (french keyboards...)
> >
> > I'll check for libSDL though 'configure' prior to build is supposed to ensure
> > for versions.
> >
> > Thanks for the reply
>
> Built with libSDL 1.1.10. Should be OK. Still investigating...
>
> B.

Got it.

I access the server via VNC on my desktop. The VNC server was started with
-depth 16 instead of 24 ... Was confused because the screen saver photos
(cosmos) were showing correctly

Bruno


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.