Author Topic: Blender export filter for GLBasic .dda  (Read 54520 times)

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10859
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Find the blender export filter here:
http://www.glbasic.com/files/blender-export-glbasic-dda.py

and copy it to C:\Program Files\BlenderFoundation\Blender\.blender\scripts

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10859
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Blender export filter for GLBasic .dda
« Reply #1 on: 2007-Oct-29 »
Fixed version. Now (hopefully) the transformation of rotated objects should be considered correctly every time. And the normal vertices are correct, too.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10859
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Blender export filter for GLBasic .dda
« Reply #2 on: 2011-Jan-07 »
Hehe. Old thread.
I fixed the script to work with 2.5.5 (beta) and I found a bug in GLBasic that didn't use proper normals for dda models. If you saved them to ddd, everything was fine, though.



[attachment deleted by admin]

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4453
    • View Profile
    • FUED
Re: Blender export filter for GLBasic .dda
« Reply #3 on: 2011-Jan-07 »
I wish there was a lightwave->glbasic object converter, but currently I can export obj into blender and try that way. lightwave objects are easy to read, they are text files, would that be difficult to read?

Offline doimus

  • Dr. Type
  • ****
  • Posts: 284
    • View Profile
Re: Blender export filter for GLBasic .dda
« Reply #4 on: 2011-Jan-09 »
+1 for Lightwave format. I'm actually licensed LW user and most comfortable with it. I have had moderate success with exporting obj files from LW to GLB.

LWO files are ordinary txt format indeed, as well as LWS (LW scene files, for animation).

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10859
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Blender export filter for GLBasic .dda
« Reply #5 on: 2011-Jan-10 »
Does anyone have the specs for that format?

Offline doimus

  • Dr. Type
  • ****
  • Posts: 284
    • View Profile
Re: Blender export filter for GLBasic .dda
« Reply #6 on: 2011-Jan-10 »
Download 9.6.1 SDK from here:

http://www.newtek.com/lightwave/developers.php


There's HTML help inside with LWO2 file specs.
LWO is after all binary, as it seems. LWS is ascii.

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4453
    • View Profile
    • FUED
Re: Blender export filter for GLBasic .dda
« Reply #7 on: 2011-Jan-19 »
Does anyone have the specs for that format?

I will see if I can get it soon,
things still in a hurry here ...

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1622
  • Particle Hawk
    • View Profile
Re: Blender export filter for GLBasic .dda
« Reply #8 on: 2011-Jan-28 »
LW, would totally rock!
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3375
  • Integrated Brain
    • View Profile
Re: Blender export filter for GLBasic .dda
« Reply #9 on: 2011-Feb-01 »
Yes I´m user of 3ds Max from 14 years ago + or -, and now I use in my free time, LigthWave, is a wonderfull tool, I think to much better thans Max, provide to make thing too much faster than another 3d suites.

Have a export plugin for ligthwave will be genial.

Kinds Regards
Iván J

Offline Marmor

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 936
  • 96A285CC
    • View Profile
    • my youtube channel
Re: Blender export filter for GLBasic .dda
« Reply #10 on: 2011-Mar-05 »
can anyone send me a lwo file for  some testings ?

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4453
    • View Profile
    • FUED
Re: Blender export filter for GLBasic .dda
« Reply #11 on: 2011-Mar-05 »
can anyone send me a lwo file for  some testings ?

give me a sec I will make a few for you to test, anything you need specifically?

anyways, the lightwave 10 object and scene specification can be found on their sdk I´m appending here.
I don´t know much about these things but looking inside the zip file you have a HTML drawer and in there run index.html.
navigate to <file formats>  and then <object>
I think there you have needed info.

[attachment deleted by admin]

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4453
    • View Profile
    • FUED
Re: Blender export filter for GLBasic .dda
« Reply #12 on: 2011-Mar-05 »
here goes some sample objects, they are more about triple/quad/>quad polygons.
what else do you need? uv textured? plannar mapping? bones? lights? scenes? cameras?
let me know

lg-all triple
_object with triple only polygons

lg-all quad
_object with quad only polygons

lg-subdivided triple
_higher poly count object with triple only polygons

lg-subdivided quad
_higher poly count object with quad only polygons

lg-more than quad
_object with polygons with more then 4 sides

[attachment deleted by admin]

Offline Marmor

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 936
  • 96A285CC
    • View Profile
    • my youtube channel
Re: Blender export filter for GLBasic .dda
« Reply #13 on: 2011-Mar-06 »
great erico    thx a lot but unfortunately  i need a textured one and if you can an animated one  also !
no scene if it possible only the object .

GLB !!!

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4453
    • View Profile
    • FUED
Re: Blender export filter for GLBasic .dda
« Reply #14 on: 2011-Mar-06 »
great erico    thx a lot but unfortunately  i need a textured one and if you can an animated one  also !
no scene if it possible only the object .

textured, you mean projection ones(front,cilindrical,spherical,cube) or UV mapped?
what about surface parameters, specular, difuse, reflections, etc...?
what about surface parameters with textures? projected or uv?

name what you need and I get something out for testing.

animated can be in several ways, bones animation requires scene, obj can have the bone structure but not the time-line animation itself.

endomorphes can be used to anim too, they are sets of transformed obj ( same poligons) that can be used to fade from one position to another or mixed. quite interesting stuff

what do you think?