3DObject plugin (Alpha) 3D models in C3

3 favourites
From the Asset Store
[C2] [C3] Support C3 build service and Android 14
  • I am developing a 3DObject plugin to complement the great new 3DShape recently released into C3 stable. 3DObject can import 3D models in the obj/mtl/png gltf embedded format. I intend for the final version to be simple and well-integrated into C3 (for instance, behaviors like 8 dir, drag and drop work, for controlling X,Y location of the 3DObject work now.) Low poly models work better in terms of performance.

    The current version is in Alpha and still has lots of rough edges (e.g. the 3DObject shows up in the editor as a placeholder sprite, only at runtime is the 3D model rendered.) The 3D model is rendered in editor.

    If you know a bit about 3D models and can work with Alpha (early release) SW, please try it out and give feedback or show what you have done with it. The itch page describes some of the process and limitations, it also describes possible features to add in the future. Below are some examples (example project included.) 3D Animations are not supported, but may come later after release of a stable version w/o animations. 3D animations in gltf are supported.

    Try it here: kindeyegames.itch.io/c3-3dobject-alpha

    X,Y,Z rotations, integrate w/ other C3 objects (e.g. rotating sprite)

    Using 8 dir on sprite to control 3DObject

    Compatible w/ obj/mtl/png files generated by KenShape

  • Another example 3DObject moving using scene graph as child to a parent sprite tweening Z elevation and orbit behavior.

  • Nice idea! I always keep my eyes open for new plugins from you sir!

  • Good start.

  • Thank you for the great work

    i hope you will continue the development

    and i definitely will buy the final version

    My suggestions

    -to add fog(for far objects)

    -adding of any kind of animations is very needed for sure

    -some shadows if possible, but not mandatory as long as it will kill fps

    and please give us instructions on how to choose/prepare obj to export into C3

  • I am glad that people appeared who decided to do this. I also agree with 1mrpaul1 you need at least a minimal manual for the plugin.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for all the replies and encouragement, when I move to a stable release, I will add more details on usage and models. (I am learning some myself as I look at all the different variations of obj/mtl/png formats that I see available.)

    Right now it's still more of an Alpha test targeted to people already a little familiar with 3D and 3D models and their formats, to see if it is worthwhile to continue work with.

    Also for better user interface, I have requested for the ability to render the 3DObject in the editor also. The thread is here if you care to support it: construct.net/en/forum/construct-3/plugin-sdk-10/request-add-access-quad3d2-161210

  • I don't know much about 3d--does Blender support the formats for 3d you are working on?

  • dear 1.50,had error when load c3p,use construct3 251.2

    Error report information

    Type: unhandled exception

    File: blob:https://editor.construct.net/1e91938a-4406-4a7a-9bee-8bdca0af635d, line 115, col 35

    Message: Uncaught TypeError: iRenderer.Quad3D2 is not a function

    Stack: TypeError: iRenderer.Quad3D2 is not a function at Object3DInstance.Draw (blob:https://editor.construct.net/1e91938a-4406-4a7a-9bee-8bdca0af635d:115:35) at d.S_c.Ff (https://editor.construct.net/r251-2/main.js:1595:128) at p.Ff (https://editor.construct.net/r251-2/projectResources.js:246:222) at u.Ff (https://editor.construct.net/r251-2/projectResources.js:656:16) at r.Ff (https://editor.construct.net/r251-2/projectResources.js:626:34) at window.tl.Oyd (https://editor.construct.net/r251-2/components/editors/layoutView/layoutView.js:13:436) at fuc (https://editor.construct.net/r251-2/components/editors/layoutView/layoutView.js:4:236)

    Construct 3 version: r251.2

    URL: editor.construct.net

    Date: Thu Jul 29 2021 16:19:57 GMT+0800 (GMT+08:00)

    Uptime: 124.1 s

    Platform information

    Browser: Edge

    Browser version: 92.0.902.55

    Browser engine: Chromium

    Context: browser

    Operating system: Windows

    Operating system version: 10

    Device type: desktop

    Device pixel ratio: 1.25

    Logical CPU cores: 8

    Approx. device memory: 8 GB

    User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 Edg/92.0.902.55

    C3 release: r251.2 (stable)

    Language setting: en-US

    WebGL information

    Version string: WebGL 2.0 (OpenGL ES 3.0 Chromium)

    Numeric version: 2

    Supports NPOT textures: yes

    Supports GPU profiling: yes

    Supports highp precision: yes

    Vendor: Google Inc. (Intel)

    Renderer: ANGLE (Intel, Intel(R) UHD Graphics 620 Direct3D11 vs_5_0 ps_5_0, D3D11-24.20.100.6025)

    Major performance caveat: no

    Maximum texture size: 16384

    Point size range: 1 to 1024

    Extensions: EXT_color_buffer_float, EXT_color_buffer_half_float, EXT_disjoint_timer_query_webgl2, EXT_float_blend, EXT_texture_compression_bptc, EXT_texture_compression_rgtc, EXT_texture_filter_anisotropic, EXT_texture_norm16, KHR_parallel_shader_compile, OES_texture_float_linear, WEBGL_compressed_texture_s3tc, WEBGL_compressed_texture_s3tc_srgb, WEBGL_debug_renderer_info, WEBGL_debug_shaders, WEBGL_lose_context, WEBGL_multi_draw, OVR_multiview2

  • Please use a later version of C3 (for example r257.)

    The new version now renders in the editor but relies on a later beta version of C3. The feature should also be available in the next stable version of C3.

  • Hi,

    I'm intested in use your engine for my new game, you are continue working with the plugin? Support animations? or mixamo.

    Thanks,

    Maxi.

  • I will likely add frame based interpolation for animation in a month or so. Blender can output obj frame based animation and I will find or make a tool to make a JSON format per animation. It is very unlikely to work directly with mixamo. However I think blender can use mixamo and then output frame objs.

  • Mikal , Wonderful work , congratulations !

    I tested and it works , would be nice if it has an imagepoint ,to interact with construct3 like a spaceship that spawn a laser from an imagepoint or something similar,

    even we rotate the object the imagepoint is still there .

    Where did you find the jeep image ? because it works without the paths from obj ant tml files , thats amazing

  • Image point is interesting will take a look at that.

    I am not sure what you mean by the Jeep model, can you explain more?

  • Mikal Thanks for answer , I mean in the project file , in your example there is an image of a White car , when i open the image editor that image looks distorted , but in runtime it looks amazing , even if we dont put the path it still works . Tks

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