TSE Particles Not Rendering
by William Harding · in Torque Game Engine · 04/16/2006 (5:22 pm) · 1 replies
I am in the process of modifying the TSE engine (head version) for my game, and have noticed that the entire ParticleEmitter::renderObject method (from particleEngine.cpp) is commented, as is ParticleEmitter::renderBillboardParticle. Uncommenting these results in a number of errors seeming indicate the existence of a dlg library of functions that doesn't exist in TSE currently. That is, I get errors like:
error C3861: 'dglIsInCanonicalState': identifier not found
error C3861: 'dglGetViewport': identifier not found
My first question is if the renderObject method is supposed to render particles in TSE? And if so, why has its code been commented? And more importantly, what modifications are necessary to start using it?
If it is relevant, I am developing a game that will eventually be on the XBLA, so I don't want to change code that will not be compatible with the TSE Xbox libraries. Having particles excised from the engine seems like a pretty huge omission though, so I'm hoping that this render routine has been deprecated in favor of some other one...?
error C3861: 'dglIsInCanonicalState': identifier not found
error C3861: 'dglGetViewport': identifier not found
My first question is if the renderObject method is supposed to render particles in TSE? And if so, why has its code been commented? And more importantly, what modifications are necessary to start using it?
If it is relevant, I am developing a game that will eventually be on the XBLA, so I don't want to change code that will not be compatible with the TSE Xbox libraries. Having particles excised from the engine seems like a pretty huge omission though, so I'm hoping that this render routine has been deprecated in favor of some other one...?
Torque Owner Josh Moore