Q3D V-2.4 [3D Physics + Skeletal Animation UPDATE]

From the Asset Store
Fantasy Game includes more than 600 sound effects inspired by hit computer games like World of Warcraft and Diablo.
  • Turning off the transparency removed the "clone" images, but it comes out with another problem..the 3d models do not show up at all when i turn off transparency. Changing the mode to "inside" fixes both of the problems...but turns the image upside-down. Should i send the .Capx trough P.M.?

  • Thanks Please look at your earliest possible chance and let me know. I am eagerly awaiting your response as I have a production ready application built and pending this issue to be fixed. Thanks a lot for your help.

  • Turning off the transparency removed the "clone" images, but it comes out with another problem..the 3d models do not show up at all when i turn off transparency. Changing the mode to "inside" fixes both of the problems...but turns the image upside-down. Should i send the .Capx trough P.M.?

    Are you using the latest Q3D version? Also it sounds like your browser is out of date. Transparency shouldn't cause that issue unless you have some project settings set up weirdly. In fact the Q3D canvas has nothing to do with the "ghosts" if they're caused by normal C2 sprites. you could PM me but i'm pretty busy atm.

  • kmsravindra

    "sphere6.js" has bones for some odd reasons, you exported the model wrong and it's giving me an error. you should be getting this error too unless you're using an old Q3D version.

    It's not clear to me what the issue is, that Q3D master wont become invisible? whats happening is setting invisible to true just doesn't wipe the canvas when in behind/infront rendermode but prevents any new renders, and since the css styling to hide it only occurs if the object renders (and visibility is true) changing layouts was causing a weird error, it was an oversight that i'll fix. It has nothing to do with euler angles etc. not working however, it's just that "invisible" doesn't clear the canvas in this specific case, so the image that was there when it was made "invisible" stays.

    i'll upload a minor update at the end of the week or something that fixes this and some other little bugs i've found

  • If you could help me getting around this issue as early as possible, that will be very helpful. Thanks a lot! I will look into the sphere6.js as well. But it is working for me without any issues. Mostly when I copied the new versions of the plugin, the older versions are still there in my folder OR something...

  • kmsravindra

    you need to delete the old versions or very weird bugs could occur

  • OK. I understand why sphere6.js was working on my machine. I have removed "Q3Dskeletal animation" and "Q3D oimophysics" folders from my behaviors directory as I was not using any of those features and wanted to reduce the size of my final application. Anyway the sphere6.js can be edited to remove the following three lines of code at the end of it to make it work even with those folders present -

    The 3 lines to be removed from sphere6.js are -

    "bones" : [],

    "skinIndices" : [],

    "skinWeights" : [],

    However the problem that I mentioned about Q3DMaster being visible still remains and is NOT connected with the above issue. Thanks for your help.



  • How do you make your level layout? Obviously construct2's editor does not support 3d.

    How about some tutorials on q3d?

    There is almost nothing on youtube and your engine's name is the same as another application

  • I would be very interested about this as well but cannot find ANY documentation about it anywhere? I want to buy this like there is no tomorrow, but surely there has to be somekind of explanation how the thing works first?

  • Things are layed out in orthographic topdown/sideview. Documentation is currently being written but there are capx examples that demonstrate basics for users. As for the naming im not aware of anything else but someone may have picked the same name after me since i get some vr thing released around fall 2014 if i search q3d.


    As stated, im working on docs now since development on core features has only recently finished. Because this plugin invariably has many features i waited till this point since earlier on docs would have needed a significant rewrite multiple times. Documentation im working now i substantial and covers all features.

  • Is there any way that I could link a sprite from C2 to a diffuse texture?

    I want to have some animated textures on planes and would be so convenient if I could use C2's animation system instead of eventing my own.

    I'm also planning to reuse the sprites for a more precise collision system, so if I could link those it would be perfect.

  • I knew that'd be convenient so the Q3D object already supports an almost exact clone of the C2 animation system for all map types, so there's no reason for a workaround to do that (it would be really slow to have to pass the data like that so it's not doable any easy other way than being integrated really)!

    it's a bit tricky in one little way to get initialization to work properly, but it's not hard:

    Just name an animation "DiffuseMap" and have that as your "default" (it can be empty and 1x1 if you REALLY hate the name "DiffuseMap", but it needs it for a workaround a construct limitation with properties). This will give your object diffusemaps and you can use it like a sprites animation (add more frames, set the speed/looping/etc.)

    If you want additional "diffuse maps" for animations afterwards you can name them anything basically, and then theres a "set map animation" action (it's called something like that i'm not in a place i can check for sure now). You choose "Diffuse" for the "Map type" you ant to affect and then you can change the anim to any name from there. There's a lot of actions like that which are the "same" as what sprite has with the addition of a drop down that has an option for the map type to change the animation of (since you can have animated diffuse/light/spec/env/bump/normal maps, so you need to specify which you want to refer to). There's even all the conditions etc.

    I hope that's good enough!

    So basically:

    create an animation called "DiffuseMap" to say "hey my model has diffusemaps!"

    then create additional animations like you would for a sprite "Run", "Jump" etc. whatever you want

    then proceed like you would with a sprite, except always choose "Diffuse" for the "Map" so you can tell Q3D "the animation is for this specific map" since the different maps can all be animated.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hmm, I was trying to avoid having duplicate textures for the C2 Sprite (for polygon collision testing) and again for Q3D rendering. But if it's not possible to pass a sprite texture I guess there's no way around that. The idea is to detect a rough 3D collision with Q3D and then get a more accurate test by positioning equivalent C2 Sprites outside the screen and use the 2d polygons for precision. *Imagine a tree placed on a quad and detecting only where the trunk and branches are as solid.

    So if I understand correctly you are suggesting to use a Q3D Model that has support for animation, right?

    I was previously creating planes by using just the master. So is there a way to set a Q3D Model to a plane primitive or the only way is to create and load a plane model?

    Also it seems the Q3D Sprite would be more appropriate for what I'm trying to achieve, but it always face the camera. Is there a possibility to add an option to make it render in it's 3D orientation?

  • Yea i can see duplicating being annoying but i sadly can't make the sharing work quickly because of the way C2 and my plugin use different canvas contexts, doubly prevented by the fact the sdk doesn't make these types of things too easy (theres no convenient way to share it). I'll look into ways to hack around it if possible but i don't have too much time to make big changes atm.

    Even if you have duplicate textures, i think (you'd have to ask Ashley to make sure) that on export C2 detects duplicates and doesn't make copies, so file size would be the same, the only disadvantage is the annoyance of importing twice while working.

    you don't need to do anything extra for q3d model to have animated textures as i explained, it just animates it if there are multiple frames / animation speed etc.. you can even change animation for the map types like you would sprites.

    I could add a Q3D sprite option for a plane, but the issue is it becomes kind of redundant since it can be done with Q3D Model already, and it can interact with lights and have normal maps on top of that so it's just all around better to use, if you dont want lighting you could just select "basic" as the material type.

    If you don't want to create a plane model (although you could just do this once anyway), theres a "advanced" feature i talk about in the recent changelog that you can use to create a plane geometry internally to use. Just make an action for q3d master that creates a plane using the "plane" action in the 'geometry' section, choose a name like "MyPlane" for the geometry, then on a q3d model using it's property for "model filename", the same way you'd load a model write "MyPlane.geom" and it'll load a plane (or whatever type of geometry you have) the ".geom" tells it the name is an internally created geometry. you can use this to load any of the stuff you can create using the actions in the section, which can come in handy for mocking stuff up quickly without opening > exporting etc.

    If im not clear enough please let me know! i'll do my best to help.

    A lot of these features aren't obvious but im trying to work on documentation that covers everything

  • It's great to know that it's possible to load a geometry from the master. I guess I missed it from the changelog.

    Thanks for the support, it was very useful!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)