Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °
| |
|
|
You are not logged in. #1 2006-05-25 04:59:15
ray-traced torus, scale+rotate+texture+tangent-space normal mappingIve finnaly got my ray-torus intersections working, and ive made a quick and messy sample program testing it all Last edited by luca-deltodesco (2006-05-25 08:03:48) The Beginning Of All Things To End. The End Of All Things To Come. #2 2006-05-25 06:05:58
Re: ray-traced torus, scale+rotate+texture+tangent-space normal mappingLots of work I bet to create that program. Last edited by John E. Franklin (2006-05-25 06:09:25) Imagine for a moment that even an earthworm may possess a love of self and a love of others. #3 2006-05-25 06:19:15
Re: ray-traced torus, scale+rotate+texture+tangent-space normal mapping
Actually, this is a very messy program i quickly put together just to test the torus rendering, the source code is 10kb for the main cpp without about another 10kb of my own code for files containing a Matrix class, a vector class, and classes i made for loading bitmaps and for solving quartic equations. Last edited by luca-deltodesco (2006-05-25 06:21:19) The Beginning Of All Things To End. The End Of All Things To Come. #4 2006-05-25 07:46:41
Re: ray-traced torus, scale+rotate+texture+tangent-space normal mappingThat is really Beautiful! "The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman #5 2006-05-25 08:04:08
Re: ray-traced torus, scale+rotate+texture+tangent-space normal mapping
done and done, ive rewritten the first post, using the uploaded images. The Beginning Of All Things To End. The End Of All Things To Come. |