WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 10-01-2012, 03:30 AM
leoaered leoaered is offline
Member
 
Join Date: Sep 2012
Posts: 5
Yikes! I've been debugging for some time and it seems like there's still something wrong with the view matrix.

I made a simple plane and tried rendering it with:
Code:
m = viz.MainView.getMatrix().inverse()
m[2] = -m[2];
m[6] = -m[6];
m[8] = -m[8];
m[9] = -m[9];
m[14] = -m[14];
The plane is rotated! Everything goes back to normal with ftransform().
Attached Files
File Type: txt test.py.txt (930 Bytes, 5531 views)
File Type: txt plane.obj.txt (242 Bytes, 5586 views)
Reply With Quote
 


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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vizard Headlight in Shader shivanangel Vizard 1 06-27-2012 02:19 PM
SSAO Shader Implementation FranciscoPeters Vizard 2 10-08-2011 05:19 AM
How to apply shader and render texture to an object whj Vizard 0 04-23-2010 01:23 PM
Multiple Textures for Diffuse and Specularity Shader Issue shivanangel Vizard 1 05-11-2009 11:44 AM
Specular Shader Issue shivanangel Vizard 2 05-06-2009 12:08 PM


All times are GMT -7. The time now is 08:20 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC