BASIC

Author Topic: Wavefront .OBJ support?  (Read 2850 times)

Offline Cliff3D

  • Dr. Type
  • ****
  • Posts: 268
    • View Profile
Wavefront .OBJ support?
« on: 2010-Sep-02 »
I'd love native built-in support for WaveFront.OBJ support, with material libraries and multiple textures (using bmp, png, and jpeg). :D

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10714
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Wavefront .OBJ support?
« Reply #1 on: 2010-Oct-06 »
Can't bee too hard. I'll take a look.

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5022
  • O Rly?
    • View Profile
Re: Wavefront .OBJ support?
« Reply #2 on: 2010-Oct-06 »
Its not hard but do it intern, are much faster?!
« Last Edit: 2010-Oct-06 by Schranz0r »
I <3 DGArray's :D

PC:
AMD Ryzen 7 1700 @3.9GHz, 16GB HyperX Fury 3000MHz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline matchy

  • Prof. Inline
  • *****
  • Posts: 1543
    • View Profile
Re: Wavefront .OBJ support?
« Reply #3 on: 2010-Oct-06 »
Perhaps a small modification...something like:
from
Code: GLBasic [Select]
X_SETTEXTURE n#, nbump#
 
to
Code: GLBasic [Select]
X_SETTEXTURE n#[], nbump#[]
 
:|
« Last Edit: 2010-Oct-06 by matchy »

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5022
  • O Rly?
    • View Profile
Re: Wavefront .OBJ support?
« Reply #4 on: 2010-Oct-06 »
No, automatically on OBJ file!
I <3 DGArray's :D

PC:
AMD Ryzen 7 1700 @3.9GHz, 16GB HyperX Fury 3000MHz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard