Forum Replies Created
-
AuthorPosts
-
Haha most certainly not! x)
It’s just what I use to see if my .ply and .obj files exported correctly.
And usually it’s more accurate than “Open 3D Model Viewer” when testing if Mojo3D can load it.Thanks Mark!
And yeah…<rant>
I did give that viewer a go, but it produces some really mixed results heh.The test .ply file I’ve posted above has super flickery lights until you manually move the light source.
And my .obj files all seem to have inverted triangles, so viewing them is… confusing.
And it’s a shame it doesn’t display animations.The “3D Builder” that comes with Windows 10 loads .ply and .obj and displays them really nice.
It’s what the screenshot in my first post is from.
I know that doesn’t mean assimp will load them correctly, but every time I test “Open 3D Model Viewer” to see if assimp can load something, it comes up as a confusing mess, and once I’ve loaded them in Mojo3D it’s worked fine, just like in the Win10 3D viewers.So that viewer doesn’t seem very reliable.
It does however have working textures for MDL files!
Which would be really nice if Mojo3D had. (For my Quake BSP loader)
But the .ply files are what I’m most interested, and is probably the simpest to get working right now (I’m guessing)A few .obj files in “Open 3D Model Viewer”:


This is how they should look (Via “View 3D” which comes with Windows 10):


</rant>
You can do something like:
Monkey12Mouse.Location=New Vec2i( App.ActiveWindow.Width/2, App.ActiveWindow.Height/2 )Mouse.PointerVisible=FalseHehe, we’re glad to have you!
You and Mark are the regulars.The even newer Ted2Go has much better IRC colours now too!
The next change, which Nero hasn’t accepted yet, are better notifications.
You can get it from my Ted2Go fork though.I tested it over at my post: http://monkeycoder.co.nz/forums/topic/quake-bsp-loading/page/2/#post-9324
Works just fineYay!
I’ve tried that so many times in the past and always forgotten if it worked or not heh.
Glad it finally works, good job.Awesome stuff!
You can specify which one you want to use by calling
Monkey1math.Clamp( value, min, max )I’m not having any problems with it.
Monkey1234567Function Main()Local a:Float=0.5Print Clamp( a, 0.2, 0.4 )a=0.1Print Clamp( a, 0.2, 0.4 )EndYou have to make sure all 3 values are of the same type though.
If ‘a’ is an Int, you’ll have to specify min and max as int.
If ‘a’ is a Float, min and min must be floats too etc.Otherwise it’ll throw you errors like:
Monkey1Can't find overload for 'Clamp:T?(T?,T?,T?)' with argument types (Float,Int,Int)The newest version of Ted2Go (from the Dev branch) now has its own Irc client built into it!
And it connects to the Irc room I’ve mentioned in the first postJust click the “Chat” tab at the console, select the name you want and hit “Connect”
You can also jump into Ted2Go preferences and set it to auto-connect at start
It’ll notify you when someone’s speaking by placing a whit dot next to the Chat tab
And a red dot when someone mentions your nameRegarding the raycasting failing…
Look at how this raycasted ball flickers:

All I’m doing is shooting a ray on the X axis and setting that ball to the rays returned ‘point’
The world collider is created from MeshCollider, is that the problem?UPDATE: Yep, it’s the MeshCollider that causes it.
Even if I make a box and use MeshCollider, I get some odd results, but BoxCollider works fine.BoxCollider:

(Does not clip through)
MeshCollider:

(Does clip through)
I had a temp Local collider and body, and it seems it didn’t unload properly when the mesh did?
But I’ve added them to their own Field for my class and it seems to work better now… is that possible? hehHow do you mean ‘setting them to null’?
I did something like myCollider=Null and same with the body.
I figured GC would take care of them then.And while we’re on the topic of collisions…
I’m trying to get “wall collision” working for my FPS movements, but it seems that at random points the raycasting fails, just a tiny bit, but making me able to inch my way into the wall.I’m glad you enjoy my theme!
Thanks for adding more formats!
PLY now loads, but OBJ still doesn’t load its MTL file, and PLY doesn’t use its colours.Oh and it’s possible to get MDL files animated? hehe
Something weird is going on with the model loading though.
Almost no model format I want to load seems to be working…
I’ve put together a little test for you: https://www.dropbox.com/s/z0zbdbo1qwd59tc/loader_test.zip?dl=0 -
AuthorPosts