[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
RabidHaMsTeR.Org • View topic - swapping gl colors

swapping gl colors

Suggestions + Info on development of R4 visuals

Moderators: rabidhamster, Rovastar

swapping gl colors

Postby andff » Thu Aug 11, 2005 10:44 pm

high!

Gordon please don't hit me - my head was visited by a crazy idea again! :)

as i know, R4 operates with R, G and B colors separately. it means colorcycling (hueshifting or palette changing) can't be performed anyway.. but is it technically possible to change colorchannels order? not right now, R4 haven't suitable tools to do this, but can you develop additional gl function for swapping color components? this can be looks like gl.colorChannel(int channelNumber)=int newChannelNumber, where both ChannelNumber and newChannelNumber are numbers from 0 to 2 (0-red, 1-green, 2-blue). or like gl.colorChannel(int redChannel, int greenChannel, int blueChannel), where redChannel, greenChannel and blueChannel can be the number of existing color channels (again 0-red, 1-green, 2-blue).. maybe this looks crookedly for your eyes, but in other words i mean - is it possible to swap all red colors with greens (and all greens must become reds)?

thank you for your trying to understand me! :)
.
.
a quantum leap forward!
andff
 
Posts: 364
Joined: Mon Aug 23, 2004 10:09 pm
Location: hiigara

Postby rabidhamster » Sat Aug 13, 2005 12:13 pm

I know what you mean - I had alook at this because i though colorcycling would be good too :)

There is an extension to 'GL that does this, but it only works on SGI boxes. The best way would be to add pixel shader support, which would allow color cycling quite easily - and a whole load of other fun stuff.

I'm looking into a nice way to do this, but i'm wondering whether to hold off until I release a new vis as Pixel shaders would be a big change.

- Gordon
rabidhamster
Site Admin
 
Posts: 1100
Joined: Fri Mar 21, 2003 12:31 pm
Location: Cambridge, England

Postby andff » Sat Aug 13, 2005 3:13 pm

high!

color cycling will be atomic feature! :)
Gordon, what do you mean - "a new vis"? R5? but when do you plan to compile first alphas? and will R4 scripts be compatible with r5? and does it means there's will be no other, newer versions of R4? :(
.
.
a quantum leap forward!
andff
 
Posts: 364
Joined: Mon Aug 23, 2004 10:09 pm
Location: hiigara

Postby Rovastar » Mon Aug 15, 2005 9:54 am

R4 will still have some more updates don't worry (I've just update a load of scenes and more to come) . But the engine is about 2 years old now adding PS support and general engine changes (there will be much better scene changes in some new) it is easier to start from scratch. I don't think we have any intentions of making r4 scripts compatable.

The new version will probably (well my current thoughts ;) ) be for a higher spec machien than R4 is for which is too low for todays new machines.
Rovastar
 
Posts: 423
Joined: Mon May 19, 2003 3:15 am
Location: Derby & London, England


Return to R4

Who is online

Users browsing this forum: No registered users and 55 guests

cron