Have you tried? Lately? I'd be amazed if the higher-end models didn't do just that. Ray-tracing projects and books on 3D graphics in general are both very well-represented in any large training set.
Have you tried? Lately? I'd be amazed if the higher-end models didn't do just that. Ray-tracing projects and books on 3D graphics in general are both very well-represented in any large training set.
Asking chatgpt to "guide" you through the process is a strange middle-ground between making your own project and using somebody else's in which nothing new is created and nothing new is learned.
Given the lack of a CS professor looking over your shoulder, what's more powerful than a textbook that you can hold a conversation with?
I actually agree with this although I don't think I'm interpreting it the way you intended.
>Given the lack of a CS professor looking over your shoulder
That's definitely not how school projects work. The professor answers questions (sometimes) and he ruins your GPA when you get things wrong. He does not guide you throughout everything you do as he "looks over your shoulder".
It has nothing to do with "raytracers are well-represented in the training set" though. I find it so strange when people get overly specific in an attempt to sound savvy. You should be able to easily think of like five other ways it could work.
Can you elaborate? Your first sentence seems to be saying that it's basically irrelevant whether they have been trained on text and code related to raytracing, and I have no idea why that would be true.
It's more important whether it knows basic concepts about computer graphics, linear algebra, etc. Reading the code of a raytracer is not that helpful because it's hard to extract general concepts from low level code like that.
Besides that, it has web search and research tools.
I just fed Claude Opus 4.5 the source of a raytracer I wrote actually, and it had reasonably good comments on it, but it knew less than I know and its updated version had a few more bugs and was missing non-obvious optimizations I'd added. (In particular it loves writing FP math as all doubles for no reason.)
If you don't have access to advanced reasoning models -- the kind that will crunch for 10 minutes before they give you any response at all -- put the sanitized code on pastebin and I'll try it with my accounts.
If you're right, then the models won't even recognize your code as a ray-tracer, much less be able to say anything meaningful about it.
I'm sure Paul Heckbert's business card is in-distribution, but it'd be a good example of what I'm talking about ( see variation at https://fabiensanglard.net/rayTracing_back_of_business_card/ ).