|
|
|
|
#1 |
|
Forum King
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
|
3d colors
for the attached preset (note to self: attach file) I want to have normal 3d colors, but all I seem able to do is maxblend colors, which sucks if you have different color-intensities.
any help on how to do this in normal replace mode? Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever |
|
|
|
|
|
#2 |
|
Bin King
Join Date: Mar 2001
Location: Finland
Posts: 2,179
|
Sorry, but im not familiar with backface culling or what ever it is called. I do want to say though that a rotating house isn't very appealing visually... But a rotating scene with house(s), trees, fences, animals... NOW there is an IDEA!
|
|
|
|
|
|
#3 |
|
Forum King
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
|
The house refers to the "home" button in most explorers.. 127.0.0.1 is your home IP-address. therefore, "there's no place like 127.0.0.1" means "there's no place like home".
It's just a little computerfreak humour, but the preset was made mostly as a random example. Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever |
|
|
|
|
|
#4 |
|
Bin King
Join Date: Mar 2001
Location: Finland
Posts: 2,179
|
Mnnyes, i wasn't talking about the name, just that a single house won't look like much.
But if it's just an example then who cares ![]() Maybe i'll do that scene preset myself then
|
|
|
|
|
|
#5 |
|
Major Dude
|
i'm not an expert on this techniques. But perhaps the colors are wrong because the parts of the house are always rendered in the same order: first the roof then the sides and bottom. So the last rendered parts always seem to be infront of the object, even if another part should cover it.
|
|
|
|
|
|
#6 |
|
Forum King
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
|
That's the problem indeed, that only covers my problem. An answer would be nicer
![]() @ Tugg: go ahead Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever |
|
|
|
|
|
#7 | |
|
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
Quote:
old mcdonalds has a farm e, i, e, i, o! |
|
|
|
|
|
|
#8 | |
|
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
Quote:
http://www.dpent.ca/Images/17933.jpg old mcdonalds had a farm e, i, e, i, o! and on his farm he.. ehm, wait a second |
|
|
|
|
|
|
#9 |
|
Major Dude
|
Well, sorry. I thought you wanted to fix it by changing the render mode somehow. (what doesn't fix it at all, i think).
But surely Tuggummi will find a solution.
|
|
|
|
|
|
#10 |
|
Major Dude
Join Date: Oct 2002
Location: The United Kingdom of Great Britain and Northern Ireland
Posts: 1,374
|
I havent looked at the preset cos I'm at uni but if you have essentially a rotating cube and you want to use replace mode you need to keep swapping the faces such that the last ssc/triangle render in your editor is always the front face. You also should optimise by not drawing the faces that are facing away from the camera
This typically involves taking the normal of the face and putting it through your rotation matrices, then testing the result against a value to determine if it is facing the camera or not....this is backface culling To sort the faces you compare the 'final' z value of your faces (this will tell you what is further or nearer from the camera) and 'swap' them accordingly. Try a test with 2 faces, 2 opposing sides of a cube for example, use 2 seperate solid ssc's and swap the primary z value based on the final z values. Thats such a terrible description of both those ideas /me downloads preset to take home and fix I'll just fix it and upload it later :P http://PAK-9.deviantart.com ...innit |
|
|
|
|
|
#11 |
|
Major Dude
Join Date: Oct 2002
Location: The United Kingdom of Great Britain and Northern Ireland
Posts: 1,374
|
And 127.0.0.1 is actually 'localhost' not 'home'. (Try start->run->cmd->ping localhost then start->run->cmd->ping home) so the title of your preset is "there's no place like localhost"...mmm catchy
http://PAK-9.deviantart.com ...innit |
|
|
|
|
|
#12 |
|
Forum King
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
|
lol
I know it's localhost, I was just trying to make n00bs understand it too and to have some sort of funny preset ![]() Thanks a lot (in advance) for fixing it. I know i understand pure math code better than english literature, since the names aren't even close to what we call it all in dutch. I think I'll understand it better if I read your above post over for about 5 times or so.. ![]() Guess I'd better start reading and waiting now instead of speak (=write) Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever |
|
|
|
|
|
#13 | |
|
Bin King
Join Date: Mar 2001
Location: Finland
Posts: 2,179
|
Quote:
![]() I just make stuff that i like... i don't care how it is done ![]() Uhmm... and yeah, sorry for the offtopic, but i just wanted to correct that one. |
|
|
|
|
|
|
#14 |
|
Major Dude
|
If it's really so, then you can hide that fact pretty well. My "technical" skills aren't very good too, but my presets hardly ever look as nice as yours.
![]() Sorry for offtopic too, but had to stop tuggummi from being overmodest (hope i got the right word..) |
|
|
|
|
|
#15 |
|
Major Dude
Join Date: Oct 2002
Location: The United Kingdom of Great Britain and Northern Ireland
Posts: 1,374
|
i wonder why no one hasn't told you yet, but I'm really good at doing technical stuff
Sorry for being undermodest (hope i got the right word..) but here's teh proof http://PAK-9.deviantart.com ...innit |
|
|
|
|
|
#16 |
|
Major Dude
Join Date: Oct 2002
Location: The United Kingdom of Great Britain and Northern Ireland
Posts: 1,374
|
The winamp.com AVS forums, a writhing sea of bad grammer, made up words and double negatives
http://PAK-9.deviantart.com ...innit |
|
|
|
|
|
#17 |
|
Forum King
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
|
Whoa! Thanks a lot for that! I'll spend the night studying this I suppose
you are the [insert made up word here]!!! Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever |
|
|
|
|
|
#18 | |
|
Major Dude
|
Quote:
) don't fear to post here: It's not that obvious when the dusty school-english fails. Like a vicious circle: The linguistic level decreases what lures more comments in poor english. Damn, there's no way out...
|
|
|
|
|
|
|
#19 | |
|
Major Dude
Join Date: Oct 2002
Location: The United Kingdom of Great Britain and Northern Ireland
Posts: 1,374
|
Quote:
The easiest way to make your posts easier to read is to remove the double negatives, for example won't not = will no one hasn't = everyone has Also lots of non-native english posters seem to like adding unnecessary preamble to their text like "I just want to say that in this case it is..." or "If I may just say so with regards to this particular subject.." I wont labour the point though, I'm sure its hard when english isnt your first language. Heck I'm sure your english is better than my finnish/dutch/estonian/latin/whateverthehellelse http://PAK-9.deviantart.com ...innit |
|
|
|
|
|
|
#20 |
|
Bin King
Join Date: Mar 2001
Location: Finland
Posts: 2,179
|
Naah, i think your finnish is way better than mine PAK-9.
vittu |
|
|
|
|
|
#21 |
|
Major Dude
Join Date: Oct 2002
Location: The United Kingdom of Great Britain and Northern Ireland
Posts: 1,374
|
yea pituu vippii bloobly wooby skii pae boob
http://PAK-9.deviantart.com ...innit |
|
|
|
|
|
#22 |
|
Canis Sapiens
(Reviewer) |
Yeah pak, but horses usually don't have five legs...
My latest pack (old): http://www.winamp.com/plugins/details.php?id=134260 My latest skin: A Skin ? v1.0: http://www.winamp.com/skins/details.php?id=135874 |
|
|
|
|
|
#23 | ||
|
Major Dude
|
Quote:
Quote:
|
||
|
|
|
|
|
#24 | |
|
Major Dude
Join Date: Oct 2002
Location: The United Kingdom of Great Britain and Northern Ireland
Posts: 1,374
|
Quote:
Okay enough offtopic formulations please http://PAK-9.deviantart.com ...innit |
|
|
|
|
|
|
#25 | |
|
Major Dude
|
Quote:
I surely never don't want you to have no headache when reading my posts. ![]() And now let's leave it at that... PS: Sorry W.O.T.L. for holding this linguistic discussions in your thread...
|
|
|
|
|
|
|
#26 |
|
Forum King
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
|
To close the offtopic topic, let's conclude it with this:
Just as in AVS, we all do our what we can to try and learn to improve. //below is back on topic Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever |
|
|
|
|
|
#27 |
|
Major Dude
Join Date: Oct 2002
Location: The United Kingdom of Great Britain and Northern Ireland
Posts: 1,374
|
I never mentioned it before but what are these exciting '3D colours' you refer to at the top of this thread and in the title.
http://PAK-9.deviantart.com ...innit |
|
|
|
|
|
#28 |
|
Forum King
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
|
In maxblend mode, I usually made all scopes with the same colorintensity, i.e. r+g+b= (some constant value) and then tweaked the proportions of r,g and b. If you multiply that with the distance (z), you have some backface culling hack that uses colors only.
r2d2 in pp2 was done this way Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever |
|
|
|
|
|
#29 |
|
Major Dude
Join Date: Oct 2002
Location: The United Kingdom of Great Britain and Northern Ireland
Posts: 1,374
|
nothing exciting then (its an occlusion hack btw not a bf culling hack). Hopefully you've learnt the error of your colour coding ways from my fixed version.
http://PAK-9.deviantart.com ...innit |
|
|
|
|
|
#30 |
|
Forum King
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
|
yes I have.
(I guess then that's how far my english reaches )
Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever |
|
|
|
|
|
#31 |
|
Junior Member
Join Date: Mar 2004
Location: earth
Posts: 5
|
since this is around my problem area, i hope someone can help me out:
i was fiddling with the megabuff again and i made something really cool. however, there are some ugly lines that connect the squares together. i don't have enough color manipulation skills to cull off these lines so if some math genius figured it out for me, that'd be great. preset is here: http://www.deviantart.com/deviation/14291423/ thanks |
|
|
|
|
|
#32 |
|
Major Dude
Join Date: Oct 2002
Location: The United Kingdom of Great Britain and Northern Ireland
Posts: 1,374
|
I took a brief look at it ampy but I think you need to re-code the structure a little bit. You would be better defining a square, then repeating that square with whatever offsets you want....
point=if(equal(point,4),0,point+1); x1=<define square>+megabuf(index) y1=<define square>+megabuf(index+1); z1=<define square>+megabuf(index+2); index=index+bnot(point); skip=bnot(point); define a square using equal(point,0)*bleh+equal(point,1)*blehbler etc.. so you are starting a new square when point=0, and skipping drawing that line. I dont have your code in front of me but i think you used trig to define your squares which is not a good way (expensive) If anyone can be bothered to explain that better feel free :P http://PAK-9.deviantart.com ...innit |
|
|
|
|
|
#33 |
|
Junior Member
Join Date: Mar 2004
Location: earth
Posts: 5
|
just need to make sure, because i never really dealt with equal/above/below functions very much, so what the equal(point,0) , equal (point,1) means is that you are telling the scope to draw a line from 0 to 1 so i would need a total of four lines to define a square right?
|
|
|
|
|
|
#34 |
|
Major Dude
Join Date: Apr 2004
Location: melbourne, australia
Posts: 655
|
@ WotL, you'd want to talk to unconed about scope swapping, just take at his preset goldie.
|
|
|
|
|
|
#35 |
|
Major Dude
Join Date: Oct 2002
Location: The United Kingdom of Great Britain and Northern Ireland
Posts: 1,374
|
Well, yes you need four lines but thats five points per square because the last point and first point have to be the same to make it join up. My pseudocode should probably be point=if(equal(point,5),0,point+1); I rushed it off just to give you an idea of the structure.
You can search the forums for a point to point square drawing method but I'll knock one out here quickly: frame: n=5; point=0; point: x1= equal(point,0)*-1 +equal(point,1)*1 +equal(point,2)*1 +equal(point,3)*-1; y1= equal(point,0)*-1 equal(point,1)*-1 equal(point,2)*1 +equal(point,3)*1; z1=0; point=point+1; .... if you want it to be a long line of squares you can say frame: n=50; point=0; offset=-1; point: x1= equal(point,0)*-1 +equal(point,1)*1 +equal(point,2)*1 +equal(point,3)*-1; y1= equal(point,0)*-1 equal(point,1)*-1 equal(point,2)*1 +equal(point,3)*1; point=if(equal(point,4),0,point+1); offset=offset+bnot(point)*0.1; z1=offset; skip=bnot(point); .... that way 'point' defines the point of the square you are drawing, and when it hits 0 you offset in the z axis a little bit and draw another square. You get rid of the lines by setting skip to 1 when point = 0. I dont know if that code works as is, I'm not in front of AVS but its basically right. You should get my programming guide if you want learn how to do more 'advanced' stuff like this http://PAK-9.deviantart.com ...innit |
|
|
|
|
|
#36 |
|
Junior Member
Join Date: Mar 2004
Location: earth
Posts: 5
|
you know what? i think i wil
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|