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

0 Usuarios y 2 Visitantes están viendo este tema.

Desconectado MisterN

  • Hero Member
  • *****
  • Mensajes: 650
  • Karma: 4
    • Ver Perfil
Raycasting without .dll's
« en: Agosto 01, 2011, 07:32:59 pm »
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

Desconectado MisterN

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

Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4038
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
Re: Raycasting without .dll's
« Respuesta #2 en: Agosto 03, 2011, 08:53:11 am »
What is raycasting?

Conectado gecko

  • Hero Member
  • *****
  • Mensajes: 737
  • Karma: 45
  • Sexo: Masculino
    • Ver Perfil
    • Torres Baldi Studio
Re: Raycasting without .dll's
« Respuesta #3 en: Agosto 03, 2011, 08:58:22 am »
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

Desconectado handsource-dyko

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

Desconectado MisterN

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

Desconectado BlackCurtain

  • Full Member
  • ***
  • Mensajes: 187
  • Karma: 9
  • Sexo: Masculino
    • Ver Perfil
    • Black Curtain Studio
Re: Raycasting without .dll's
« Respuesta #6 en: Agosto 03, 2011, 02: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".

Conectado gecko

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

Desconectado MisterN

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

Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4038
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
Re: Raycasting without .dll's
« Respuesta #9 en: Agosto 03, 2011, 03:24:32 pm »
No idea, really :)


Desconectado Windgate

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

Desconectado MisterN

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

Desconectado popcade

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

Desconectado MisterN

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