SMF - 3D collisions, animation, materials and level editor - Now works in HTML5!

Discussion in 'Work in Progress' started by TheSnidr, Feb 14, 2017.

  1. The-any-Key

    The-any-Key Member

    Joined:
    Feb 2, 2017
    Posts:
    1,492
    Hi.
    The FBX parser is done.
    Sent via PM.

    Exported FBX from blender with a dummy texture and animation:
    3DScene.gif
    The JSON will look like this:
    https://drive.google.com/open?id=107fTVTJynJ1ShMmN8R7hMX24ufoTYkvW

    Whenever the end of a key or "elem_props_type" is "_map" it is a ds map and "_list" it is a ds list. So it will be easier to use the data.

    The elem_props_data_list and elem_props_type_list is synced.
    Ex:
    if elem_props_type_list[0]="unsigned_int_8_list"
    The elem_props_data_list[0]=a ds list with unsigned int 8

    Ex of use a list:
    Code:
    var elem_list=The elem_props_data_list[0];
    show_debug_message(elem_list[| 0]);
    
    Code:
    "elem_props_data_list": [
        [
            1.0,
            1.0,
            -1.0,
            1.0,
            -1.0,
            -1.0,
            -1.0,
            -1.0,
            -1.0,
            -1.0,
            1.0,
            -1.0,
            1.0,
            0.999999,
            1.0,
            0.999999,
            -1.000001,
            1.0,
            -1.0,
            -1.0,
            1.0,
            -1.0,
            1.0,
            1.0
        ]
    ],
    "elem_props_type_list": [
        "float_64_list"
    ],
    
    Now it is a whole other story to actually try to make some sense of this data.
     
    Last edited: Nov 28, 2018
    DBenji likes this.
  2. TheSnidr

    TheSnidr Heavy metal viking dentist GMC Elder

    Joined:
    Jun 21, 2016
    Posts:
    456
    I will resume my quest for importing popular animation formats as soon as I'm done with the rewrite of the system! :D
    With the new system, you will indeed be able to do procedural animation. It will have scripts for modifying bones and creating animations on the fly. I will also attempt to make the inverse kinematics seen in the editor available through code.

    Though the rewrite mainly is to make the scripts more accessible, I'm also having fun overhauling the controls!
    [​IMG]
     
    hippyman, Bart, Micah_DS and 8 others like this.
  3. MrPr1993

    MrPr1993 Member

    Joined:
    Nov 22, 2016
    Posts:
    93
    Oh, wow, that's amazing! UwU
     
  4. NoobsWeStand

    NoobsWeStand Member

    Joined:
    Jun 20, 2016
    Posts:
    143
    sorry to poke you again.

    I was playing around with the shadows, but I couldn't get things that have alpha in the texture to work:
    [​IMG]

    I tried modifying the sh_smf_shadowmap fragment shader like this:
    varying float v_vDepth;
    varying vec2 v_vTexcoord;
    void main()
    {
    vec4 baseCol = texture2D(gm_BaseTexture, v_vTexcoord);
    if (baseCol.a < 0.01){discard;}
    gl_FragColor = vec4(vec3(floor(v_vDepth * 255.0) / 255.0, fract(v_vDepth * 255.0), fract(v_vDepth * 255.0 * 255.0)),baseCol.a);
    }
    but it was still the same result.
    I am not great at shaders, but I gave it my best shot

    texture: https://www.dropbox.com/s/pt8mjotngs6uhit/texTree0.png?dl=0
    obj: https://www.dropbox.com/s/iyjar7h7vvs0hd5/tree0d.obj?dl=0
    smf: https://www.dropbox.com/s/e5m3sqjq3kjlhr8/tree0.smf?dl=0


    edit: never mind. I am a poopy head. I realized that when updating the shadow map, I was not inputting a texture
     
    Last edited: Dec 3, 2018
    FoxyOfJungle and TheSnidr like this.
  5. TheSnidr

    TheSnidr Heavy metal viking dentist GMC Elder

    Joined:
    Jun 21, 2016
    Posts:
    456
    Here's the source to the model tool as it is at the moment, in case anyone's interested. I got pretty far with the rewrite, almost all scripts have been rewritten. Instead of just being an animation engine, it's now more like an animation framework. Creating rigs and animations on the fly is now possible through code.

    I want to continue working on this, but I can't keep spending as much time as I have been on this project. Updates will be sparse, and as such, I'd like to share what I already have, even though it's not completed.
    Here's some WIP documentation for the animation part of the engine:
    https://www.dropbox.com/s/o5wku78dc40anr8/SMF Animation System 0.9.9 docs Unfinished.pdf?dl=0
     
  6. Joe Ellis

    Joe Ellis Member

    Joined:
    Aug 30, 2016
    Posts:
    812
    Aw thats really sad, are you too busy with work? Well I hope you have time in the future to finish everything, I mean you started it with a whole idea and it deserves to get finished, especially with everything you've done so far
     
    JaimitoEs and FoxyOfJungle like this.
  7. DBenji

    DBenji Member

    Joined:
    Sep 20, 2016
    Posts:
    33
    Thanks a million times over. My suggestion was just a luxury we could all do without and yet you still managed to pull it off. Mad props to you.
     
    FoxyOfJungle likes this.
  8. FoxyOfJungle

    FoxyOfJungle Member

    Joined:
    Jul 18, 2018
    Posts:
    8
    Please answer,
    What version did you use of Game Maker Studio 2 in this project? Because when I click on open a 3d model (FBX or OBJ), this don't works.
    If it's not too much of a hassle, can you make the ".exe" available to the current editor? Thank you so much, I hope you've read it.
     
  9. TheSnidr

    TheSnidr Heavy metal viking dentist GMC Elder

    Joined:
    Jun 21, 2016
    Posts:
    456
    I've just spent so much of the little spare time I have thinking about ways to improve this system. I need a break from it, that's all!
    It was a good suggestion though :D\
    What happens when you load an obj file? Does it give an error or fail to load without errors? If the latter, check the debug messages it's outputting to see what went wrong.
    I removed the limited FBX importer in the open source version of the model tool, since I don't own the rights to share the DLL I used.
     
    JaimitoEs and DBenji like this.
  10. GMWolf

    GMWolf aka fel666

    Joined:
    Jun 21, 2016
    Posts:
    3,242
    How about loading gltf?
    It's a fairly simple format based in json and binary vertex data.
    Would be a perfect fit for this project, even if it only imports a subset of gltf.
     
    JaimitoEs, TheSnidr and DBenji like this.
  11. The-any-Key

    The-any-Key Member

    Joined:
    Feb 2, 2017
    Posts:
    1,492
    Can you put it on bitbucket or github? So we can help out? To allow potential code contributions to the project.
    Also, if you need funds to allow push more time to the project. I am sure people interested will help out.
    And if your brain is in "Ahh-soon-I-AM-FINISHED-with-this-thing!-I-can-start-to-slow-down-now" mode. Or "Ohh-no!-NOT-THIS-again" mode. Swap your thinking. Make a mini game and put in on itch.io or learn something completely new.
     
    CameronScottCreations likes this.
  12. FoxyOfJungle

    FoxyOfJungle Member

    Joined:
    Jul 18, 2018
    Posts:
    8
    I'm not on the computer right now, but it gives me an error loading, and then deletes things from the view, like the grid, the model, and so on.
    Anyway, I just wanted the compiled application, just to use it in my current project. I thank you very much if you can.


    I loved the idea of putting it on Github.
    I'm good at interface design, it would be an honor to make a cool interface for the editor!
     
  13. Zeritum

    Zeritum Member

    Joined:
    Dec 27, 2018
    Posts:
    1
    Hiya,

    Just discovered this project yesterday and my oh my it's incredible, you're doing great work! Thanks so much for making this available for free
    Testing it out and I've come across a problem though, I made a model in Blender and imported it, rigged it, skinned it, etc but when it came to animation one of the meshes in the model had disappeared?

    This is how it appears in every other tab:
    [​IMG]

    And this is how it appears in the animation tab:
    [​IMG]

    Not sure whether it's an issue with the model or the program, or just something I've done unknowingly, but I would appreciate some help :)

    Thanks!
     
  14. TheSnidr

    TheSnidr Heavy metal viking dentist GMC Elder

    Joined:
    Jun 21, 2016
    Posts:
    456
    Excellent suggestion! Seems like a simple format, will look into it.
    Another excellent suggestion! Github it is! Gonna polish a bit more, and then put it up there.
    Tbh I don't really need to make money from this project, so funding isn't the issue. For the past few months I've spent nearly all my spare time working on this. I'd rather spend some more time with my gf, work out and get in shape, and less time staring at the computer.
    If the model importer doesn't work in the project file, it won't work in a compiled version either! :p
    I'll need to know what kind of error you're getting, or even better, send me the model file you tried to load so that I can figure out what makes that different.
    The current interface is a bare-bones interface made many years ago for a level editor for a game I made (Race Friend), so a visual update would certainly be welcome :D
    Thank you! The chest most likely disappears because it has no skinning info. Try using autoskin on the entire model and see if this fixes it!
     
  15. FoxyOfJungle

    FoxyOfJungle Member

    Joined:
    Jul 18, 2018
    Posts:
    8
    First Image: When I open the model.
    Second Image: When I click ignore error.
    Third Image: When I click in somewhere in the window.

    Attention: the same happens with ".obj".
    My model works perfectly, I've used it in other programs, and I've downloaded it.
     

    Attached Files:

    • 000.PNG
      000.PNG
      File size:
      174.3 KB
      Views:
      21
    • 001.PNG
      001.PNG
      File size:
      207.4 KB
      Views:
      20
    • 002.PNG
      002.PNG
      File size:
      242.6 KB
      Views:
      19
  16. TheSnidr

    TheSnidr Heavy metal viking dentist GMC Elder

    Joined:
    Jun 21, 2016
    Posts:
    456
    The error was caused by a silly mistake in my code! It should be able to load obj files now:
    https://www.dropbox.com/s/m5xydtf456ppb93/SMF Model Tool v0.99 Unfinished 2.yyz?dl=0
    I've also fixed the scripts for saving and loading collision meshes to/from buffers!

    Keep in mind though, the system isn't as "complete" as the old version, not all functions are present.
     
  17. TheSnidr

    TheSnidr Heavy metal viking dentist GMC Elder

    Joined:
    Jun 21, 2016
    Posts:
    456
    I'm currently in the final phase of separating the collision system from the rest of the SMF environment entirely!
    The collision system has seen a complete rewrite in the last couple of months, and is now much more efficient than it has ever been. Here are some of the major changes:
    • The collision system no longer depends on the SMF system. You can feed it your own vertex buffers, using your own vertex formats, and it will generate a collision mesh for you.
    • It now supports a number of different geometry subdivision types. Simply specify which type you want in the creation script, and the system will keep track of it for you, no extra scripts necessary. The following types are supported at the moment:
      • None: The mesh is not subdivided at all, and collision checks will check every triangle of the mesh
      • Lattice: A 3D grid structure. This stores info about empty space as well, and you can use this to point to the nearest region containing triangles. Useful for Mario Galaxy type 3D games
      • Spatial hash: A map structure storing sparse geometry data as sections in space. Similar to lattice, except it does not store empty space.
      • Quadtree: Splits the mesh recursively in the x and y dimensions. Useful for flat meshes with varying geometric density
      • Octree: Splits the mesh recursively in all three dimensions. Useful for complex models with varying geometric density
    • Each subdivision type supports ray casting. The method for ray casting on the different types differs, but they all use the same script.
    • The colmesh can be scaled, rotated and translated in real time. To get technical about it, it's not actually the colmesh that gets transformed, but the collision shape that gets transformed by the inverse of the transformation matrix, and then transformed back at the end. This does as such not support non-uniform scaling, all dimensions must be scaled equally. It does also not support shear.
    • There are scripts for writing and reading the colmesh to/from a buffer, giving you total control over how you save your colmeshes.
    • You can now check for collisions between ellipsoids and colmesh! Useful for tall units. The problem with this is that the ellipsoid slides down hills slower than a sphere.
    • Collision scripts no longer define hundreds of arrays for each collision. It now uses local variables instead, which is how it always should have been. I got a bit crazy with the arrays in my quest to shorten the code as much as possible, but then I recently found out that this slowed the system down drastically. I've gone away from arrays as much as possible.
    • No more buffer usage in real time. Buffers are slow. Instead, I use grids, maps and lists wherever they fit best. Saving and loading takes a little more time because of this, but in-game speed is much more important IMO.
    • You can perform collisions and ray casting within a region. This is useful for complex collision checking with multiple checks and ray casts, since you only have to get the region once. The most costly part of ray casting is looping through the regions the ray crosses, so this is a super way of optimizing when you only need short-range rays.
    The file also includes some optimized scripts for primitive collisions (sphere-sphere, sphere-cube, sphere-torus).
    There's also an early version of another standalone asset called SMF Basics, which contains scripts for manipulating vertex buffers. It has a basic obj-importer, some scripts for creating normals and tangents, and aims to be a low-level tool for model processing.

    I plan to make a separate topic for the collision system once it's done and ready for the Marketplace. Until then, here's a demo for you to play around with:

    Download SMF Collisions v0.99

    Crude documentation
     
    Last edited: Jan 20, 2019
    JaimitoEs, Mert, DBenji and 7 others like this.
  18. Christian Price

    Christian Price Member

    Joined:
    Apr 24, 2017
    Posts:
    8
    Newest version doesn't work. It crashes when I try to export .smf files.
    Code:
    ___________________________________________
    ############################################################################################
    FATAL ERROR in
    action number 1
    of  Step Event0
    for object oRigSystem:
    
    global variable name 'editorModelName' index (100202) not set before reading it.
    at gml_Script_press_buttons
    ############################################################################################
    --------------------------------------------------------------------------------------------
    stack frame is
    gml_Script_press_buttons (line -1)
    gml_Object_oRigSystem_Step_0
    Also it won't allow me to Save rigs nor load rigs. When I click on them nothing happens.
    Do you think you could link all versions of this program?

    EDIT:
    Nevermind, went through the thread and found the fix.
     
    Last edited: Jan 23, 2019
  19. FoxyOfJungle

    FoxyOfJungle Member

    Joined:
    Jul 18, 2018
    Posts:
    8
    There is a problem when I try to import an .obj model:

    ___________________________________________
    ############################################################################################
    FATAL ERROR in
    action number 1
    of Draw Event
    for object oRigSystem:

    string_copy argument 1 incorrect type (undefined) expecting a String (YYGS)
    at gml_Script_draw_buttons (line 118) - str = string_copy(mtlName, 1, 16);
    ############################################################################################
    --------------------------------------------------------------------------------------------
    stack frame is
    gml_Script_draw_buttons (line 118)
    called from - gml_Object_oRigSystem_Draw_64 (line 56) - draw_buttons()

    I can't figure it out.
     
  20. johndoe88

    johndoe88 Member

    Joined:
    Aug 1, 2016
    Posts:
    8
    How is the FBX importer coming along?
     
  21. misterprickly

    misterprickly Member

    Joined:
    Jan 19, 2017
    Posts:
    2
    I want to thank you, BIG TIME, for creating this system.
    It has breathed new life into my love of video game design with GameMaker.

    The video you posted on your YT channel made me immediately want to know more.

    I'd like to see a video where the character is placed into the level (even if it's a simple maze) and walking around it; while showing the steps that make this happen.
    If there is already a video can you send me a link?

    Again, love your work and thank you very much for it!
     
    TheSnidr likes this.
  22. TheSnidr

    TheSnidr Heavy metal viking dentist GMC Elder

    Joined:
    Jun 21, 2016
    Posts:
    456
    Thank you, @misterprickly :D Your comment means a lot. I'd love to make an elaborate video series on how to use the SMF system, excellent suggestion! There is no such video as of right now.

    I got a bit burnt out by my ambition to rewrite the system, so I haven't touched it for a month or so. @SweetCelestia made an excellent COLLADA importer that he has allowed me to incorporate into the SMF system, so that'll be my next step. I haven't managed to get an fbx importer up and running.
     
  23. Mayser

    Mayser Member

    Joined:
    Feb 27, 2019
    Posts:
    1
    I really liked the program that made "Planetoids" Level editor .. Much more "Snidrs Model Format" His evolution to rewrite the system ... WOOW .. I admire you "TheSnidr"..
    I would also like to see finished Planetoids Level editor....

    Congratulations @TheSnidr
    [​IMG]
    [​IMG] [​IMG]
     
    EMPixed and TheSnidr like this.
  24. EMPixed

    EMPixed Member

    Joined:
    Dec 3, 2017
    Posts:
    12
    I haven't looked in here in a while, and I must say—the progress is insane to see! :eek: But then, a lot of time has past since I last checked here, so yea.

    Although before I did ask before about commercial use and whether or not we were required to give credit to you, Snidr, if we make games usin' SMF(Snidr's Model Format)—yet I never thought to ask about what license(if this software will use any) SMF would use and even then would we would be able use SMF with or without any obvious hints to it. This comes off as a tad "shady" or kinda stingy to even ask, but one—just tryin' to be VERY careful where I step, copyright and licenses have made me super gentle about them cause of the complications, so simply; this is why I ask.....really, it's all about the laymen's terms—and two—personal problem that'll come off as if I'd never credit someone for their hard work, really; just hate how some people will essentially demand credit—but from what I recall, you approved the use of SMF in commercial works and said there was no need to credit(I'm strange as I'd credit cause of this here; someone chose to NOT demand credit—but by no means do I mean malice about ANY of this, just tryin' to cover all corners really) but of course it's common sense to not claim to have made somethin' someone else made—obviously.

    I digress though, gotten the clarity I've needed and really my "quick"(yea, I know, "quick" my back side) question is this; What license would SMF use(if any) and would it be completely flexible with someone's works and copyrights and such? Any issues with this at all?

    In terms of my constant nag about this; my deepest apologizes. Wanted to provide the general questions about this and you DID say before "no strings attached", but again—I just want to cover all the corners I can about this kind of stuff. Again; pardon my likely paranoid soundin' questions. :D

    I remember a while back, around 3-5 years that the Raspberry Pi would brought into the mix about GMS Module support. Alas, I voted against it, regret that, but more importantly—it appears no other word has been brought up about it in any major form. Which is a disappointment but understandable as there's likely more important things in GMS or rather GMS2 now to work on. The point that I'm gettin' to though is SMF makes me wonder how well the 3D potential would be for GMS2 on RPi, namely the RPi3 and how well it'd run with that present. Along with SMF in use, I imagine it'd be an easier take to operate in 3D on a RPi3, but nothin' of modern high-quality mesh work.
    Low-poly meshes would obviously work on a RPi3 due to the fact it's an easy render typically, but due to the technical differences—there'd be problems in other places and would likely just pile onto the issues that were there prior. It does really make me wonder though how well this all could function on a RPi, preferably the latest(RPi3 as of this post) and what all could be done on it.

    Looks like it's been a fantastic time to learn Blender as Blender 2.8 is around the corner, have an interest for VFX/3D VFX, game design in general(both 2D and 3D; my interest has been in this for about a decade—learnin' method are botched af though, my fault nonetheless) and SMF is so damn polished at the moment, isn't even finished that it's insane and hype worthy to see GMS1/GMS2 get a 3D upgrade from someone that's been in this community for well over a decade himself. Snidr, seriously—thank you for this as it's been fun to watch this grow and improve over the past year and a half. But enough of my praise, this is bound to get more and I've already expressed mine!

    Pardon me if I asked this before or IF it was asked before, but; does SMF have an plans in the future for a 3D physics engine at all? I do remember that someone made a super snazzy 3D physics engine in GM8 where it was reminiscent of a golden days 2011-2013 horror game to which it looked inspired off of Penumbra: Overture/Black Plague and Amnesia, it was the coolest thing when I found it on YouTube when I looked around for a functional 3D engine back then! Cause that'd seem like a nice touch, but then if needed—anyone can learn it manually and setup their own too.(Same can be said about a 3D engine like SMF too, but that's just splittin' hairs at that point.)

    All-in-all, I've eyeballed this and kinda stayed away and wow; glad I did cause there's so much more to see! Hopefully my abundance of questions didn't get too ridiculous—thought of these somewhat on the fly and thought I'd just toss them out there! Either way, the more you watch, the better this project gets! :)

    (Pssst! Was this too rambly? I feel like I was too all over the place with this post, sorry about that!)
     
    Last edited: Apr 4, 2019
  25. Rabbitco

    Rabbitco Member

    Joined:
    Apr 14, 2019
    Posts:
    31
    cool very useful stuff.
    I strongly advise to use!
     
  26. Fernando Garcia

    Fernando Garcia Member

    Joined:
    Dec 27, 2017
    Posts:
    1
    Is it possible to change the texture of an already loaded smf model? I have a 3d wall (2 triangles) and a wall sprite with a torch animation, is it possible to set the texture to the model in order to make it animated with the sprite?
     
  27. jef

    jef Member

    Joined:
    Nov 1, 2017
    Posts:
    38
    Hi. The Viking industry has proven not only to be the best at sea but also in programming:D. Know you are busy did sent you a PM.

    Any progress to import 3dsMax rigged models directly with it's biped bones in this cool system? Waiting a long time to be able to use rigged 3dsmax models in gamemaker.
     
    Last edited: May 5, 2019
  28. lolslayer

    lolslayer Member

    Joined:
    Jun 23, 2016
    Posts:
    671
    API wise GameMaker and the RPi3 are actually very similar. This is because GM preferably doesn't add in API functions that isn't supported by openGL ES 2.0, which is the API found on the RPi. GM however supports MRT which the RPi doesn't, and the RPi supports stencil buffers which GM doesn't. Computation-power wise however, the RPi is very similar to 6th generation consoles. From what I can tell it's weaker than the OG Xbox but stronger than the dreamcast. The RPi does have much more RAM and a much stronger CPU though (more RAM than 7th gen consoles and a CPU that is computationally between 6th and 7th gen consoles), so higher resolution-textures and more advanced gameplay elements are very much possible.

    One problem nowadays is that we expect high resolutions for our game, so when I developed for the RPi in uni most people tried to go for 1080p, which was very much possible, but it greatly limits the amount of per-pixel calculations you can afford. Per-pixel lighting was therefore pretty much a no-no. Vertex calculations however of course don't scale up for higher resolutions, therefore per-vertex lighting and most probably, SMF animations would very much be possible.

    But GameMaker is sadly a bit hard to optimize because of the limited graphics API function set. To get proper framerates from the RPi you need smart systems to make optimal use of GPU state transitions (which are very expensive) and memory management. However, there might be a few things that GM automatically optimizes based on how you write your code which might make some major optimizations possible, but I haven't looked into that yet.
     
    EMPixed likes this.
  29. EMPixed

    EMPixed Member

    Joined:
    Dec 3, 2017
    Posts:
    12
    @lolslayer Initially, I would be one of those few that would go for a higher res like that of 1080p, but as you explained—if one were to, it'd be more difficult to handle. Because of the lack of a major/mainstream graphics card, it's somewhat safe to assume that high graphics on any of the RPis would be far too much unless you were to design some form of compatibility for the RPis to use an NVidia or AMD card. Besides, I personally would do more like how Gaming Engineer does and be reliant on early-PS1 to early-PS2 graphics as my main means of graphical choice. This is just me though, the masses would probably go at it with higher expectations, not that it's a bad thing. Just a bit thoughtless.

    Just now thought of it and the question stirs in my mind; Would a wrapper like how Wined3D or even Dege's dgVoodoo function work but made with the RPis in mind? I remember there was mild conversation I had would someone on how to get games that use DirectDraw/D3D games to work on GTX1080 cards since these don't support graphics from that far back. Found out about the wrappers and how they seem to be a form of emulation graphically, so by that—this could work if setup with RPis in mind like I said, or am I wrong about this?

    At this point I'm makin' guesses while at the same time derailin' the topic entirely if I keep up this talk. Or at least it feels this way. Thanks for your answer regardless!

    There's really nothin' else I can add to this at the moment, so it's best that I just wait for whatever happens in here. The growth of the project is fun to watch, so.....time for me to just watch again! :p
     
  30. lolslayer

    lolslayer Member

    Joined:
    Jun 23, 2016
    Posts:
    671
    @EMPixed I've seen projects made by other students here that were 1080p that were graphically quite well-made, and it ran around 40fps. Not perfect, but it's doable. The problem still stands though that per-pixel calculations become very heavy at higher resolutions :"D

    AFAIK we don't even need a wrapper. GMS supports openGL ES 2.0 (currently for android), which is what runs on the RPI. So we could just use that API.
     
    EMPixed likes this.
  31. Z_Z

    Z_Z Member

    Joined:
    Sep 15, 2017
    Posts:
    1
    bug report: when I assign vertises to bone 1 in animation menu polygons disappear, it happens when bone 0 is detach
     

    Attached Files:

    Last edited: May 23, 2019
  32. Mert

    Mert Member

    Joined:
    Jul 20, 2016
    Posts:
    274
    @TheSnidr I purchased your particle tools before. Checking SMF now, it may be the best extension ever.
    I'll try to put a good good tutorial on my blog about this.
     
    TheSnidr likes this.
  33. Mert

    Mert Member

    Joined:
    Jul 20, 2016
    Posts:
    274
    Up : I am getting an error when trying to draw a model(Exported from SMF Model Tool)

    Code:
    trying to index a variable which is not an array
     at gml_Script_smf_model_draw (line 36) -         shader_set_uniform_i(uni[SMF_uni.Animate], animate);
     
    TheSnidr likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice