Forum

> > CS2D > General > RT in cs2d?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English RT in cs2d?

3 replies
To the start Previous 1 Next To the start

Poll Poll

Good idea?

Only registered users are allowed to vote
Yes
50.00% (2)
No
50.00% (2)
4 votes cast

old closed Poll RT in cs2d?

pffexe
User Off Offline

Quote
What about add ray tracing in cs2d?
It's more about 3D mode, but still. The question is possible to do it, and what will be needed from the community (donations, something else)?

old Re: RT in cs2d?

SQ
Moderator Off Offline

Quote
RT involves 3D calculations.

So, the fundamental question is: Can we transform CS2D into a 3D environment?

This forum is timeless...

old Re: RT in cs2d?

DC
Admin Off Offline

Quote
Short answer: No.

Longer answer:

Point 1: What user GeoB99 said.

Point 2: What user SQ said. CS2D is 2D. The 3D mode is very basic and there are no 3D characters or 3D lighting whatsoever. The basic requirements for 3D raytracing are not given.

Point 3: Raytracing in modern games is using GPUs which are optimized for this task because calculating raytracing on CPU is too slow. CS2D can't easily leverage GPU based raytracing because it's running on old tech.

Funnily enough, you could say that CS2D already uses raytracing. The fog of war calculation and also visibility checks are basically using raytracing. Just at a very low resolution / frequency.

You could try to implement 2D lighting and reflections with raytracing but that would be way too slow. Especially when trying to do it on CPU and in realtime.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview