|
Post by Tom Mulgrew on Feb 28, 2009 21:10:34 GMT -5
|
|
|
Post by matthew on Mar 1, 2009 14:23:36 GMT -5
Nice, I'm sure people will find it helpful. 
|
|
|
Post by Darkjester on Mar 1, 2009 20:08:50 GMT -5
very nice! and useful, do BGM models have the texcoord data in them..?
|
|
|
Post by Tom Mulgrew on Mar 7, 2009 4:36:05 GMT -5
Hmm.. Thought I had replied to this, but must not have clicked "post".
Anyway, there are texture coordinates in bgm models. So you could probably create a skinned model (with a single texture image) by loading a texture, binding it, and putting a glTexCoord2fv call in the right place.
The hardest part would be to create a model file with valid texture coordinates in it. I don't think the example wavefront .obj code that I use to create bgm models loads in texture coordinates, although it could be extended to do so...
|
|
|
Post by twasik4 on Mar 10, 2009 7:00:16 GMT -5
mmk, thanks tom; and do you have any good modeler's that you can think of, because I am a google. sketchup person... although when i switched my comp to linux a while back i started using k3d, but im almost posative it wont be compatible with that..
|
|
|
Post by smc44 on Mar 10, 2009 7:05:13 GMT -5
a good modeler is 3ds max but not very cheap  , but blender is free and it does the job
|
|
|
Post by twasik4 on Mar 10, 2009 20:02:15 GMT -5
thnx smc
|
|
cameron
Posts

A new take on the old ASCII smiley face, because thats how you feel after 16 hours of coding.
Posts: 70
|
Post by cameron on Jul 15, 2009 0:13:25 GMT -5
Omg, Google SketchUp exports Google Earth Models (.KMZ files) and they are easy as to read from in C, but hahaha, they're not compatible with B4GL because thier compression uses WORD-sized attributes (WORD == 16-bit unsigned integer) for things like model data size, compression method and other things. Ok, an fix arround this instead of reading the Lo and Hi bytes of the word seperately then multipling the Hi by 256 and adding it to the Lo, which would probably be slow as, would be to write an KMZ2BGM converter in C  but I'll leave you guys to have FUN with that.
|
|