Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I Need Raycasting Help!
#11
Quote:Out of the question.

:rotfl:

J/K. Yes. But you need libs/asm Power.

A graphics lib won't help. In raytracing, the most time consuming activity is the maths involved in tracing the ray, checking if it intersects with an object and determining what colour each pixel should be. All that you need is a fast PSET routine.

I've seen RTRT (Real Time Raytracers) written in C or C++ for Windoze that needed big machines. It all depends on the features, tho. A raytracer with just simple stuff should be feasible, but another one with reflection, translucency and bump may not.

Anyhow, good luck Smile
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#12
out of the question? hardly. in fact, it's already been done! either antoni or entropy posted a demo here that animated 2 raytraced spheres at about 30fps on my computer.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#13
Yeah, well asm for me is out of the question, so I better go back to my original topic.
However, does anybody have a 3d lib or set of routines already (other than u3d)?
[Image: Signature.png]
Reply
#14
Quote:Yes, as far as I know, thats how it works (sorry, toonski, I meant raycasting). I've experimented with it a little, but what I'm wanting to do is build something like the JNK raycaster by Joe King. I don't get how he created the little wave tings and all that other cool 3d stuff.

He made a great tutorial regarding it. I could send it to ya is you want.
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#15
Yeah, that would great if you could get it to me by e-mail or somethin. Thanks
[Image: Signature.png]
Reply
#16
I posted the raytracer Toonski talks about, my contribution was to tranlate it from C (djgpp) . The original code was by Texel (a spanish guy) and was five times faster than the qb version. It had reflections, no textures nor bumpmaps,and it worked only with simple spheres. You can find it here:
http://www.geocities.com/antonigual/qbso...xelrtr.zip
(Right click and Save As... it's Geocities)
Antoni
Reply
#17
speaking about raytracing, I plan to integrate transparency, shadowing, bumping and reflections in the next weeks (months?) to the existing modules of the TC-Lib.

The source code for "motorbike mirrors" picture I posted here a few weeks ago will be soon available, when I have time for splitting the lib into modules...

[Image: Shape4.jpg]

How happy I was before signing these contracts! I could prog several hours a day, instead of a couple of minutes :bounce:
hink Global, Make Symp' All ! ®
[Image: Banner.gif]
Reply
#18
Antoni's Raytracer is as fast as anything there is. :*)
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#19
I have to admit I don't like screen13 stuff, but it is so FAST !
hink Global, Make Symp' All ! ®
[Image: Banner.gif]
Reply
#20
That's some cool stuff!

Okay, back to the original topic, I think I have everything for a wireframe engine, but how can you move the camera? I just want a simple explanation with out matrices.
[Image: Signature.png]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)