🔒 Locked
Loading 3d Models
Advertisement
Original Post
Hi I am try to develop a monitor for football simulator , my problem is when i try to load my stadium Model which is a huge model approximately 1 million vertex... I first try to use lib3ds but i could not find any tutorials! after that i tried glm it was good for small model but diffrent Problem with big Models! finally i used nvModel in Nvidia OpenGl sdk10, i could load huge model with it but i cant to map texture i dont know how to do that because it has no tutorial again and sample with SDK are completely Advanced! So pleaaassss Help mee! what is the best Way? sorry for poor english!
Quote:
Original post by Lord_Evil
Well, it depends on the format your model is in.
You could either use a 3rd party model loader (a lib3ds tutorial seems to be here) or write your own loader if you know the format.
I read this tutorial before it is not complete for example he didn't say anything about textures!
I need a simple and powerful and well documented Lib
Quote:
Original post by Kimmi
Currently nobody has released a solution for it. But one of the developers has an implementation for a viewer based on OpenGL, so it is possible :).
You just have to take care of the right matrix format.
Kimmi
I should say that it is an urgent need for me i cannot pay lots of time for it!
do u know who?
and where to find that implementation or any easier solution for loading 3dModel(3ds Or Obj) with texture,Material and ...
You can ask for it on the ML, Alexander Geissler aka aramis ist the guy you are looking for. And the obj-loader-implementation of the AssImp should work for OpenGL, too ( I know it because I wrote it :) ). But you have to implement the rendering on your own.
If you just want to display a model look out for a 3D-engine like the Irrlicht engine . The irrlicht-engine for instance supports obj and 3ds and has an own OpenGL-renderer.
With best regards,
Kimmi
If you just want to display a model look out for a 3D-engine like the Irrlicht engine . The irrlicht-engine for instance supports obj and 3ds and has an own OpenGL-renderer.
With best regards,
Kimmi
Well, from a quick look on lib3ds it seems that each face has the texture coordinates (or at least an index into an external array) included as well as a material. The material itself holds a pointer to the various texture maps.
It should not too hard to find out how it works once you have the basic geometry running.
Edit:
3ds format tutorial
simple loader
It should not too hard to find out how it works once you have the basic geometry running.
Edit:
3ds format tutorial
simple loader
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement