Blender Git Loki

Git Commits -> Revision a18cc02

Revision a18cc02 by Ton Roosendaal (master)
December 10, 2003, 20:41 (GMT)
- Xmas special: shiny mirroring bells & whistles!

This is a revision of the old NeoGeo raytracer, dusted off, improved quite
a lot, and nicely integrated in the rest of rendering pipeline.
Enable it with F10-"Ray", and set either a 'ray-shadow' lamp or give the
Material a "RayMirror" value.
It has been added for 2 reasons:
- get feedback on validity... I need artists to play around with it if it's
actually useful. It still *is* raytracing, meaning complex scenes will
easily become slow.
- for educational purposes. All raytracing happens in ray.c, which can be
quite easily adjusted for other effects.

When too many disasters pop up with this, I'll make it a compile #ifdef.
But so far, it seems to do a decent job.

Demo files: http://www.blender.org/docs/ray_test.tgz
An article (tech) about how it works, and about the new octree invention
will be posted soon. :)

Note: it doesn't work with unified render yet.

Commit Details:

Full Hash: a18cc02374e8993824cfeb12b9e67b5b067317d9
SVN Revision: 1703
Parent Commit: cad3013
Lines Changed: +1814, -87

1 Added Path:

/source/blender/render/intern/source/ray.c (+1676, -0) (View)

14 Modified Paths:

/source/blender/blenkernel/intern/material.c (+9, -0) (Diff)
/source/blender/makesdna/DNA_lamp_types.h (+4, -0) (Diff)
/source/blender/makesdna/DNA_material_types.h (+3, -2) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+9, -8) (Diff)
/source/blender/render/extern/include/render_types.h (+4, -0) (Diff)
/source/blender/render/intern/include/rendercore.h (+1, -2) (Diff)
/source/blender/render/intern/include/zbuf_int.h (+1, -1) (Diff)
/source/blender/render/intern/source/Makefile (+1, -1) (Diff)
/source/blender/render/intern/source/rendercore.c (+38, -25) (Diff)
/source/blender/render/intern/source/renderPreAndPost.c (+7, -1) (Diff)
/source/blender/render/intern/source/zbuf.c (+5, -5) (Diff)
/source/blender/renderconverter/intern/convertBlenderScene.c (+7, -8) (Diff)
/source/blender/src/buttons_scene.c (+16, -15) (Diff)
/source/blender/src/buttons_shading.c (+33, -19) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021