Jump to content

diedir

Developers
  • Posts

    258
  • Joined

  • Last visited

Everything posted by diedir

  1. Hello Josh, Do you plan to add tools for editing terrain ? Something like : Flatten , Get/Set Height, Square brush ... Thank you
  2. Thank you Josh, please look at heightmap import, too!
  3. Version 0.93 build 378 select terrain creation, drag, right click -> create -> crash
  4. So after trying a lot: i made a terrain 2048 *2048 in editor and tried to import a *.r16 file : the file is not present (hidden) in the dialog box explorer *.raw file : file present in explorer dialog but result in failed to load in editor. then with code (lua) no problem for each file: it loads (though i think better result with r16 one) don't know why in dialog explorer r16 is not seen , so i put my file here (needed to rename extension because no allowed to upload *.r16 ), if you want to try (not a great elevation from 5m to 45m) Total_G_HM.r16.txt
  5. Hi Josh, Do you plan exporting- importing heightmap terrain ? It would be much (much...) easier to paint a 16.raw map with external software. I need to reproduce real terrain, this feature would be a must! thank you
  6. ok all is ok now, uninstalled the 0.9 version, installed the dev 0.91 / 300 and all is well displayed, i think i had a mix of shader version, because previous install was not straight one, needed to download couple of times before finishing proper install. so all is good now thank you all
  7. Sorry for reactivating the post but despite good looking project manager : The problem is still there in "Run" : With Ultra version 0.9 Thank you
  8. thanks Klepto2, i discovered that by myself after posting !
  9. Hello Josh, after toying in Ultra editor a bit, i need some answers if possible: Viewport layout : not remembering the last setting Zoom in and out commands not working on my side (= and -) Zoom limiting at 6% minimum and 5751% max (?) Textures on terrain: no UV Tiling ? Box object not showing dimensions (x,y,z) only scaling for new dimensions ? Is it possible to add a function for viewing (zooming) all objects in a scene or one (entire) object only ? Thank you for your great job because i am not talking about all that is working good !
  10. Sorry for your loss Peter, i have always read Cassius posts on the site, will miss the swan.
  11. Ok i got it, simply by positionning the sprite in 2D coords like -400,300 x negative on the left side, x positve on the right and y positive on top side and negative in the bottom 0,0 is the center of the window thank you Reepblue
  12. Well thank you for your time but the sprite was already in the center of the window, the problem is that i can't place it where i wanted (eg: at top left or top right... etc) still searching
  13. Hello, me again.. i try to position a sprite created for head up display over a scene, but can't move the display where i want here the code i used : --Get the displays local displays = GetDisplays() --Create window local window = CreateWindow("Ultra Engine", 0, 0, 1280, 720, displays[1]) --Create framebuffer local framebuffer = CreateFramebuffer(window) --Create world local world = CreateWorld() --env map local specmap = LoadTexture("./Materials/Environment/Default/specular.dds") local diffmap = LoadTexture("./Materials/Environment/Default/diffuse.dds") world:SetEnvironmentMap(specmap, ENVIRONMENTMAP_BACKGROUND) world:SetEnvironmentMap(specmap, ENVIRONMENTMAP_SPECULAR) world:SetEnvironmentMap(diffmap, ENVIRONMENTMAP_DIFFUSE) --[[load map local mapname = "Maps/scene1.ultra" local cl = CommandLine() if type(cl["map"]) == "string" then mapname = cl["map"] end local scene = LoadMap(world, mapname) --]] --Create light local light = CreateBoxLight(world) light:SetRange(-10, 10) light:SetArea(15, 15) light:SetRotation(45, 35, 0) light:SetColor(2) --Load a font local font = LoadFont("Fonts/arial.ttf") local fontsize = 36 -- Create sprite local sprite = CreateSprite(world, font,"HEY YOU !",fontsize) sprite:SetColor(1, 1, 1, 1) sprite:SetPosition(0,-50, 0) -- Create a camera local camera = CreateCamera(world,PROJECTION_PERSPECTIVE) camera:SetClearColor(0.125) camera:SetPosition(0, 5, 0) --Create second camera local cam2 = CreateCamera(world,PROJECTION_ORTHOGRAPHIC) cam2:SetPosition(0, 0, 0) cam2:SetClearMode(CLEAR_DEPTH) --Camera controls to look around require 'Components/Player/CameraControls' camera:AddComponent(CameraControls) --main loop while not window:KeyDown(KEY_ESCAPE) do world:Update() world:Render(framebuffer) end Thank you for helping
  14. Ultra Engine obviously
  15. sorry i tried with scene and error occured: local scene = LoadMap(world, mapname) for x=0,scene:CountEntities()-1 do local entity = scene:GetEntity(x) local name = entity:GetKeyValue("name") if name == "cube1" then.....etc
  16. Hello, need to retrieve entities.count world:CountEntities() don't seem to work, if someone knows how to enumerate the world entities... thank you
  17. oh ! so easy ! i feel so dumb ! Thank you Josh
  18. Well, i feel very noob when i want to create a simple box, selecting object panel then primitives and box but no button 'create' to click exists and a click in the scene don't create it either (i did it once but can't reproduce it) so a bit deconcerted for now.
  19. Hi Everyone, looking for some hints to emulate the keyboard SendKey() equivalent, is it still possible ? (was in leadwerks though hum nope..) struggle a bit for now... Thank you
  20. i see but i don't know how to get there, toying with values is the way to go and finding settings bounds. good luck with your project.
×
×
  • Create New...