27th November 2004 15:35 UTC
There's no purple in the rainbow?
I tried to make a color-spectrum, but somehow i always get this disturbing gap between blue and red instead of violet and purple. Can anyone please help?
Archive: There's no purple in the rainbow?
^..^
27th November 2004 15:35 UTC
There's no purple in the rainbow?
I tried to make a color-spectrum, but somehow i always get this disturbing gap between blue and red instead of violet and purple. Can anyone please help?
MaTTFURY
29th November 2004 02:28 UTC
inversions?
MaTTFURY
29th November 2004 03:00 UTC
well btw i got purple just not green lol
^..^
29th November 2004 08:58 UTC
thanks. but that was not quite my question. I've got more a "thechnical" avs problem here, I was wondering, why the colors merge correctly into each other, except from blue to red. Got any idea?
Nolita
29th November 2004 09:12 UTC
I saw violet in a preset(don't remember which), I don't know if it's a legitimate AVS color, but you could try it.
I'm going to fiddle around with this some, and see what I cand do(if anything).
*************************************
Minor Fiddling around, nothing fancy.
*************************************
Grr, one step forward and two steps back. It's not really what you want, but channel shift placed beneath the ssc will give you violet:):( Unfortunately, it only shifts the problem. Yellow and orange are now absent:(
*************************************
I'm off to tinker some more:)
*************************************
Warrior of the Light
29th November 2004 10:05 UTC
deleted/ incorrect info. will look for an example when I'm at home
Nolita
29th November 2004 11:40 UTC
I think I found some possible help. In Pak-9's AVS 4 SE pack, there's a preset called "Collaborations - Montana vs Pack-9 - Winterkitten." It contains a rainbow with sort of a purple mist swirling around it. There isn't a single color map in the whole darned thing, no invert either. There are however,
7 superscopes, + several other elements/apes at work.
Unless somebody more experienced has your answer, and can give it to you off the top of their head, I'm going to try and isolate, what makes the purple. I'm almost positive your scope needs more code. What I'm not sure of is whether or not you will need at least one more ssc to make the effect you want.
Nolita
29th November 2004 12:01 UTC
Quick disclaimer, since I'm still very new, I don't know how much this will help, but it's from the preset I was telling you about.
____________________________________
Tuggummi
29th November 2004 12:20 UTC
- Don't use linesize=h for a fullscreen gradient since linesize is capped at 256, there for your gradient will "break" after that and most of the people do use taller window size than 256. Instead center the line at the y-axis and then just use a movement with y=0.
- If you use a numpoint value that depends on the screen size it is best to define it per frame, that way it will have enough points even if the user changes the resolution without reloading the preset (entering fullscreen for example).
- The AVS window goes from -1 to 1 on both x & y axis, so when you define x=(i-0.5)*3 it ranges from -1.5 to 1.5 and there for you're drawing stuff that's outside the screen.
Oh and here's a simple method for doing a rainbow gradient, but im too lazy to explain it.
(gah, fine, so i can't explain it :igor: satisfied? :()
^..^
29th November 2004 17:37 UTC
thank you all for your efforts! I've got a free minute right now, so i can work through your tips! Hopefully i'll get it to work...
@ nolita: i remember this preset but infortunately the rainbow is rendered by a few sperated lines, so i cannot (or am to stupid to) use it. ;)
Sorry, tug, for those "noobish mistakes".
Normally i do use just a single-line scope + y=0 movement and i keep (i-0.5)*2..., but since i was concentrated on the color code on this one i didn't pay attention to formality. :p
However, it's just what i was looking for. But you have to explain one thing: why do you add 2.07 / 4.14?? I changed the values in my code from $pi/2 and $pi to yours and voilá: it works!! Any idea??
-----------EDIT----------
I got it!!!
2.07 is roughly 2/3 * $pi (so 4.14 is 4/3 * $pi). So i just shifted the color phases by the wrong values. Damn! How stuuupid!!!
Warrior of the Light
29th November 2004 21:38 UTC
Guess I'm too late, but here it is anyway
^..^
29th November 2004 22:03 UTC
Thanks for this one too!
It also illustrates the "technical background of the color spectrum. (The three sinus-waves: red green and blue, and the amount their phases are shifted against each other).
Nice work!
Nolita
29th November 2004 22:48 UTC
Yay!
I'm happy the violet question has been answerred.:D Only now I'm lost again.:( In Tuggummi's spectrum the following code is used for the color:
red=sin(ipi+2.07+t)*intes+bright ;
green=sin(ipi+4.18+t)*intes+bright ;
blue=sin(ipi+t)*intes+bright
It introduces terms/variables to code that I hadn't seen before. intes+bright ; I have to ask, are there other terms that I would never think to include in code? Is there a place where I can find a list of these "unconventional" terms/variables? Mind you I'm not entirely sure variable is the right word. I searched and searched, even using words like tutorial, list, and variables.
BTW, just from a single color perspective, I'm trying a theory of any color being possible by converting hex to rbg. I have no idea if it will work though:)
S-uper_T-oast
29th November 2004 23:27 UTC
Correct me if I'm wrong, don't you just have to use the hue saturation and lumenise(sp) color values then convert them into red green and blue?
MaTTFURY
30th November 2004 01:40 UTC
mine was still easier to do lol
Tuggummi
30th November 2004 04:04 UTC
Nolita, those aren't any "real" terms/variables, i just named them that way :) There are only a very few variables that are taken, those include x,y,w,h,i,red,green,blue,b and linesize for superscope and x,y,w,h,b and alpha for dynamic movement.
The rest is custom, so when i named a variable 'intes' it should be pretty obvious when you change it, it changes the intesity of the colors :) and i think you know what 'bright' means ;)
Warrior of the Light
30th November 2004 10:58 UTC
[sp fix] intensitiy, not intesity
Other fixed variables are for:
effect lists, alphain, alphaout and enabled (and beat instead of b)
bump b gives -1/1 instead of 0/1.
//edit - thanks tuggummi: and bi for bump intensity
Movement uses sw and sh instead of w and h.
Texer2 uses sizex and sizey for image resolutions (1=100%)
That's about it, I think
Tuggummi
30th November 2004 11:08 UTC
In bump there is also bi (bump intensitiy)
:p
PAK-9
30th November 2004 17:21 UTC
read the expression help, justin took 5 minutes of his lunch break to write it, you could at least look at it once.
Tuggummi
30th November 2004 17:39 UTC
Why on earth paks? When it's obviously so much more fun to post about it so that we regulars can post pump without it looking like post pumping.
Warrior of the Light
30th November 2004 17:39 UTC
Sorry, I was working with a pc without WA when I wrote it.
(a crappy Pentium1 75MHz with 32Mb RAM, yes those still exist :igor:)
PAK-9
30th November 2004 17:44 UTC
You should install wa on it... get some really technical AVS's running, mmm... frameratelicious
^..^
30th November 2004 18:26 UTC
:D
I think watching snails playing chess will be more thrilling...
Warrior of the Light
30th November 2004 21:19 UTC
Too bad the HDD is only 0.99Gb. Together with all programs I need to work with, depending on the size of the temporary internet files (which I have to delete from time to time because the drive's full (not that I am not asked to clean up my hdd with every reboot as it is (which happens ~3x per day due to BSOD's))) leaves me 20Mb max.
//takes a deep breath
Okay, 20MB is more than enough, and since WA crashes not more often than my PC, that doesn't matter too. (That's my PC being bad, not AVS so good)
...
..
...
now if only I a soundcard. :p
(hopefully I will get a P3-500 next week or even in the end of this week, if it isn't ordered by another collegue[sp] yet - Yes I know my status around there... :cry: )
^..^
30th November 2004 22:14 UTC
Originally posted by WarriorO/TLightHow on earth can you call this "working"? And where did you get this relic of an ancient civilisation?
Sorry, I was working with a pc without WA when I wrote it.
(a crappy Pentium1 75MHz with 32Mb RAM, yes those still exist :igor:)
MaTTFURY
30th November 2004 23:16 UTC
i got a bunch of old 386 servers in the shed out the back ill give them away for Free... lol
hboy
1st December 2004 06:41 UTC
i found a 386 notebook in our house last month :D
Nolita
1st December 2004 07:31 UTC
Speaking of taking all of 5 minutes to do something: Pak-9, would you mind terribly if I took your tutorial and convert it to html? I wouldn't change it beyond linking each section from the table of contents to it's corresponding page. I only want to do that so it's easier to use. I'm just asking because I know some people hate when you just up and convert one of their documents to html. Right now I'm using find, but being able to click a link to the specific page(s) I'm looking for would be easier.
hboy
1st December 2004 15:59 UTC
To Nolita: send him a private message to be sure he knows what you want to do ;)
Nolita
1st December 2004 20:47 UTC
Thanks hboy. I didn't even think of that because normally I use pm's to work things out with people I've had misunderstandings with. You know, how without tone of voice, and facial expressions(beyond emoticons) people sometimes think you're saying one thing when you're saying something totally different.
Your advice is really good.
hboy
1st December 2004 21:59 UTC
i know pretty much what you mean, thats why I prefer voice communication instead of typing :)
^..^
1st December 2004 23:13 UTC
But sometimes it's better to write. At least for all people whose native language isn't english; like me: I'm sometimes searching for a certain word or term and mostly have to look it up. So if i write a post i've got some time bonus before i have to answer.
(What probably doesn't improve my lousy grammar ;) )
MaTTFURY
2nd December 2004 00:24 UTC
hey nolita, thats my job didn't you hear me in (one of theses threads) i was gonna do it up as soon he releases the "Final" version... so dont worry...
Nolita
2nd December 2004 03:24 UTC
Hmmm, hear you? In one of "theses" threads? Was or will? Which was or is it going to be? You can't have both.
Oh, ^..^ don't feel bad about your grammar. Your English is much better than my Herian(have to pick on you a little, how else will you know I like you?).
BTW, Matt, I don't dislike you, heck I don't even know you. You just bug me is all;). I'm sure the feeling is mutual.
MaTTFURY
2nd December 2004 08:09 UTC
but it's my partial job! :D
Warrior of the Light
2nd December 2004 09:02 UTC
Originally posted by ^..^It stood rusting away when I started working here. I first removed the dust and spiders, then it seemed to be working. (I'm the third trainee in a company that usually only has two (part of my education), so I don't even have my own screwdrivers and stuff, I need to share with an other trainee :down: ).
And where did you get this relic of an ancient civilisation?
PAK-9
2nd December 2004 17:36 UTC
MaTT said he would html-up the guide... but he better not do some horrible crappy job of it
^..^
2nd December 2004 22:15 UTC
@ WOTL
So you've got an old 386 laptop and also 4MB old (SIMM or DIMM?)-RAM? If you find some other things you should open a museum, why not earn some extra money? I could donate a single 286 processor (unforunately it was soldered onto the mainboard so now it is a slightly damaged souvenir).
@PAK-9
btw is there any interest in a translated version?
Warrior of the Light
2nd December 2004 22:25 UTC
Not a laptop, a minitower with SIMM ram. couldn't begin to say how much video memory it has..
Please, send it; I have no difficulty desoldering about anything at my work if it'd still work. :D
MaTTFURY
2nd December 2004 22:35 UTC
yeah i speak portugues, but nothing else except english ... :)
^..^
2nd December 2004 23:41 UTC
Originally posted by WarriorO/TLightright, it was hboy who found a notebook at home. Must have mixed it up. :confused:
Not a laptop, a minitower with SIMM ram. couldn't begin to say how much video memory it has..
Please, send it; I have no difficulty desoldering about anything at my work if it'd still work. :D
Warrior of the Light
3rd December 2004 06:31 UTC
well, they have to be long enough to make it to the other end of the board of course, or else there's nothing to make conatact with the soldering islands (translated litterally from Dutch) when I solder it.
PAK-9
3rd December 2004 16:20 UTC
Originally posted by ^..^Given that the guide has only been downloaded about 400 times I doubt the demand is really there. If one abmitiously estimates that 5% of the readers are of your given translation language your aiming for an audience of about 20 people... thats a lot of work for 20 readers.
@PAK-9
btw is there any interest in a translated version?
^..^
3rd December 2004 17:26 UTC
@ WOTL
I think that won't be possible anymore... I just now brought it up again from a dusty well hidden box and had to see that this part of hardware history is defnitely out of order. :(
@PAK-9
I had no idea about how many people actually were interested in your tutorial. (probably because i find your tutorial so great, there have been thousands downloading it in my thoughts ;)).
However, in that case we should be content with your .doc and nolita's html version (anticipating it's completion).
MaTTFURY
4th December 2004 06:18 UTC
nolita's html version NOLITAS?!, im making it! :P
Nolita
4th December 2004 07:43 UTC
Excuse me? I totally stuck it on the back burner(waiting for Matt to do make the html). I don't think you should wait for Pak-9's final version of the manual because ideally there will never be a final version of the manual. That's because ideally there will never be a "final" version of AVS. There will continue to be new innovations, with everything from APEs to the program itsself.
I think it's similair to any other software manual, or book. I have more than one Photoshop manual, and book. Also more than one 3DS Max book. It's because there has to be a manual for each version. Just because someone has everything from earlier versions of an app down pat doesn't mean they understand a newer version, or a new plug-in or in AVS APE. That's not even counting when new people "discover" an application.
You just do it, then submit it to Pak-9 and wait for him to check it out and approve it. Realize the version we read and love will expand over time, some parts may become obsolete(if something that works better comes along of course), still some new parts will have to be added.
I'm not saying Pak-9 will have to continue making new versions all by himself. I mean he may decide he doesn't want to, or might find himself swamped and without the needed time. If the manual is in the spirit of AVS, I'm sure he won't mind if other people helped out. It's a community service he has provided, and he should be very proud, or at least feel a great deal of satisfaction that so many of us do indeed appreciate it.
BTW, I'm not entirely sure that ^..^ meant to type "nolita's html version" it might have just been a slip of the tongue via the fingers/keyboard.
^..^
4th December 2004 12:33 UTC
i'm sorry about this misunderstanding. It seemed to me like nolita would do it. Sorry matt, i didn't intend to offend you. I hope you are pleased again when i revise that last sentence:
"However, in that case we should be content with your .doc and soon MATT's html version (anticipating it's completion)."
Perhpaps you should have posted a defnitie word who in the end took this job. Then we could have spared this discusion.
PAK-9
5th December 2004 20:31 UTC
Why do people talk about me as if I'm not here
I'ts bad enough people do it to me in real life.
^..^
5th December 2004 23:09 UTC
why should it be different here? :p
Joking apart, i hope that anyone will finally do the html version. I think it would be for the public benefit (at least it would be worth the work ;))
However, i'm sorry if you got hurt :cry:. I know that feeling: It's worst when my mother is on the phone with my grandparents (just to take one example). She can calmly talk about me, whithout even recognizing that i'm sitting next to her :confused:
WalkerP
22nd December 2004 02:58 UTC
You can simply go
hu=i*$PI*2;
red=cos(hu)*0.5+0.5;
green=cos(hu+1.9)*0.5+0.5;
blue=cos(hu+2.8)*0.5+0.5;
TomyLobo
22nd December 2004 13:00 UTC
Originally posted by PAK-9erm, no i don't think so
You should install wa on it... get some really technical AVS's running, mmm... frameratelicious
WalkerP
23rd December 2004 05:14 UTC
Lets just bring this back to subject again...
in texer 2 there is
Iw image width
ih image height
there are also
reg00 - reg99
Warrior of the Light
23rd December 2004 08:28 UTC
Originally posted by WalkerPIs the question not answered yet then?
Lets just bring this back to subject again...
^..^
23rd December 2004 17:44 UTC
congratulation! now you can nearly call it a PC ;)
Warrior of the Light
23rd December 2004 21:56 UTC
They sure know how to reward their (high-end machine addicted) trainees... :igor:
well, not that addicted, or else I wasn't using a celeron myself (1.7GHz, but still...)
^..^
23rd December 2004 23:29 UTC
actually that pc doesn't have to be fast enough for winamp, right? You should probably only use it for office purposes...
However, i know it would be nice to use "some free minutes" ;) for avs or so.
PAK-9
24th December 2004 06:04 UTC
Originally posted by TomyLoboWell if APE makers bothered to put instruction set detection into their APE's it wouldnt be a problem.
erm, no i don't think so
a Pentium 75 does not have MMX ^^
most components need mmx though (convo, texer2, triangle :))
most of the filters too, i think
UnConeD
26th December 2004 00:05 UTC
Why should we go through that trouble to cater to 0.000001% of the AVS using population, when we could just spend that time implementing a useful feature?
PAK-9
26th December 2004 12:52 UTC
Because I say so
goebish
26th December 2004 18:47 UTC
AVS require directX 7 anyway.
I don't think it's even installable on a non MMX cpu :)
PAK-9
27th December 2004 10:49 UTC
What was the point of this thread again?
^..^
27th December 2004 13:57 UTC
the sense of life?
(But then we should better ask monty python :))
Warrior of the Light
27th December 2004 15:04 UTC
this thread is about getting a pentium 75 (without mmx or directX) to show a proper rainbow in AVS
TomyLobo
31st December 2004 06:58 UTC
what about a rainbow.ape that does the rainbow without any mmx? :D
PAK-9
31st December 2004 09:17 UTC
What about locking this stupid thread
Fork me on GitHub