Game Development Community

DTS Viewer

by Robert Stewart · in Torque Game Engine · 08/16/2005 (4:30 pm) · 8 replies

Hi I'm trying to add or create a DTS Viewer inside my C++ Application. Any tips?

#1
08/16/2005 (5:19 pm)
Use the search button for starters. ;)

Check out the guiObjectView resource, and the Lighting Pack support for it if you have it.
#2
08/16/2005 (5:23 pm)
Check out game/guiPlayerView.cc,.h. I have a class called guiModelView, that's basically a copy of guiPlayerView except it can point at any arbitrary model instead of just the player. It works pretty well.

Is this a torque application or a separate C++ project? You might have to dig kind of deep to get all the render code if you're doing this w/o Torque. Definitely check out GuiPlayerView though.
#3
08/16/2005 (5:32 pm)
Ive found those already, thanks though. My program is a seperate C++ Project.
#4
08/16/2005 (6:49 pm)
First of all, avoid the dtsSDK unless you want to spend a lot of time debugging it. I've been looking at it recently and it's a mess. I'll be submitting some fixes once I've made a bit more progress.
#5
08/16/2005 (9:36 pm)
The DTSSDKPlus is good enough that we could write the Maya exporter on top of it without much trouble. Fixes are good, though. :)
#6
08/17/2005 (2:23 pm)
I'm sure it's great for exporting, and it looks like that side of things has been thouroughly exercised by several teams. The import side however is so full of bugs that I have to wonder if it was ever tested at all. The DTS::Shape::read() function cannot load even the simplest files without assertion failures. Still, I'm gradually working through them, and I hope to have it working soon.
#7
08/17/2005 (4:14 pm)
Ah, I see. Yes, it was never really used for reading anything.
#8
08/17/2005 (5:04 pm)
Thanks for the replys, I see possible options. Although I dont think Ill have enough time anytime soon to work on it. Sooner or later one of us Garage Games members(or employee's) will figure somthing out.