Older Contests
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP ContestsOlder Contests

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #16  
Old June 19th, 2002, 04:27 PM
iordy iordy is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: .au
Posts: 7 iordy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #17  
Old June 19th, 2002, 04:28 PM
iordy iordy is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: .au
Posts: 7 iordy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: RE: RE: maze output

Quote:
it depends on which of the 8 surrounding tiles is the same letter as the one in question


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 if it failed with something like my "maze-wordsearch" wrapped in one that I posted the other day:
php Code:
Original - php Code
  1.  
  2. 1E21W1b1I1O1R1D1Y1E!11E1I1P321b1C
  3. 1P1O2L1U1T1I1O1N1b1O
  4. 3D1H1R5b1L!1P1O1L1A1E1b3E1H1O
  5. 1F2I1B1C11b1G1P1U1G
  6. 3F1I2Y22b1Y!1C1V1E1T1C1b3Y1b1R!1Z2X1A1L5b1B
  7. 1B1B1D1T1E1A1R1T1H1*1T


EDIT: Rather than create another post: "Thanks for uploading my code to your site latos".

Reply With Quote
  #18  
Old June 19th, 2002, 04:57 PM
xs0 xs0 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Ljubljana, Slovenia
Posts: 760 xs0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: maze output

Quote:
Quote:
it depends on which of the 8 surrounding tiles is the same letter as the one in question


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 if it failed with something like my "maze-wordsearch" wrapped in one that I posted the other day:
[ snip ]


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

Reply With Quote
  #19  
Old June 19th, 2002, 05:21 PM
iordy iordy is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: .au
Posts: 7 iordy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #20  
Old June 19th, 2002, 05:48 PM
lostzen lostzen is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 6 lostzen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #21  
Old June 19th, 2002, 07:49 PM
virtualblue virtualblue is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Beaverton, OR, USA
Posts: 2 virtualblue User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to virtualblue Send a message via AIM to virtualblue Send a message via Yahoo to virtualblue
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.

Reply With Quote
  #22  
Old June 19th, 2002, 07:56 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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)


Reply With Quote
  #23  
Old June 19th, 2002, 08:08 PM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
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...

Reply With Quote
  #24  
Old June 19th, 2002, 10:46 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: maze output

xs0's is pretty impressive! *sigh*

Anyway, here is mine:
http://www.bearca.com/linux/mazech.php

Reply With Quote
  #25  
Old June 20th, 2002, 10:20 AM
latos latos is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: UK
Posts: 6 latos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: maze output

Here's my attempt:
http://www.mdlnet.net/maze

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > maze output


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT