Jump to content

Tommek

Members
  • Posts

    41
  • Joined

  • Last visited

Posts posted by Tommek

  1. Hi,

     

    somehow I've messed up my Viewports. I can't use WASD in the 3d view anymore. Mouse still works, but no mousewheel.

     

    Also in the 2d viewports my grid disappeared. I tried to increase, decrease the size but nothing happens. Also Reset doesn't work. I changed my language settings http://www.leadwerks.com/werkspace/topic/10615-linux-floats-not-working/

     

    This might have messed up my configuration file. But where are the settings placed? I didn't find a config file.

  2. I am just starting with aggrors great Saturn-Tutorial and ran into a strange thing.

     

    In Tutorial #3 you create a spawn timer and give it a float value. However the leadwerks editor first shows given number, but then round that number. So give it 0.4 after saving etc. its going to be 0.0 what creates a lot of instances in no time.

    Giving this the value 1.5 gives you 1, 2.4 give 2 etc.

     

    After I change the view the number shown in the editor is 0.0 or 1.0 or 2.0 etc.

     

     

    Script.spawnObject = "" --entity "Spawn object"
    Script.spawnTime = 0.5 --float "Spawn time"
    local timer = 0
    function Script:UpdateWorld()
    timer = timer + (Time:GetSpeed()/100)
    if(timer > self.spawnTime) then
     local newObject = self.spawnObject:Instance()
     newObject:SetPosition(self.entity:GetPosition())
     timer = 0
    end
    end
    

     

    I've attached a screenshot.

    post-12666-0-98565700-1409599525_thumb.jpg

  3. Hi Guys,

     

    I have a strange behaviour on one of my systems.

    I bought the steam version so I can use Leadwerks on any system.

     

    I've got one PC that has Linux installed it uses a NVIDIA GT 240, here Leadwerks runs smooth so far, but it shouldn't as I see it. The Card only supports OpenGL 3.3

     

    On my Laptop I have a Intel HD 4000 (build into the CPU), the Linux driver only supports OpenGL 3.2 and Leadwerks won't start. I also have an installation of Windows 8.1 on an external drive (wintousb), here Leadwerks starts (because the windows driver supports OpenGL 4.0 but I have different Problems -> http://www.leadwerks.com/werkspace/topic/10594-win-81-exception-access-violation-on-loading-tutorial-maps/

     

    To get near this Problem I have plugged my USB-Win 8.1 in my Linux PC (GT 240), the driver also supports OpenGL 3.3 but Leadwerks won't start.

     

    tl;dr;

    Leadwerks runs on Linux machine with OpenGL 3.3 and on windows not.

    Why?

  4. Hi Guys,

     

    I get this error "EXCEPTION_ACCESS_VIOLATION" every time I want to open the tutorial maps.

     

    I already re-installed the Microsoft Visual Studio 2013 redistrubutable and OpenAL.

     

    Here is a log and my cfg.

     

    I would have attached this, but textfiles seemed to be blocked in the forum.

     

    Initializing OpenGL4 graphics driver...
    OpenGL version 400
    GLSL version 400
    Device: Intel(R) HD Graphics 4000
    OpenGL version 400
    GLSL version 400
    Loading texture "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Materials/Common/bfn.tex"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/terraintool.shader"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/wireframe.shader"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/solid.shader"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Model/default.shader"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/grid.shader"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Lighting/ambientlight.shader"...
    Loading font "C:/Windows/Fonts/Arial.ttf"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Drawing/drawtext.shader"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Drawing/drawprimitive.shader"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/skybox.shader"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Misc/occlusionquery.shader"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Model/Shadow/shadow.shader"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Lighting/directionallight.shader"...
    Loading material "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Materials/Icons/directionallight.mat"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/shaders/editor/sprite.shader"...
    Loading texture "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Materials/Icons/directionallight.tex"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Lighting/directionallight.shader"...
    Deleting material "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Materials/Icons/directionallight.mat"
    Deleting shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/shaders/editor/sprite.shader"
    Deleting texture "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Materials/Icons/directionallight.tex"
    Loading material "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Materials/Icons/directionallight.mat"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/shaders/editor/sprite.shader"...
    Loading texture "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Materials/Icons/directionallight.tex"...
    Loading material "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/materials/concrete/concrete_dirty.mat"...
    Loading texture "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/materials/concrete/concrete_dirty_diff.tex"...
    Loading texture "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/materials/concrete/concrete_dirty_dot3.tex"...
    Loading texture "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/materials/concrete/concrete_dirty_spec.tex"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Shaders/Model/diffuse+normal+specular.shader"...
    Loading model "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/models/vehicles/pickuptruck.mdl"
    Loading material "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/models/vehicles/truck_black.mat"...
    Loading shader "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/shaders/model/diffuse+normal.shader"...
    Loading texture "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/models/vehicles/truck_black_diff.tex"...
    Loading texture "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/models/vehicles/truck_nmap.tex"...
    Loading shape "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/models/vehicles/pickuptruck.phy..."
    Loading model "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/models/vehicles/tiretruck.mdl"
    Loading material "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/models/vehicles/trucktire.mat"...
    Loading texture "C:/Urks/Projects/MyGame/models/vehicles/trucktire.mat"...
    Loading texture "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/models/vehicles/trucktire_diff.tex"...
    Loading texture "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/models/vehicles/trucktire_nmap.tex"...
    Loading texture "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/models/vehicles/trucktire_spec.tex"...
    Loading material "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Materials/Icons/camera.mat"...
    Loading texture "C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame/Materials/Icons/Camera.tex"...
    
    

     

    autorefreshassets=1
    ShowWelcomeScreen=1
    autobackenabled=1
    TextureLock=1
    FileSortMode=1
    ShowToolbar=1
    autosavepath="Autosave/"
    mappath="Maps/"
    assetpath=""
    autobkstate=0
    autobackup=5
    projectauthor=""
    projectcopyright=""
    defaultprojecttype="Lua"
    openfilename=""
    openlastfile=1
    playanimation=1
    lastactionid=0
    projects=""
    projects31="C:/Users/Tommek/Documents/Leadwerks/Projects/MyGame\MyGame.werk"
    currentproject="MyGame.werk"
    currentproject31="MyGame"
    showmodelhierarchy=1
    showviewportsliders=1
    warninggiven_entityocclusionculling=0
    ViewportPerspectivePanSpeed=1.00000000
    ViewportPerspectiveMoveSpeed=0.200000003
    ViewportPanSpeed=0.500000000
    multisamplemode=2
    camerasmoothing=0.500000000
    lightquality=1
    sandboxmode=1
    showinvisiblematerials=1
    showcm=1
    rendermultisamplemode=4
    showconsole=1
    tessellationquality=2
    modeleditorshowphysics=0
    autocollect=0
    resetviewportspeed=0
    SuppressUppercaseConversion=0
    screenshotfile="C:\Users\Tommek\Documents\Leadwerks\Screenshots\screenshot1.jpg"
    screenshotresolution=3
    screenshotwidth=1024
    screenshotheight=768
    showbrushwidgets=1
    UnlockBetaFeatures=0
    anisotropicfilter=2.00000000
    trilinearfiltermode=1
    screenshottitle="My Game"
    screenshotdescription="I made this with Leadwerks Game Engine!"
    videotitle="My Game"
    importimagepath="C:\Users\Tommek\Documents\"
    videodescription="I made this with Leadwerks Game Engine!"
    viewportliveupdate=1
    fov=70.0000000
    IDEFontName="Consolas"
    IDEFontSize=10
    undolevels=100
    gutterbackgroundcolor="0.930000007","0.930000007","0.930000007"
    gutterforegroundcolor="0.500000000","0.500000000","0.500000000"
    ShowLineNumbers=1
    CodeFolding=1
    selectioncolor="1.00000000","0.000000000","0.000000000"
    selectiontabcolor="1.00000000","1.00000000","1.00000000"
    drawobjectcolor="1.00000000","1.00000000","0.000000000"
    boundingboxcolor="1.00000000","1.00000000","1.00000000"
    entityguidecolor="0.000000000","1.00000000","1.00000000"
    debugmodewarninggiven=0
    codeforegroundcolor="0.000000000","0.000000000","0.000000000"
    codebackgroundcolor="1.00000000","1.00000000","1.00000000"
    stringcolor="0.500000000","0.000000000","0.000000000"
    commentcolor="0.000000000","0.500000000","0.000000000"
    keywordcolor="0.000000000","0.000000000","1.00000000"
    macrocolor="0.000000000","0.000000000","1.00000000"
    majorgridlinescolor="0.400000006","0.400000006","0.400000006"
    minorgridlinescolor="0.300000012","0.300000012","0.300000012"
    origincolor="1.00000000","1.00000000","1.00000000"
    codefoldingcolor="0.500000000","0.500000000","0.500000000"
    MinModelColor="0.500000000","0.250000000","0.000000000"
    MaxModelColor="1.00000000","0.750000000","0.000000000"
    MinBrushColor="0.000000000","0.250000000","0.250000000","0.000000000"
    splashscreenduration=4
    MaxBrushColor="0.000000000","0.750000000","0.750000000","0.000000000"
    projectspath="C:\Users\Tommek\Documents/Leadwerks/Projects"
    LastAppliedMaterialPath=""
    lastappliedmaterialfileid=0
    SelectionIgnoreHierarchy=0
    BackgroundColor="0.250000000","0.250000000","0.250000000","1.00000000"
    SceneBrowserSplitterOrientation=0
    SceneBrowserSplitterPosition=400
    vsync=1
    vpanely=0
    CameraLookSpeed=1.00000000
    assetbrowserrecursiveview=1
    MaterialEditorModel=0
    ViewportGridMajorLines=8
    CodeCompletion=1
    ShowObjectBar=1
    InstantCreate=1
    GridSnap=1
    View0=0
    View1=1
    View2=3
    View3=2
    scriptpath="Scripts/"
    prefabpath="Prefabs/"
    DrawPhysics=0
    DrawNavigation=0
    useglobalcoords=1
    RecentFiles="","","","","","","","","",""
    RecentScriptFiles="","","","","","","","","",""
    DrawEntityColor="0.000000000","1.00000000","1.00000000","1.00000000"
    AutoUpdateProperties=1
    invertmousezoom=0
    leftpanelstate=0
    rightpanelstate=1
    centerpanelstate=0
    leftpanelposition=280
    rightpanelposition=327
    centerpanelposition=180
    rightpaneldockableelements=""
    centerpaneldockableelements=""
    leftpaneldockableelements=""
    undockeddockableelements=""
    undockeddockableelementsshape=""
    RealtimeRender=0
    ShowStats=1
    MinBlockSize=0.00999999978
    DisplayBlockSize=1
    EditLockAngle=5.00000000
    EditTabSize=8
    BrushGuideColor="1.00000000","1.00000000","0.000000000","1.00000000"
    MainWindowShape="171","0","1024","768","0"
    MainWindowSplitterPosition=330
    MainWindowSplitterOrientation=1
    ViewportLayout="0","0"
    MainWindowMode=0
    AssetBrowserSplitterPosition=300
    AssetBrowserSplitterOrientation=2
    AssetBrowserThumbnailSize=6
    MaterialEditorSplitterPosition=280
    MaterialEditorSplitterOrientation=1
    MaterialEditorShape="0","0","600","400"
    ModelEditorSplitterPosition=200
    ModelEditorSplitterOrientation=3
    ModelEditorShape="0","0","750","450"
    TextureEditorSplitterPosition=280
    TextureEditorSplitterOrientation=1
    TextureEditorShape="0","0","750","450"
    ShaderEditorSplitterPosition=280
    ShaderEditorSplitterOrientation=1
    ShaderEditorShape="0","0","0","0"
    ScriptEditorSplitterPosition=300
    ScriptEditorSplitterOrientation=1
    ScriptEditorShape="171","0","1024","768"
    FontEditorShape="0","0","750","450"
    

×
×
  • Create New...