flat assembler
Message board for the users of flat assembler.
Index
> Windows > CPU raytracing draw triangle. |
Author |
|
bitRAKE 13 Jan 2019, 22:01
Relative to your screen projection that is a very small triangle?
|
|||
13 Jan 2019, 22:01 |
|
Roman 14 Jan 2019, 07:04
In code need:
Code: vec2 f = float(2DX,2DY); f = (2.0 * f / 500.0 - 1.0); RayDir.xyz=(f.x,f.y ,-1.0); And i get small triangle in BMP file. On center of screen. |
|||
14 Jan 2019, 07:04 |
|
macgub 27 May 2019, 17:48
Preety article describing problem above...
http://hugi.scene.org/online/hugi25/hugi%2025%20-%20coding%20corner%20graphics,%20sound%20&%20synchronization%20ken%20ray-triangle%20intersection%20tests%20for%20dummies.htm ...its topic related. |
|||
27 May 2019, 17:48 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.