Raycaster Project Issue - Triangle Ray collision

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  03 March 2015
Raycaster Project Issue - Triangle Ray collision

Hello, for my c++ class I am trying to create a simple raycaster and am having some issues. For some reason I keep getting just 1 white pixel instead of the triangle I am expecting. Could someone tell me what I am doing wrong? I ziped the entire project but the main area in question is located in PrimTriangle.cpp.

I am using the algorithm explained here: http://www.scratchapixel.com/old/le...etric-solution/

Any help would be appreciated!


James S.
reply share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:05 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.