Elmar Posted April 1, 2010 Share Posted April 1, 2010 I have problem with measure of object. In the editor my object is seen in one kind, bur in program in another kind. As if in program my object is tautened. In the editor: In the pogram: Quote Link to comment Share on other sites More sharing options...
macklebee Posted April 1, 2010 Share Posted April 1, 2010 how many directional lights do you have in the scene for your program? Are you creating a directional light in the program and also loading a directional light from the SBX file? multiple directional lights in a scene cause this flattening affect... it is a known bug... Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Elmar Posted April 1, 2010 Author Share Posted April 1, 2010 i create directinal light only with code. Quote Link to comment Share on other sites More sharing options...
macklebee Posted April 1, 2010 Share Posted April 1, 2010 are you loading a SBX file or are you just loading the model in your program? I am asking because I can see from your first picture that you have a directional light in the editor scene... Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Elmar Posted April 1, 2010 Author Share Posted April 1, 2010 Yes, i'm sorry, i created light twice. And when i bloted out the createlight function from the code the measure came right. But now i can't regulate shade. How i can do it? Quote Link to comment Share on other sites More sharing options...
Joh Posted April 1, 2010 Share Posted April 1, 2010 Remove directional light from the editor, or get access to them by code.. It's easyer remove the directional light from editor and then place it by code rather then get it from the scene. Quote Intel Corei7-6700, NVIDIA GeForce GTX 980, 32GB DDR4, W-10. Link to comment Share on other sites More sharing options...
macklebee Posted April 1, 2010 Share Posted April 1, 2010 Just set the properties of the directional light like color, rotation, etc inside the editor. One of the reasons to use the editor is to instantly see realtime results. If you set up the directional light like you want inside the editor, it should look the same whenever you load the SBX file with your program. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.