| |
| |
| |
|
Comments:
<0> hi i'm making a dx9 app in delphi <0> i have an array of custom objects, one per 3d object, each has a property of a CD3DMesh <0> i try loading a file to the cd3dmesh during runtime and then rendering in the render event (after begin scene but before end scene), and it doesnt show up <0> any suggestions what i could try to get it to be visible? <0> i've tested for nil results and it seems like everything is working properly other than actually displaying the mesh <1> there could be a billion reasons <1> pick a sample which work and start from here <0> yeah its a hacked up billboard sample
<0> and it works fine if i use the hardcoded objects <0> but when i try to parse my markup language into an object structure and then render that structure, its not displaying <2> check your camera? <2> maybe it's not on screen <0> it is properly parsing the markup file as tested via treeview output <0> should be, basically heres what i've done: <0> where it used to say: m_pTerrain.Render(m_pd3dDevice); <0> it now says: objects[i].pmesh.Render(m_pd3dDevice); <0> i've manually confirmed that the objects structure's pmesh element is correctly loading the filename told to it by its filename property <0> the first sample scene i've made has one object in it and its the same as the m_pTerrain's x object <0> so it should render in the same place as what i'm used to looking at, i'd figure. i'm not transforming the object[i] version and i didnt transform the m_pTerrain version <2> no idea then <0> huh <0> well thanks for the thought <0> if anything else occurs anyone lemme know, plz <1> you're saying your new code is supposed to do the same as your old code, but it doesn't <1> that means there's a difference somewhere, and no one but you can find it <0> well it should, if it was working that is, produce the same output the m_pTerrain sample object used to produce <0> if i load it and dont free it properly, the app warns me of unfreed objects, so its loading stuff <3> dunno if you can get the dx debug info to show up <1> lol <3> that'd be your best bet <0> hmm ok <1> "if I dont free memory, it says there's some unfreed memory; that means my app is working: <1> :D <0> didnt say it was working <1> hehe <0> said it was loading stuff <1> j/k <1> see you later <0> if i close the app without parsing my tag structure, it doesnt give that error even if i dont free stuff <0> so its loading objects i'm pretty sure <0> does CD3DMesh's Render method return any meaningful debug info? <3> no
<3> well <3> an HRESULT I guess <0> yeah apparently its not returning s_ok so i guess thats a hint <0> are there any steps that need to be taken with a CD3DMesh after its been .Create_'d to make it .Render'able? <2> I'm not familiar with delphi's needs <2> in C++ you are good to go after load <0> ah <0> gotta call RestoreDeviceObjects manually apparently <0> i put a loop in the main apps RestoreDeviceObjects to loop through my object structure and RestoreDeviceObjects for each, but apparently the main apps RestoreDeviceObjects isnt firing <4> anyone used ID3DXPRTEngine? <4> I can't get D3DXCreatePRTEngine to succeed :) <0> not familiar with it <0> particle engine? <4> nope <4> PRT lighting <0> holy crap <0> i dunno wtf, exactly, a praline is <0> but the biggest one of all time is in my icecream <0> its like the size of a tennisball <5> plorp <6> i have directx 9.0c installed yet NFSU is telling me install cannot continue without it, how do i try a reinstall/rollback of directx so i ensure its working properly, because i could swear i installed it properly <7> start the directx setup again? <6> i did, it said it's successfully installed <6> :\ <6> **** you Rangar. <8> really - he's not my type <2> weird <2> a day in the life of Rangar <9> what gets me is when dip****s complain after they get a reponse like rangar <9> i mean wtf, it could be MUCH worse <9> dont let me starting giving dip****s fake advice <9> i have em delete their system32 directory as a 'diagnostic' <9> just to laugh when they cry about it <2> box_: http://bash.org/?2884 <9> hell at least rangar sent them to google... i'd have sent them to goatse.cx <9> haha exactly <9> nice one there btw <9> some day the oldschool irc-heads need to organize some sort of idiot olympics <9> where we just round up all the dumb****s we can find <9> and make them do stuff to amuse us <9> anyone ever try ogre3d?
Return to
#directx or Go to some related
logs:
how to wait on serial port in jaja passwordrecover+bios #politics #cph #cisco HHRBF.PK #windowsxp #politics #hardware dollar index symbol
|
|