No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm trying to add a way to create scenes for my raytracer without having to recompile it every time. So far i've gotten the irrXML parser up and working. My xml file declares all the scene properties I need and i can get them into my raytracer, but my problem … | |
Hi, I need help with a simple problem. I'm still new to c++ but this should be fairly straightforward. I just need to generate a random number, but with only a very small range like ... 0.00001 to 0.001. Any help would be appreciated. Thanks. | |
I need to create and array of DIFFERENT kinds of objects. For instance, in Java, I can do something like this ... [CODE] // scene objects Sphere scene_sphere = new Sphere(); Plane scene_plane = new Plane(); Object[] scene_objects = {scene_sphere, scene_plane}; [/CODE] in my program, both the Sphere class and … | |
About a year ago, I built a simple ray tracer in Java, and now I'm trying to port it to c++, but I can't figure out how to get a couple of my classes to work together. It should be fairly strait forward, but its not working. Here is a … |