|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
Borders?
My host doesn't have GD installed and since it's obvious other like xs0 have way to much time or abnormally large lobes I thought I may as well just post my non winning code.
It makes psuedo 3d boxes and because the images is made from left to right the overlap takes care of walls that are not needed. source I wouldn't mind some feedback as I havn't really used php before this contest. |
|
#17
|
||||||
|
||||||
|
RE: RE: RE: maze output
Quote:
Did you really mean they are the same letter? or that they are a char ie: (perl regex): /[A-Z]/i They way you said it made me think your maze script would fall over (and thus not be a contender php Code:
EDIT: Rather than create another post: "Thanks for uploading my code to your site latos". |
|
#18
|
||||
|
||||
|
RE: maze output
Quote:
I'm not sure what you're asking... It checks for equal characters (as in A is equal to A, but not to B). Your maze renders just fine (I added it to the URL I posted), it's just not very clear where the words are |
|
#19
|
|||
|
|||
|
RE: maze output
duh! now that I have seen my maze example I understand, nice one.
You have to print my maze rows as text (not GD) then you can see the word search and find: wildlife, recycle, earth, pollution, habitat, ecology, iordy It's a wordsearch example from the earlier codewalkers contest |
|
#20
|
|||
|
|||
|
RE: maze output
Wow, there were some really cool ideas.
I would like to post mine, but I don't have a server on the internet (did all mine locally). Here is a link to my code: http://members.rogers.com/clinseman/createmaze.zip It needs php 4.2.X Good luck everyone |
|
#21
|
|||
|
|||
|
RE: maze output
I used gifs and animated gifs for images. The animated gifs are swinging doors, that open and close. You can see them here;
URL This was a kick. |
|
#22
|
|||
|
|||
|
RE: RE: RE: maze output
>anyway, it's just some basic 3d graphics stuff:
i just have a curiosity.. how apply the math formulas on pixel.. i see on screen a perfect sphere with some light effect.. but i know that in reality it's a totnumber of pixels one after other ... how i (the program) can know what pixel to draw as red, or draw as white or gray or whatever else.. ? >- for each, I calculated normals for each pixel, >then applied some lightning to it (see http://>http://www.cs.sunysb.edu/~m...e564/i>llum.pdf for the formulas I used) i've saw that document.. but how i can use it!?!? i only see a bit of damned formulas.. ;( can i see a piece of code that perform that formulas? >- transparency is done by using Snell's law the question is same as above.. >- for each pixel that is drawn, its shadow is also >drawn; shadow intensity is completely fake, I just >wanted it to look like everything was lens please.. do me a pleasure.. if u can, if u want.. send me the code that u've used to generate that crazy graphics.. or send me some example on how to apply formulas.. please help me.. i want to learn! thx and bye (my email is: oberon974@hotmail.com) |
|
#23
|
|||
|
|||
|
RE: maze output
His code, along with everyone else that submitted code to the contest will be available within the next 2 days. At that time a winner will also be announced...
|
|
#24
|
|||
|
|||
|
RE: maze output
xs0's is pretty impressive! *sigh*
Anyway, here is mine: http://www.bearca.com/linux/mazech.php |
|
#25
|
|||
|
|||
|
RE: maze output
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > maze output |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|