Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   Managed DirectX (http://www.xtremevbtalk.com/managed-directx/)
-   -   Matrixes And Shaders (http://www.xtremevbtalk.com/managed-directx/307589-matrixes-shaders.html)

Joe_Dert 05-31-2009 10:17 PM

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.

All times are GMT -6. The time now is 07:18 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.