Jump to content

  • Log In with Google      Sign In   
  • Create Account

afraidofdark

Member Since 17 Jun 2008
Offline Last Active Aug 30 2014 02:27 AM

Posts I've Made

In Topic: 3ds max plugin Y axis Up Right Handed coordinates

23 June 2013 - 01:24 AM

I search through web for changing up axis of max. Many people say, there isn't such option sad.png

here is my solution which matches all axis with opengl

-- rotate selected object
obj = $
rotate $ (angleaxis -90 [1,0,0])
a = $.pos.z
$.pos.z = -$.pos.y;
$.pos.y = a;

In Topic: lighting in 3d max realistic mode

09 February 2013 - 08:17 AM

yep, I did it. Now my lights behave exactly like max lights. The only difference than standard phong - point light shading is that; they apply a gamma correction, and inverse linearly (based on distance) scale the attenuation of the light. also the effective area thing that I explained above.

 

here is the final result. It is good enough for me.

 

lighting4.jpg


In Topic: lighting in 3d max realistic mode

09 February 2013 - 06:36 AM

Applying gamma correction really helped a lot. However in max, light stop smoothly when it reaches its radius. I am trying to implement it cheaply. Here is the progress

 

lighting3.jpg


In Topic: inverse transformation of the world matrix

09 January 2013 - 04:36 PM

I solve this by passing inverse matrix as a constant parameter. It works fine :)


In Topic: inverse transformation of the world matrix

08 January 2013 - 04:04 PM

isn't there a way to find inverse transformation matrix of the world matrix in the hlsl shader ? passing it as a parameter is a solution but not my first choice :)


PARTNERS