Quick Links: Gideros Home | Download Gideros | Developer Guide
cannot see 3d objects using Graphics3D example after loading costom 3d .obj files
  • Hi,

    I really love the Graphics3D example, & tried to modify with another .obj .mtl.
    figured out loading was fine, but cannot see any images.. ( I've changed horse: scale & position,however, still the same)

    Could you check the attached file, & let me know what was the problem?
    I downloaded that from

    tf3dm.com
    mrkg20q1nh-Sprut.zip
    10M
  • hgy29hgy29 +1 -1 (+2 / -0 )
    Maintainer
    Hi @ssimu,

    The provided .obj/.mtl loader is far from handling all files. I wrote it as a quick way to load the horse specifically. For one thing, it only handle triangle meshes and fails if anything unexpected is found.
    Since it s written in Lua, you can try to enhance it to accept your .obj file.

    Likes: antix, MobAmuse

  • Ah. Got it.
    I'll try.
    Thank you anyway!!
  • antixantix +1 -1 (+1 / -0 )
    Member
    It will take a load of effort to get this to work with output from different exporters. I got it working with my own Sketchup output but it only worked for one object :(

    Likes: MobAmuse

    Check out my DevBlog, my GitHub, and my games Falling Animals | Breaky Wall | Exetor
  • MobAmuseMobAmuse +1 -1 (+1 / -0 )
    Member
    Just gone through the same pain barrier with this in the last few days :P

    I have tried quite few obj format exports complete with uv mapped textures and none display correctly or at all by fiddling with the horse example.

    I feel another kickstarter coming on to offer better support for 3d model importing etc in gideros from apps like Blender, Sketchup etc.

    Would really like to do some 3d texture based stuff in Gideros but currently the pain barrier with importing objects is to too high to make that a reality.

    Likes: antix

  • antixantix +1 -1 (+2 / -0 )
    Member
    I would vote for Blender models. Sketchup is kind of "sketchy". When you export from Sketchup and import into Blender, often there are huge amounts of broken polygons. Also Sketchup models seem to store every single texture you ever assigned to them so there is a huge amount of extraneous data there as well.

    Likes: MobAmuse, jdbc

    Check out my DevBlog, my GitHub, and my games Falling Animals | Breaky Wall | Exetor
  • +1 for Blender models.
  • jdbcjdbc +1 -1
    Member
    It would be a big feature to provide 3D Blender format rendering support and 3D physics engine like bullet (https://github.com/bulletphysics/bullet3)

    I am planing to develop a 3D game but Gideros does not provide me not enough features for it.
  • hgy29hgy29 +1 -1 (+1 / -0 )
    Maintainer
    I don't think it would be a good idea for gideros to support blender or other custom formats internally. IMHO, better have conversions tools (preprocessing) accessible from gideros studio that would output something nice for gideros (like .json).

    Likes: antix

  • SinisterSoftSinisterSoft +1 -1
    Maintainer
    yes, I'd prefer the files to be something I can follow - like points and a list of triangles that connect those points, etc...

    That way I can hook into them and change them dynamically.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with OpenID

In this Discussion

Top Posters