OBJ Importer Plugin Questions

Add your questions here..
Post Reply
User avatar
Prodigy
Site Admin
Posts: 957
Joined: 21 May 2009, 14:46
Type the number ten into the box: 0
Location: Uruguay

OBJ Importer Plugin Questions

Post by Prodigy »

Hi Jason First, Excellent work dude!!
A super Banana for this excellent plugin!

:superbanana:

Ok, i can confirm that yes, if i move the Importer inside one of my custom toolbars, anytime i start a new floating icon appears..

A very simple detail. :P The importer is working great and i love how import the textures and materials.
Excellent Work!
๑۩۞۩๑ prodigy ๑۩۞۩๑
froo
Captain
Posts: 2554
Joined: 22 May 2009, 12:13

Re: OBJ Importer Plugin Questions

Post by froo »

Ok thanks Augusto.

I will get that resolved.
There are some other issues; Noko / DBokon reported an issue with DAZ objects; the MTL file
references bitmaps starting with a / like this:

map_Kd /Maps/B01U.jpg

that does not get processed. DOH!

There is also an issue with alpha maps.
If there is not an alpha map referenced in the MTL file, the alpha map node is not connected to the material node. This was intentional, though in hindsight not such a good idea. I can fix that easily.
I'll just connect the connectors via the plugin.

And Steinie also mentioned I should populate the text boxes in the dialog with the default values,
so I'll do that as well.

Folks: if you have any issues with the importer please report them! We couldn't get them all
because there is that 'big unknown'; I am actively updating the OBJ importer.

Thanks!

Froo
froo
Captain
Posts: 2554
Joined: 22 May 2009, 12:13

Re: OBJ Importer Plugin Questions

Post by froo »

ok I fixed the relative path problem.

If the first character of the path is forward slash (or backward for that matter),
I must prepend a period:

Original:
map_Kd /Maps/main.png

Modified:
map_Kd ./Maps/main.png

as I recall, that designates a relative path according to VS2008 at least.

I believe, in Linux/Unix, this: / designates a path starting at the ROOT.
Probably so in Windows as well; can't remember.

Anyway. that's solved.
User avatar
Prodigy
Site Admin
Posts: 957
Joined: 21 May 2009, 14:46
Type the number ten into the box: 0
Location: Uruguay

Re: OBJ Importer Plugin Questions

Post by Prodigy »

Perfect Jason, seems we have a solid rock plugin. :worship:
Keep in touch!
๑۩۞۩๑ prodigy ๑۩۞۩๑
froo
Captain
Posts: 2554
Joined: 22 May 2009, 12:13

Re: OBJ Importer Plugin Questions

Post by froo »

thanks prodigy.
Hm to actually be accurate, instead of prepending a period (because that's making too much of an
assumption), I should concatenate the OBJ file's directory and the material's path-filename.
User avatar
Steinie
Captain
Posts: 2942
Joined: 21 May 2009, 17:38
Type the number ten into the box: 10
Contact:

Re: OBJ Importer Plugin Questions

Post by Steinie »

@Frootee...
...two days off for rest... yea right!
No wonder your pooped! ;)
froo
Captain
Posts: 2554
Joined: 22 May 2009, 12:13

Re: OBJ Importer Plugin Questions

Post by froo »

hehe yeah; I know... :lol:

in work/test, not yet released:

fixed alpha mapping

added default values to dialog

need to do:
check for toolbar in other toolbars prior to creating a new one
Post Reply