Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [Seeking] Easy 3d-model loading library  (Read 13803 times)

0 Members and 1 Guest are viewing this topic.

benny!

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • http://www.weltenkonstrukteur.de
[Seeking] Easy 3d-model loading library
« on: October 17, 2007, 09:51:13 pm »
Hi all,

first - I really love SFML ! It's a great project - please keep it up !!!

[back to the topic]
Does anyone of you know a simple library to load 3d-objects ( 3ds, asc...)
and display them via OpenGL.

The ideal way would be something like this :

Code: [Select]

Model model = new Model();
model.load('mymodel.3ds);
...
App.BeginOpenGL();
   model.render();
App.EndOpenGL();
...


I do not ask this function to be implemented into SFML because I guess
supplying cross platform support and all the various types of 3d models
would be way too much.

But I wonder if knew of a simple and lightweight little library ?

Thanks in advance.
benny!

ferdekk

  • Newbie
  • *
  • Posts: 6
    • View Profile
[Seeking] Easy 3d-model loading library
« Reply #1 on: October 21, 2007, 12:26:55 am »
yeah. sfml should have implemented 3D format and render it, with animation.
Nice format is Blitz3D (*.b3d), nice if would be supported with animations to sfml.

lubos

  • Newbie
  • *
  • Posts: 17
    • ICQ Messenger - 385328377
    • MSN Messenger - qwarmail@yahoo.co.uk
    • View Profile
[Seeking] Easy 3d-model loading library
« Reply #2 on: October 21, 2007, 10:54:01 am »
i think sfml is not a 3d engine :?

Lord Delvin

  • Jr. Member
  • **
  • Posts: 68
    • ICQ Messenger - 166781460
    • View Profile
[Seeking] Easy 3d-model loading library
« Reply #3 on: October 21, 2007, 11:03:56 am »
I think that too: Look at all pages and try to find a good and complete model loading library. You wont find one, because this is nonsense to write in times, where each new engine brings new features to models(but if I have a look at these features I think time for that will come soon).

But keep in mind, that sfml does not support most of these features, so it's nonsense be able to load such models:)

Write this loader and renderer yourself and I think most people would be thankfull.

Jedimace1

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
[Seeking] Easy 3d-model loading library
« Reply #4 on: January 30, 2010, 12:25:13 am »
I think it would be better to just be able to load it in SFML and then render it yourself, that way, you can have full control over your model rendering process. 3D model loading might be good, but rendering them is not really worth it when most people will have to change it anyways. I am going to start working with loading in a model in my SFML application, so I might make a small utility for loading in models from .3DS, but I won't have much time to work on it or maintain it if I do it at all.
-Jedimace1

Boogiwoogie

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: [Seeking] Easy 3d-model loading library
« Reply #5 on: January 30, 2010, 04:41:42 am »
Quote from: "benny!"

Does anyone of you know a simple library to load 3d-objects ( 3ds, asc...)
and display them via OpenGL.

someone said in another thread that the horde3d enginge (http://www.horde3d.org/home.html) is easy to use with sfml.
another way would be to use AssImp (http://assimp.sourceforge.net/main_features.html)
i havent used any of them, but they should be able to do the job ;)

Jedimace1

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
[Seeking] Easy 3d-model loading library
« Reply #6 on: January 30, 2010, 02:38:08 pm »
Assimp- nice! I'll definitely check it out, seems to be much less complex than something like OGRE and doesn't require the Horde3D-specific config/asset files(which I hate), so it's definitely worth a look. It doesn't seem to be meant for use in games directly with model files though, so I'll have to create my own model type, which isn't much of a problem. I'll probably just create an exporter for 3DS Max to the file format which I create, or maybe an application using Assimp that takes in any type of file and converts it to my own file type.
-Jedimace1

TheMiss

  • Newbie
  • *
  • Posts: 9
    • View Profile
[Seeking] Easy 3d-model loading library
« Reply #7 on: February 10, 2010, 05:13:50 pm »
Oh! It seems people really want SFML to be 3D Engine or Game Engine.

What a strange!  :lol:

 

anything