Click here to Skip to main content
16,021,211 members
Home / Discussions / Game Development
   

Game Development

 
GeneralRe: i need your help Pin
Pete O'Hanlon14-Sep-11 6:47
mvePete O'Hanlon14-Sep-11 6:47 
GeneralRe: i need your help Pin
gif202014-Sep-11 8:33
gif202014-Sep-11 8:33 
AnswerRe: i need your help Pin
Mahdi Nejadsahebi25-Sep-11 1:01
Mahdi Nejadsahebi25-Sep-11 1:01 
AnswerRe: i need your help Pin
Paul Conrad25-Oct-11 6:01
professionalPaul Conrad25-Oct-11 6:01 
AnswerRe: i need your help Pin
Peter Hawke28-Dec-11 13:03
Peter Hawke28-Dec-11 13:03 
QuestionMy first released game Pin
Thomas.D Williams21-Jul-11 5:18
Thomas.D Williams21-Jul-11 5:18 
AnswerRe: My first released game Pin
Richard MacCutchan28-Jul-11 3:41
mveRichard MacCutchan28-Jul-11 3:41 
GeneralRe: My first released game Pin
Thomas.D Williams28-Jul-11 6:06
Thomas.D Williams28-Jul-11 6:06 
Ok if you want technical. In my next release I am building a real time ray-tracer. I'm currently having a problem making it fire the rays in a perspective fashion other than the orthographic fashion it is. It works fine apart from the orthographic look it has :/

Main Draw Sequence:

C#
for (int X = 0; X < Width; X++)
            {
                for (int Y = 0; Y < Height; Y++)
                {
                    Ray TRay = new Ray(new V3(X - HalfWidth, 0, Y - HalfHeight) - CameraLocation, new V3((X - HalfWidth) * 3f, 100, (Y - HalfHeight) * 3f) ); //Param 1: Start Location Param 2: Direction
                    foreach (SceneModel TempModel in Models)
                    {
                        foreach (Triangle TempTriangle in TempModel.Triangles)
                        {
                            Intersection TInter = TempTriangle.Intersects(TRay);
                            if (TInter.Hits) Temp.SetPixel(X, Y, TInter.HitColour);
                            else Temp.SetPixel(X, Y, BackgroundColour);
                        }
                    }
                }
            }


Its self explanatory.
P.S. I was merely looking for opinions and possible improvements
Thomas Williams - Chimp Twist

GeneralRe: My first released game PinPopular
Richard MacCutchan28-Jul-11 6:10
mveRichard MacCutchan28-Jul-11 6:10 
GeneralRe: My first released game [modified] Pin
Rakesh Meel6-Sep-11 1:53
professionalRakesh Meel6-Sep-11 1:53 
GeneralRe: My first released game [modified] Pin
CDP180229-Aug-11 22:47
CDP180229-Aug-11 22:47 
GeneralRe: My first released game Pin
Richard MacCutchan8-Sep-11 7:18
mveRichard MacCutchan8-Sep-11 7:18 
QuestionPlease don't laugh - Flash MX 2004 attachMovie problem Pin
EvScott28-Jun-11 15:42
EvScott28-Jun-11 15:42 
AnswerRe: Please don't laugh - Flash MX 2004 attachMovie problem Pin
enhzflep28-Jun-11 20:48
enhzflep28-Jun-11 20:48 
Questionproblem Pin
Member 803844227-Jun-11 0:09
Member 803844227-Jun-11 0:09 
AnswerRe: problem Pin
Pete O'Hanlon27-Jun-11 0:54
mvePete O'Hanlon27-Jun-11 0:54 
AnswerRe: problem Pin
Dalek Dave27-Jun-11 2:19
professionalDalek Dave27-Jun-11 2:19 
AnswerRe: problem Pin
CDP180227-Jun-11 2:43
CDP180227-Jun-11 2:43 
AnswerRe: problem PinPopular
enhzflep28-Jun-11 9:23
enhzflep28-Jun-11 9:23 
GeneralRe: problem Pin
Thomas Krojer4-Jul-11 21:05
Thomas Krojer4-Jul-11 21:05 
GeneralRe: problem Pin
kevinnicol8-Jul-11 8:09
kevinnicol8-Jul-11 8:09 
AnswerRe: problem Pin
Pravin Patil, Mumbai28-Jul-11 3:07
Pravin Patil, Mumbai28-Jul-11 3:07 
AnswerRe: problem Pin
expert_babaji16-Sep-11 5:43
expert_babaji16-Sep-11 5:43 
QuestionGreat forum, but not much going on... Pin
CDP180223-Jun-11 10:39
CDP180223-Jun-11 10:39 
QuestionRe: Great forum, but not much going on... Pin
AspDotNetDev23-Jun-11 10:58
protectorAspDotNetDev23-Jun-11 10:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.