What I would like is to show a simple 3d object in a small box, similar to how player frame units of other addons have the 3d model of your character.
I've done a lot of looking but I can't find anything, I've also tried looking at the code of similar addons but most use AceLib and I don't use that.
If someone could help me out or point me in the right direction it would be very much appreciated.
EDIT: After more digging I did manage to create such a window the only problem is that the model comes out completely white, missing textures here's what I have so far..
Code:
local f= CreateFrame("DressUpModel", "MyModelFrame", UIParent, "ModelTemplate")
f:SetPoint("CENTER")
f:SetSize(172,400)
f:SetModel("Character\\NightElf\\Female\\NightElfFemale.mdx")
f:Show()