Matrixes And Shaders
Matrixes And Shaders
Matrixes And Shaders
Matrixes And Shaders
Matrixes And Shaders
Matrixes And Shaders Matrixes And Shaders Matrixes And Shaders Matrixes And Shaders Matrixes And Shaders Matrixes And Shaders Matrixes And Shaders Matrixes And Shaders
Matrixes And Shaders Matrixes And Shaders
Matrixes And Shaders
Go Back  Xtreme Visual Basic Talk > > > > Matrixes And Shaders


Reply
 
Thread Tools Display Modes
  #1  
Old 05-31-2009, 10:17 PM
Joe_Dert Joe_Dert is offline
Freshman
 
Join Date: Mar 2009
Posts: 26
Default Matrixes And Shaders


Okay, so RenderMonkey has settings for matrix ordering.

There are two settings, "Row Major", and "Column Major", by default it chooses "Row Major",. DirectX however expects "Column Major" ordering.

All the dx9 examples in RM were written with this setting set to "Row Major", which means they are setup wrong for DX.

Attempting to directly use these shaders as you would a properly written dx shader, will result in the problems I had.

Changing this setting does not fix the problem, it only changes how RM handles how it's own rendering, you still need to rewrite the shaders using proper DX matrix ordering standards, or else you have to account for this in your program, which I advise against, it's better to just follow dx standards from the start.

Last edited by Joe_Dert; 06-01-2009 at 01:24 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Matrixes And Shaders
Matrixes And Shaders
Matrixes And Shaders Matrixes And Shaders
Matrixes And Shaders
Matrixes And Shaders
Matrixes And Shaders Matrixes And Shaders Matrixes And Shaders Matrixes And Shaders Matrixes And Shaders Matrixes And Shaders Matrixes And Shaders
Matrixes And Shaders
Matrixes And Shaders
 
Matrixes And Shaders
Matrixes And Shaders
 
-->