Jump to content

Stevenson

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by Stevenson

  1. Hello,

    I started a project with vb.net. Everything is working but I have one big problem: My laptop have two graphic cards (a slow intern Intel, and a fast Nvidia). Leadwerks choses the slow intel card for rendering so everything is really slow. How can I change this?

    My project only contains the default demo code and a console window.

     

    I have the same problem with the material editor and the model viewer. But at the Editor LW choses the right nvidia render device.

    Thanks and greetings!

  2. I Also thought about that,

    but every time when i test it, it was the last chil.

     

    But, i have one more question, why does this two ways to get the terrain height doesn´t work:

    First Way:

    VObject::kiObject->Y = TerrainHeight(cTerrain, kiObject->X*2,kiObject->Y*2); // 2 is the Meter per tile
    

     

    Second way:

    	if(LinePick(&cPick, Vec3(kiObject->X,kiObject->Y,kiObject->Z), Vec3(kiObject->X,kiObject->Y-10,kiObject->Z), 5))
    	{
    		kiObject->Y = cPick.Y;
    		std::cout << cPick.Y << std::endl;
    	}
    

     

    Can some one help me?

     

     

    greats

  3. Hello,

    i was playing arround a little bit with C++, and i had problems with selecting the terrain.

    This is my code:

    TEntity cScene = LoadScene("abstract::test2.sbx");
    ScaleEntity(FindChild(cScene,"Terrain"), Vec3(1,1,1));
    

     

    Does some one know, what is my problem?

     

    greats

  4. Hello, I´ve write my own .sbx laoder.

    Every thing works fine without the terrain.

    I can´t see any way to set the Meterspertile from a

    terrain.

     

    i hope some one can help me.

     

    Greetings, Steven

×
×
  • Create New...