Raycasting without .dll's

Started by MisterN, August 02, 2011, 03:32:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MisterN

Exactly what I mean lol. I knew how to raycast back in game maker 4 and some other coding thing (i forget, i think games factory?) I was wondering if it would be possible to do a raycasting of some kind in div/fenix/bennu.
werg

MisterN

werg

josebita


gecko

I thought that raycasting was a technique / effect used by 3D render engines to reflect more realistic lights and shadows into objects...

And I have no idea how to do that.
Torres Baldi Studio
http://torresbaldi.com

handsource-dyko

Raycasting is the opposite of raytracing. Raytracing is used in professional 3d modelling software, but it is way too slow for use in games wich require "real time" rendering. Raycasting is simpler, faster, but limited in comparision with ray tracing. If you really want realistic images such as required by architectural renderings, you'll have to use raytracing and wait several hours for the result. But in games you need something that can handle 50+ frames/second, so this can be achieved with raycasting.

MisterN

I was wondering if there was some king of ray casting lol
werg

BlackCurtain

"Raycasting" is also a term used for 3d collisions to determine if a collision has been made in the direction of a "ray".

gecko

so... what kind of Raycasting do you want, DoctorN? :P
Torres Baldi Studio
http://torresbaldi.com

MisterN

a Wolfenstein 3D tutorial added to the wiki :3
werg

josebita



Windgate

Wait... You mean manage raycast in 2D or 3D?

Raycast in 2D is easy if you make a process with a graph that it is a line with 1px of width, it is really easy if its control point is the beggining of the line.

In Bennu 3D there is a premade function for raycast.
Iván García Subero. Programador, profesor de informática, monitor de actividades culturales y presidente de TRINIT Asociación de Informáticos de Zaragoza. http://trinit.es

MisterN

http://www.youtube.com/watch?v=C00n4rDUMNo
like that, the game is actually fully 2d but its made to look 3d lol
werg

popcade

I think you mean a technique called Mode7?

MisterN

no... mode7 wasnt even invented by time wolfenstein came out in 1992 most likely
werg