Results 1 to 17 of 17

Thread: fer all ye gurus

  1. #1

    Thread Starter
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226

    Question

    Anyone know where I can get a good VB or C++ ray casting engine for Windows?

    Thx.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  2. #2
    Zaei
    Guest
    I think that POVRay is open source. Not sure about the
    address, but you can look around.

    Z.

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  4. #4
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    'doh, kedaman, that should have been easy for you :P
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  5. #5
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    kedaman?

  6. #6
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Last edited by plenderj; Apr 9th, 2001 at 06:37 AM.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  7. #7
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169

    Re: wake up!!!!!

    I distinctly wrote ray CASTING.

    I _have_ PovRay and I _know_ where to get the source, I want a ray CASTING not ray TRACING engine.
    A raytracer by definition is also a raycaster -- it has to in order to trace them

    GET IT?
    Sheesh.
    Yes, I get it...but I'm not sure you do

    Oh, and SteveCRM, kedaman is ranked as a Guru on the forums.
    ***? He never said anything about that. And anyway, he's not a Guru anymore
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  8. #8
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Sorry... I was half-asleep when I wrote that.

    My apologies to kedaman (yeah right ) and my sincere beatings to Zaei! (hehe!)

    It SHOULD have been:

    'doh, Zaei, that should have been easy for you :P
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  9. #9

    Thread Starter
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226

    parkie's pathetic comments

    Wow! Talk about a no brainer! If that's what a raycaster is, than I need source code for my microwave oven! Or my laser pen! Or my monitor! Or perhaps the sun! Because all of them cast rays, and according to parksie's literalistic nonsense, they would all be raycasters! DUH!!!!


    OK-- ray tracer: follows rays of light along their paths and waits for them either to die or hit the viewing plane. If an intersection with the view plane is detected, the corresponding pixel is set with the appropriate color based on what mediums etc the ray has dealt with in its short life.

    Now -- ray caster: a foward looking ray tracer that works based on geometric constraints; for each pixel in the view region, a ray caster follows an imaginary "ray" along its path until the ray hits something or reaches some boundary, e.g. a clip plane or a world edge. When the ray ceases to travel, the engine calculates what the ray has hit or why it stopped and assigns its corresponding pixel a color.

    So you ask why do I want code if I already know all this? Because I want code!! Don't ask stupid questions.

    So now that we all are completely confused, why don't we just give up because none of you should be posting answers in this thread as none of you have a clue what you're talking about.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  10. #10
    Zaei
    Guest
    Are all of your 267 posts berating the people you just
    asked for an answer? Thats a wonderful way to get
    what you want! Were you spolied as a child? You must
    have picked up that superiority complex from
    somewhere, to be sure. So, when you know
    everything, please come back and yell at us. And if you
    already do, Clue me in on what goes into
    D3DXVec3Unproject to come out with a good return.

    Z.

    PS: By your definition, a ray caster IS a ray tracer.
    Read it for yourself. "..a foward looking ray tracer...".
    Hurr Hurr.

  11. #11
    Zaei
    Guest
    Cough. The sun doesn't trace its rays. Neither does my microwave (does yours?) nor does my moniter. It seems that you, the High and Mighty God of Reading, cannot seem to do it yourself. Oh well, if I'm making you feel low, and stupid, more power to me =).

    Z.

  12. #12
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    POV-Ray does implement this "raycasting" of yours. Nearly ALL packages like it do because otherwise it's a total waste of processing power!
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  13. #13
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    easy?

    I didn't have a clue about ray tracing/casting before i visited this thread. What first come to my mind was how the compromises are done because lights on opaque surfaces reflects in all directions. You would get some nasty permutations with increasing amount of such surfaces. Next, when a color of a pixel on the screen is traced, do they take in account all rays passing that pixel, for instance a distant surface positioned at such a distance that it would fit into that pixel's pov would not appear as a specific pixel in the pattern of that surface but the average of all of them. Finally what about half transparent surfaces, interference patterns and all kinds of optical distortions, i guess the complications are overwhelming so i expect the calculations behind are reasonable compromises, far from easy so to speak.
    Anyone has idea's?


    PS, i'm still one of the 7 gurus on this site, doesn't mean i'm any better than anyone else.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  14. #14
    Member
    Join Date
    May 2000
    Location
    USA
    Posts
    37

    Cool

    mlewis,

    I don't have any info on any C++ ray caster's, but about two VB one's the answer is yes. Same site one straight VB the other a DirectX version. As to how good they are I have not tried them yet. Here you go:

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Amazing 3D A ray caster program in pure VB!
    Amazing 3D As above, except powered by DX7
    http://www.vbgames.co.uk/community/downloads/main.htm
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Hope this helps!

    P.S.

    I'm not even close to being a Guru, maybe if I keep at it though........ Grin.
    Jerome W. Norgren

    "Know how to ask. There is nothing more difficult for some people, nor for others, easier."

    - Baltasar Gracian

  15. #15

    Thread Starter
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    Cool! Thanks, man, this is EXACTLY what I needed!

    Keep cracking, someday you'll probably get that Guruship (? is that a word ?)

    Thanks again.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  16. #16
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  17. #17
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Heh, isn't that the code the author says "it looks like a fish-eye view"?
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width