Raycaster Library

Developed or developing a new product in PureBasic? Tell the world about it.
pg
User
User
Posts: 75
Joined: Wed Jun 18, 2003 3:31 pm
Location: Swiss
Contact:

Raycaster Library

Post by pg »

hello

if you know the old Wolfenstein3D game, then you should know
what Raycasting is. Its a pseudo 3D engine. :lol:

It is written in C (with LCC) and speed optimized.
Good for mini games with size < 100kb


edit:
new version:
http://mypage.bluewin.ch/bithandler/Ray ... ster_2.zip
Last edited by pg on Wed Jul 21, 2004 10:56 pm, edited 1 time in total.
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Post by KarLKoX »

It is a very nice lib, good work ! :D
"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
benny
Enthusiast
Enthusiast
Posts: 465
Joined: Fri Apr 25, 2003 7:44 pm
Location: end of www
Contact:

Post by benny »

Indeed. Thumb up :!:
regards,
benny!
-
pe0ple ar3 str4nge!!!
pg
User
User
Posts: 75
Joined: Wed Jun 18, 2003 3:31 pm
Location: Swiss
Contact:

Post by pg »

thank you
User avatar
J. Baker
Addict
Addict
Posts: 2185
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Post by J. Baker »

Nice work! A nice little engine to play with. :D
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
pg
User
User
Posts: 75
Joined: Wed Jun 18, 2003 3:31 pm
Location: Swiss
Contact:

Post by pg »

Update...there was a wrong variable in the example code when testing if window is active. :?
Fred
Administrator
Administrator
Posts: 18237
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Cool lib :)
Dummy
Enthusiast
Enthusiast
Posts: 162
Joined: Wed Jun 09, 2004 11:10 am
Location: Germany
Contact:

Re: Raycaster Library

Post by Dummy »

pg wrote:Raycasting
As far as I know it's called Raytraycing
benny
Enthusiast
Enthusiast
Posts: 465
Joined: Fri Apr 25, 2003 7:44 pm
Location: end of www
Contact:

Re: Raycaster Library

Post by benny »

Dummy wrote:
pg wrote:Raycasting
As far as I know it's called Raytraycing
RaytraYcing :?: I think you mean Raytracing.

Anyway, both terms exists and concerning pq's lib its Raycasting.
Nevertheless, they basically use the same techniques (ray of light ).

For more differences between raycasting and raytracing have a look here:

http://www.permadi.com/tutorial/raycast ... AY-TRACING
regards,
benny!
-
pe0ple ar3 str4nge!!!
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Re: Raycaster Library

Post by Dare2 »

benny wrote:For more differences between raycasting and raytracing have a look here:

http://www.permadi.com/tutorial/raycast ... AY-TRACING
Just spent ages skimming through that! Grrr!

:wink: (j/k)

Thanks for the great link. Really interesting with an AHA! or two.

@pg

Am resisting playing with your lib until I get back from a conf. But am drooling a little ...,
@}--`--,-- A rose by any other name ..
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Re: Raycaster Library

Post by KarLKoX »

Dummy wrote:
pg wrote:Raycasting
As far as I know it's called Raytraycing
Wrong, this is a Raycasting engine, here is a tutorial.
"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
benny
Enthusiast
Enthusiast
Posts: 465
Joined: Fri Apr 25, 2003 7:44 pm
Location: end of www
Contact:

Post by benny »

@KarlCox:
Eh :?: Didnt you read my response 45 minutes before ?
Same link ...
regards,
benny!
-
pe0ple ar3 str4nge!!!
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Post by KarLKoX »

lol ! I have just awaked (really) :P
"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
pg
User
User
Posts: 75
Joined: Wed Jun 18, 2003 3:31 pm
Location: Swiss
Contact:

Post by pg »

Hello

Here is the new (final) version of the Raycaster Library with new commands and help :D . The older examples are no more compatible with this lib.

http://mypage.bluewin.ch/bithandler/Ray ... ster_2.zip
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

hmm the example "RayCasting_Main.pb" cant compile.-
Post Reply