Forum: 3D Modeling


Subject: can i get some good scene files for my ray tracer?

sana_sz91 opened this issue on Sep 29, 2013 · 2 posts


sana_sz91 posted Sun, 29 September 2013 at 3:13 PM

i am a programmer working on ray tracing, i just have one simple scene file that my ray tracer is rendering quite well ... as i mentioned that i am a programmer and a student and NOT a 3d modeller , hence i dont know how to write a scene or scene file, is there any link where i can get some good scenes ...?

i currently use following simple scene for my ray tracer:

Sphere 2.5 -1.5 -17.0 Material 255 255 0 0.5 0.75
Sphere 90 0 4 3 Material 0 128 128 .75 0.45
Sphere 30 2 28 4 Material 111 45 255 .75 0.65
AABB -25 -25 -60 -20 -20 -30 Material 5 250 0 0.5 0.45
AABB -40 -40 -80 -20 -20 -100 Material 89 21 134 0.5 0.9
AABB -30 -30 -70 -10 -10 -50 Material 89 21 134 0.5 0.6
Triangle -2 -2 -7 2 -2 -7 0 2 -7 Material 149 18 141 0.5 0.8
Triangle 9 9 14 9 2 14 3 10 -9 Material 194 108 201 0.5 1.0
Light 48 68 100 25 0 25
Light 14 0 -10 55 45 95
Origin 0 0 14
Target 2 1 -7

can i get some advanced scenes of similar format from some where ??


LuxXeon posted Sun, 29 September 2013 at 5:34 PM

Quote - i am a programmer working on ray tracing, i just have one simple scene file that my ray tracer is rendering quite well ... as i mentioned that i am a programmer and a student and NOT a 3d modeller , hence i dont know how to write a scene or scene file, is there any link where i can get some good scenes ...?

i currently use following simple scene for my ray tracer:

Sphere 2.5 -1.5 -17.0 Material 255 255 0 0.5 0.75
Sphere 90 0 4 3 Material 0 128 128 .75 0.45
Sphere 30 2 28 4 Material 111 45 255 .75 0.65
AABB -25 -25 -60 -20 -20 -30 Material 5 250 0 0.5 0.45
AABB -40 -40 -80 -20 -20 -100 Material 89 21 134 0.5 0.9
AABB -30 -30 -70 -10 -10 -50 Material 89 21 134 0.5 0.6
Triangle -2 -2 -7 2 -2 -7 0 2 -7 Material 149 18 141 0.5 0.8
Triangle 9 9 14 9 2 14 3 10 -9 Material 194 108 201 0.5 1.0
Light 48 68 100 25 0 25
Light 14 0 -10 55 45 95
Origin 0 0 14
Target 2 1 -7

can i get some advanced scenes of similar format from some where ??

I have free models in .obj file format that you could use to test renders with if you like, and there's tons of free files of all kinds in the Freestuff area, but most of them seem to be specific to Poser software application.  OBJ files are a standard 3D object files in ASCII or Binary code, which are compatible with most 3D software applications.

If your render engine can import OBJ, then you shouldn't have any trouble finding models to use for free.  If you don't currently support OBJ, then I suggest implimenting it somehow.

Here's a description of .OBJ format, and some other info on it that might be useful:

http://paulbourke.net/dataformats/obj/

______________________________________

My Store
My Free Models
My Video Tutorials
My CG Animations
Instagram: @luxxeon3d
Facebook: https://www.facebook.com/luxxeon