Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Inventor API > Non uniform sca...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 464 of 501
Post > Topic >>

Non uniform scaling screws up shading in Coin3D

by "Georg Wiora" <xorx@[EMAIL PROTECTED] > Oct 4, 2006 at 03:31 AM

Hi,

I have a simple scene with a triangulated surface that contains a
SoTransform node. I use the transform node only for scaling the scene.
As long as the transformation is uniform or nearly uniform, the shading
looks fine, but when I set a strongly non uniform shading the surface
becomes very dark except for the direct reflection.

My transformation matrix looks like
[ 1 0 0 0
  0 1 0 0
  0 0 z 0
  0 0 0 1]

I get good results for 0.7 < z < 2 and a pitch black surface
for z > 1000.

Is this a bug in Coin or maybe a floating point precission problem?
I allready tried to explicitly supply an SoNormal node, but that did
not fix the problem.

Thanks for any hints on this!

Georg
 




 2 Posts in Topic:
Non uniform scaling screws up shading in Coin3D
"Georg Wiora" &  2006-10-04 03:31:21 
Re: Non uniform scaling screws up shading in Coin3D
"MikeHeck" <  2006-10-18 11:30:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Aug 30 5:55:54 CDT 2008.