Jump to content

wayneg

Members
  • Posts

    115
  • Joined

  • Last visited

Everything posted by wayneg

  1. Most of the comments seem dated at this point, and some issues relate quality of assets and how they are used. One must factor in the design decisions in whatever this guy was looking at. I'd agree popping is an issue but can be mitigated with settings, not a big issue for me. I still have issues with terrain self casting shadows when using large terrain features, so I'd agree with the following: I also found the shadows to be very buggy, disappearing at close distances when the camera faces certain directions. LE3 is a fantastic SDK, and If there was a better product out there I'd be using it.
  2. Hi Michael, I love your work man, good stuff. I prefer to use FBX format because of support for sub-meshes, and big time support from Autodesk. I've used FBX 2012.1 converter and viewer and FBX2GMF tool and with great success, and only had two issues. One dealing with scale (large meshes), and two x or y axsis rotated 90 degrees. Both which I can deal with, so I'm ok. I've included a link to new FBX stuff that may help, or try the 2012 links in my post. My suggestion is to use the FBX converter to create your FBX file, it can import different formats, and export your FBX ascii file. Perhaps import fbx2009 format using fbx2012 converter, then export that to fbx for conversion, just a thought. I'll take a look if you like, let me know if I can help. http://www.leadwerks...2-fbx-exporter/
  3. I'm hitting visual studio 2010 full time at work now, so this is really nice. thanks !
  4. wayneg

    VB.NET

    I changed the module name and it all works, must be side effect of conversion when having vb2008 installed. thanks so much, must experiment.
  5. wayneg

    VB.NET

    Maybe I'm not doing this right ? I have Visual Studio 2008 Professional Installed. I downloaded VB2010 Express. Ran LEbuilder and it created the project and auto launched 2008, ended that. Went to the project folder and opened leproject1.vbproj witn vb2010, it then wants to do a conversion, afterwords list the following errors: Warning 1 The parent file, 'app.myapp', for file 'app\Application.Designer.vb' cannot be found in the project file. leproject1 Warning 2 A custom tool 'MyApplicationCodeGenerator' is associated with file 'app\Application.myapp', but the output of the custom tool was not found in the project. You may try re-running the custom tool by right-clicking on the file in the Solution Explorer and choosing Run Custom Tool. Error 3 'Sub Main' was not found in 'leproject1.leproject1'. leproject1 Error 4 Identifier expected. C:\leproject1\leproject1.vb 3 8 leproject1 Imports LeadwerksEngine Module @(wayne) Sub UpdateCallback(ByVal ent As TEntity) LE.TurnEntity(ent, New TVec3(LE.AppSpeed() * 0.5F)) End Sub Sub ErrOut(ByVal message As String) Console.WriteLine(message) End Sub Sub Main() Dim ScreenWidth As Integer = 800 Dim ScreenHeight As Integer = 800 Dim MediaDir As String = "C:/Program Files/Leadwerks Engine SDK" Dim AppTitle As String = "leproject1" ' Initialize LE.Initialize() LE.SetAppTitle(AppTitle) LE.RegisterAbstractPath(MediaDir) ' Set graphics mode If LE.Graphics(ScreenWidth, ScreenHeight) = 0 Then ErrOut("Failed to set graphics mode.") Return End If ' Create framework object and set it to a global object so other scripts can access it Dim fw As LeadwerksEngine.TFramework = LE.CreateFramework() If fw.IsValid = False Then ErrOut("Failed to initialize engine.") Return End If ' Set Lua framework object LE.SetGlobalObject("fw", fw.Handle) ' Set Lua framework variable Dim lua As Object = LE.GetLuaState() LE.lua_pushobject(lua, fw.Handle) LE.lua_setglobal(lua, "fw") LE.lua_pop(lua, 1) ' Get framework main camera Dim camera As LeadwerksEngine.TCamera = LE.GetLayerCamera(LE.GetFrameworkLayer(0)) LE.PositionEntity(camera, New LeadwerksEngine.TVec3(0, 0, -2)) ' Create cube Dim material As LeadwerksEngine.TMaterial = LE.LoadMaterial("abstract::cobblestones.mat") Dim mesh As LeadwerksEngine.TMesh = LE.CreateCube() LE.PaintEntity(mesh, material) ' Apply Callback Dim cb As LE.EntityUpdateWorldCallback = New LE.EntityUpdateWorldCallback(AddressOf UpdateCallback) LE.SetEntityCallback(mesh.Entity, cb) ' Create ground Dim ground As LeadwerksEngine.TMesh = LE.CreateCube() LE.ScaleEntity(ground, New TVec3(10, 1, 10)) LE.PositionEntity(ground, New TVec3(0, -2, 0)) LE.PaintEntity(ground, material) ' Add some light Dim light As TLight = LE.CreateDirectionalLight() LE.RotateEntity(light, New TVec3(45, 45, 45)) ' Spin cube until user hits Escape While (LE.KeyHit() = False And LE.AppTerminate() = False) If LE.AppSuspended() = False Then LE.UpdateFramework() LE.RenderFramework() LE.DrawText("Visual Basic LE.NET", 0, 20) LE.Flip(0) End If End While LE.Terminate() End Sub End Module
  6. wayneg

    Regeneration

    I guess the first part of my question is do I just use loadmodel in LUA script to load a new instance, and will that instance run the lua attached to it ?
  7. I'd like to play around with a concept, where one would place a tree on the terrain. The tree would spawn a new smaller tree away from the first, after considering some rules. Kinda like Conway's version of life but using Leadwerks and trees, or other models. Be interesting to see the trees to grow, live and die. I'd also want to cap the population so it doesnt get out of control. What ideas can you suggest to do this experiment ?
  8. wayneg

    Network

    Like chat, or setting up to send some game positions back and forth ?
  9. wayneg

    Karnack

    I dug out the lake so it's lower than everything you see. It's a the standard LW water plane, and it worked well for this application. The actual onsite location shows the lake with sloped sides leading upwards, and the lake lined with stone walls with numerous stairs descending into the lake. it would be neat to see more water effects; fountains, rivers, falls, possibly water volumes for lakes.
  10. wayneg

    Karnack

    That would be incorrect. 3D Warehouse TOS;Section c states you agree to let others have free use, there are a few limitations, you may not: (i) aggregate Content obtained from Google Services for redistribution, or (ii) use or distribute Content obtained from Google Services in a mapping or geographic application or service. Unless you have Googles permission. Entire TOS here: http://sketchup.google.com/intl/en/3dwh/tos.html 11. Content license from you 11.1 (a) You retain copyright and any other rights you already hold in Content which you submit, post or display on or through, the Services. ( By submitting, posting or displaying the content you give Google a perpetual, sublicensable, irrevocable, worldwide, royalty-free, and non-exclusive license to reproduce, adapt, modify, translate, publish, publicly perform, publicly display and distribute any Content or derivative works thereof which you submit, post or display on or through, the Services. This license is for the sole purpose of enabling Google to display, distribute and promote the Services and may be revoked for certain Services as defined in the Additional Terms of those Services. © By publicly posting or displaying the content you give other end users of the Services a perpetual, sublicensable, irrevocable, worldwide, royalty-free, and non-exclusive license to reproduce, adapt, modify, translate, publish, publicly perform, publicly display and distribute (subject to the restrictions set forth in Sections 11.4 and 20.3 of these Terms) any Content or derivative works thereof which you publicly post or display on or through the Services. 11.2 You agree that this license includes a right for Google to make such Content available to other companies, organizations or individuals with whom Google has relationships for the provision of syndicated services, and to use such Content in connection with the provision of those services. 11.3 You retain the right to: (a) make content that you upload to 3D Warehouse using Google SketchUp or third party services available under different license terms, and ( stop distributing such Content through 3D Warehouse at any time; provided, however that any such election will not serve to withdraw the license granted under these Terms. In order to stop distributing such Content through 3D Warehouse, you must terminate these Terms as set forth in Section 13, or utilize the content removal function provided within the service, in which case the content removal will be effective within two (2) days. 11.4 Notwithstanding anything to the contrary, without Google’s prior authorization, you may not: (i) aggregate Content obtained from Google Services for redistribution, or (ii) use or distribute Content obtained from Google Services in a mapping or geographic application or service. 11.5 You understand that Google, in performing the required technical steps to provide the Services to our users, may (a) transmit or distribute your Content over various public networks and in various media; and (B) make such changes to your Content as are necessary to conform and adapt that Content to the technical requirements of connecting networks, devices, services or media. You agree that this license shall permit Google to take these actions. 11.6 You confirm and warrant to Google that you have all the rights, power and authority necessary to grant the above license.
  11. Decided to roll with the Egyptian theme to test stuff out. Sketchup, UU3D, sand, plants, add water and we're ready to roll ! Lets take a look.. Karnack
  12. wayneg

    Karnack

    I was just playing with Google 3d warehouse, I'd post in Gallery but it says I can't, so pics of sample level here:
  13. I just noticed that, thanks.
  14. Specifically, Terrain height, and slope. When placing vegetation for example were asked to set height and slope limits, sure be nice if the cursor would tell us these things when we point at the terrain.
  15. Why do some models show object properties but others do not? Using this usually works, but with some models it doesn't: require("scripts/class") local class=CreateClass(...)
  16. This post belongs in materials/textures/shaders argh.. please move
  17. UU3D is great for static meshes, and is fast and easy to use, plus the exporter does things automaticaly for you. It still makes sense. This just gives people some advanced options. Thanks to Macklebee for pointing out the issues that lead me to find the FBX converter.
  18. Using royalty free texture from TextureMate How did I do (to bumpy)? Attachments: brick1.zip
  19. After having purchased UU3D and discovering I couldn't do submeshes I decided to do something about it. I had few choices, either write exporter ( I did write sketchup to b3d exporter a few years back ) or find one. After a few days of research and not wanting to write my own DAE to GMF converter I found one ! Details here: http://www.leadwerks.com/werkspace/topic/3902-fbx-exporter/ -enjoy- fbx converter viewer
×
×
  • Create New...