BASIC

Author Topic: dda in 3d object converter  (Read 10708 times)

Offline mich19

  • Mc. Print
  • *
  • Posts: 15
    • View Profile
dda in 3d object converter
« on: 2006-Mar-22 »
the .dda file format  in the new version of 3d object converter.
http://web.axelero.hu/karpo/


Hello,

I added the .dda file format loader module to my program and I uploaded the latest developer package to my web page.

You can download it using the following link:
http://web.t-online.hu/karpo/3dc32370x_dev_20060322.zip


Regards,
Zoltan

I think it is bad description:

> # now the vertices
> # n p1 p2 px ... t1 t2 tx ...
> # n = number of points for surface
> # px = index of position vertex (see below)
> # tx = index of texture coordinate (see above)
> 3  0 0 3 1 2 2 # nxyz nuv ...


The good description:
n p1 t1 p2 t2 p3 t3...pn tn

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10661
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
dda in 3d object converter
« Reply #1 on: 2006-Mar-23 »
He's right. Here's a working sample file again:
Code: GLBasic [Select]
/*
DDDA 1.0 # DDDA version_number

# texture coordinates
################
4            # texture coordinates count
0.000 0.000  # uv of vertex 0
0.000 0.000  # uv of vertex 1
0.000 0.000  # uv 2
0.000 0.000  # uv 3

# faces
###########
2            # number of faces
255 255 255  # material color for face
3  0 0 3 0 2 0# number_of_nodes n1 t1 n2 t2 ni ti (n=position index, t=texture index)
255 255 255  # RGB
3  0 0 2 0 1 0     # n.o.n. n1 t1 n2 t2 ...

# animation frames
#####################
2            # number of keyframes
4            # nof_vertices_for_keyframe 0
0.0 1.8  0.6 # x1 y1 z1
2.0 1.5  0.9 # x2 y2 z2
1.9 0.1 -0.2
0.0 0.1 -0.3
4            # nof_vertices_for_keyframe 1
0.0 1.9 0.0
2.0 1.9 0.0
1.9 0.0 0.1
0.0 0.0 0.0
Thanks for the submission. If the program is capable of exporting .dda, I'll add a commercial on the sidebar of the main homepage.

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3338
  • Integrated Brain
    • View Profile
Re: dda in 3d object converter
« Reply #2 on: 2011-Mar-18 »
Well I saty looking the software, but don´t have the .dda exporter, I try to donwload the file he´s put on the forum, but the link is dead.
I try to contact whit Zoltar, but in this time, I don´t have answer.

Kinds Regards,
Iván J.