programing a raytracer

Discuss stuff not about Indigo.
User avatar
oodmb
Posts: 271
Joined: Thu Oct 26, 2006 5:39 am
Location: USA
Contact:

Post by oodmb » Sun May 20, 2007 4:43 pm

lol throws throwable. i've never actualy had a problem with it crashing, i've generaly had alot of luck with the threads.
a shiny monkey is a happy monkey

User avatar
Behrendt
Posts: 255
Joined: Wed Jun 28, 2006 8:30 pm
Location: Cologne, Germany
Contact:

Post by Behrendt » Tue Oct 09, 2007 1:33 am

Hey guys!
I also have to write a raytracer for a school-project. I clicked through this thread and picked up some languages like C++ and Java, in which I could write the raytracer. But the problem is I have no experience in those. Do you think it's possible for me to get a working raytracer until 10.3.2008 ? :lol:
Thx for any help,advice or anything else 8)

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Tue Oct 09, 2007 1:44 am

Is this a serious question?
If you either copy+paste the code, or are a very good learner for programming languages....
there's a chance, but not a big one, I bet :P

User avatar
Behrendt
Posts: 255
Joined: Wed Jun 28, 2006 8:30 pm
Location: Cologne, Germany
Contact:

Post by Behrendt » Tue Oct 09, 2007 1:51 am

No, copy+paste is definetly not the way i wanted to get through this.

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Tue Oct 09, 2007 2:11 am

but wait... you have one year...
hum...
half a year, to learn the basics in one of the two, the rest, to learn the things, you need to raytrace and to debug^^ might work :)

User avatar
eman7613
Posts: 597
Joined: Sat Sep 16, 2006 2:52 pm

Post by eman7613 » Tue Oct 09, 2007 2:45 am

It depends on your skill in these types of things and the amount of free time you have to devote to this project.

If you don't have prior experience with either C++ or Java, id suggests java just so you don't have to worry about memory leaks so much.
Yes i know, my spelling sucks

User avatar
Behrendt
Posts: 255
Joined: Wed Jun 28, 2006 8:30 pm
Location: Cologne, Germany
Contact:

Post by Behrendt » Tue Oct 09, 2007 4:16 am

Kram1032 wrote:but wait... you have one year...
hum...
half a year, to learn the basics in one of the two, the rest, to learn the things, you need to raytrace and to debug^^ might work :)
Unfortunately is October-> March no whole year :lol:
But now that i read through some papers it seems kinda more strange that somebody shall done this before in only 2 weeks... but hmm... I think I'll give it a shot

User avatar
oodmb
Posts: 271
Joined: Thu Oct 26, 2006 5:39 am
Location: USA
Contact:

Post by oodmb » Tue Oct 09, 2007 4:52 am

i basicaly got my raytracer working one year after having started learning to program (alot less actualy)

i only started learning to program about this time last year, and attempted my raytracer right around march. i realy only got it working about may though, so i dont know.

it realy depends on well you end up understanding the language. some people take years to understand a language fully, some people just take a week and feel as though its a language they never knew they knew.
a shiny monkey is a happy monkey

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Tue Oct 09, 2007 6:01 am

Have experience in programming in any language, even the non-target, is > no experience.

As long as you "get" the general idea of programming, I've found, you can switch languages (learning the nuances and "gotchas" along the way), without it being too big a deal.

It's much harder if you don't "think" in programming terms, though.

User avatar
Behrendt
Posts: 255
Joined: Wed Jun 28, 2006 8:30 pm
Location: Cologne, Germany
Contact:

Post by Behrendt » Tue Oct 09, 2007 7:42 am

Learned a bit of Pascal,Delphi and Prolog at school.

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Tue Oct 09, 2007 7:44 am

Prolog wont be helpful for that, the other two, I don't know, but I think, they should be a good starting point for Java :D (don't take me by word, though: I learned neither Pascal, nor Delphi, not Java^^)

User avatar
oodmb
Posts: 271
Joined: Thu Oct 26, 2006 5:39 am
Location: USA
Contact:

Post by oodmb » Wed Oct 10, 2007 4:04 pm

are they object oriented, because object orientation becomes a big issue in ray tracing. it can be done without it, but its very hard to do and becomes non extensible.
a shiny monkey is a happy monkey

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Thu Oct 11, 2007 3:39 am

Prolog is logic - it's based on rules.
It's for programming AI, as I said, already :)

Prolog
Pascal
"D" (not sure, if that's delphi, for real)

Knaxknarke
Posts: 21
Joined: Thu Nov 23, 2006 10:14 am

Post by Knaxknarke » Mon Oct 15, 2007 12:38 pm

Kram1032 wrote:Prolog wont be helpful for that, the other two, I don't know, but I think, they should be a good starting point for Java :D (don't take me by word, though: I learned neither Pascal, nor Delphi, not Java^^)
Delphi is an IDE and a class library and the language is Object Pascal, an OOP extension to Turbo Pascals dialect. It should be no problem to write the ray tracing code with Delphi. No need to waste time learning Java or even Cpp.

Post Reply
164 posts

Who is online

Users browsing this forum: No registered users and 4 guests