Sign in to follow this  
maya18222

Question regarding OBJ and Specular

Recommended Posts

First off, im having a problem with my OBJ UV coordinates, for many of the objects i have exported from 3ds max, im getting 3 texture coordinates. If i remap them with UVW mod it solves the problem, but then i have to UV map the object again, is there anyway of solving this?
vt  0.013841 0.746324 0.262025
vt  0.013841 0.764194 0.273592
vt  0.013841 0.779908 0.306897
vt  0.013841 0.791571 0.357924
vt  0.013841 0.797777 0.420517
vt  0.013841 0.797777 0.487127
etc

secondly, How is the obj suppose to save the specular power? with 0 specular power set in 3dsMax, this create an obj with spec power of 0. But in terms of my .fx file, that is a very wide cone. Where as a high level is a very narrow cone, so how should i have no specular if the obj spec is set to 0?
// Determine how much (if any) specular light makes it into the eye.
	float t  = pow(max(dot(r, toEye), 0.0f), gSpecularPower);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this