• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Programming v
1 2 3 4 Next »
batch importer

 
  • 0 Vote(s) - 0 Average
batch importer

hartsantler
Offline

Junior Member

Posts: 8
Threads: 3
Joined: Sep 2018
#1
09-08-2018, 04:12 PM
I am trying to figure out how to batch import multiple obj and collada files when wings starts up.
I'm new to erlang, and taken a look at the code in: e3d_obj.erl, wings_console.erl, wings_start.erl, wpa.erl, wpc_collada.erl, and wings_plugin.erl.

So far i have this code, which loads my obj, but then fails to update the view or show it in the Wings UI. What am i missing?

Code:
{ok, E3DFile} = e3d_obj:import("/home/username/test.obj").
St0 = wpa:get_state().
wings_import:import(E3DFile, St0).

https://github.com/dgud/wings/issues/298
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
batch importer - by hartsantler - 09-08-2018, 04:12 PM
RE: batch importer - by micheus - 09-08-2018, 08:31 PM
RE: batch importer - by hartsantler - 09-08-2018, 09:00 PM
RE: batch importer - by micheus - 09-08-2018, 09:12 PM
RE: batch importer - by hartsantler - 09-08-2018, 09:53 PM
RE: batch importer - by micheus - 09-08-2018, 10:58 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode