Autor Tema: Raycasting without .dll's  (Leído 20697 veces)

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Raycasting without .dll's
« en: Agosto 02, 2011, 03:32:59 am »
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

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re: Raycasting without .dll's
« Respuesta #1 en: Agosto 03, 2011, 04:34:03 pm »
bump
werg

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re: Raycasting without .dll's
« Respuesta #2 en: Agosto 03, 2011, 04:53:11 pm »
What is raycasting?

gecko

  • Hero Member
  • *****
  • Mensajes: 793
  • Karma: 47
    • Torres Baldi Studio
Re: Raycasting without .dll's
« Respuesta #3 en: Agosto 03, 2011, 04:58:22 pm »
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

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • I'm the eye in the sky.
    • dyko designs
Re: Raycasting without .dll's
« Respuesta #4 en: Agosto 03, 2011, 05:07:45 pm »
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

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re: Raycasting without .dll's
« Respuesta #5 en: Agosto 03, 2011, 08:12:03 pm »
I was wondering if there was some king of ray casting lol
werg

BlackCurtain

  • Full Member
  • ***
  • Mensajes: 187
  • Karma: 9
    • Black Curtain Studio
Re: Raycasting without .dll's
« Respuesta #6 en: Agosto 03, 2011, 10:33:31 pm »
"Raycasting" is also a term used for 3d collisions to determine if a collision has been made in the direction of a "ray".

gecko

  • Hero Member
  • *****
  • Mensajes: 793
  • Karma: 47
    • Torres Baldi Studio
Re: Raycasting without .dll's
« Respuesta #7 en: Agosto 03, 2011, 10:46:00 pm »
so... what kind of Raycasting do you want, DoctorN? :P
Torres Baldi Studio
http://torresbaldi.com

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re: Raycasting without .dll's
« Respuesta #8 en: Agosto 03, 2011, 11:02:25 pm »
a Wolfenstein 3D tutorial added to the wiki :3
werg

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re: Raycasting without .dll's
« Respuesta #9 en: Agosto 03, 2011, 11:24:32 pm »
No idea, really :)


Windgate

  • Hero Member
  • *****
  • Mensajes: 2930
  • Karma: 124
    • TRINIT Asociación de Informáticos de Zaragoza
Re: Raycasting without .dll's
« Respuesta #11 en: Agosto 05, 2011, 04:09:17 am »
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

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re: Raycasting without .dll's
« Respuesta #12 en: Agosto 05, 2011, 05:21:42 am »
http://www.youtube.com/watch?v=C00n4rDUMNo
like that, the game is actually fully 2d but its made to look 3d lol
werg

popcade

  • Newbie
  • *
  • Mensajes: 4
  • Karma: 1
Re: Raycasting without .dll's
« Respuesta #13 en: Agosto 14, 2011, 07:33:03 pm »
I think you mean a technique called Mode7?

MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
Re: Raycasting without .dll's
« Respuesta #14 en: Agosto 15, 2011, 02:09:13 am »
no... mode7 wasnt even invented by time wolfenstein came out in 1992 most likely
werg